Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.13/2.13, allocations: 248.6 MB / 255.9 MB, free: 352 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001749/0.001749, allocations: 193.5 kB / 315.1 MB, free: 7.762 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.111/2.111, allocations: 205.1 MB / 0.5658 GB, free: 25.41 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001804/0.001804, allocations: 88.98 kB / 0.67 GB, free: 2.934 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.3054/0.3072, allocations: 112.4 MB / 0.7797 GB, free: 2.449 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5405/0.8478, allocations: 106.2 MB / 0.8835 GB, free: 77.25 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.06/6.908, allocations: 2.202 GB / 3.085 GB, free: 230.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003023/6.908, allocations: 93.47 kB / 3.085 GB, free: 230.3 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 3.46/10.37, allocations: 0.7213 GB / 3.807 GB, free: 167.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/10.37, allocations: 7.562 kB / 3.807 GB, free: 167.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006811/10.38, allocations: 459 kB / 3.807 GB, free: 167.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005715/10.38, allocations: 1.431 MB / 3.808 GB, free: 167 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.975e-05/10.38, allocations: 20 kB / 3.808 GB, free: 167 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002836/10.38, allocations: 53.56 kB / 3.808 GB, free: 167 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002415/10.38, allocations: 0.7372 MB / 3.809 GB, free: 167 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002075/10.39, allocations: 0.7916 MB / 3.81 GB, free: 166.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.453e-05/10.39, allocations: 2.812 kB / 3.81 GB, free: 166.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001426/10.39, allocations: 7.469 kB / 3.81 GB, free: 166.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.881e-05/10.39, allocations: 16.41 kB / 3.81 GB, free: 166.9 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01114/10.4, allocations: 3.479 MB / 3.813 GB, free: 165.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002048/10.4, allocations: 0.7117 MB / 3.814 GB, free: 165.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001056/10.4, allocations: 402.1 kB / 3.814 GB, free: 165.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006049/10.4, allocations: 288.5 kB / 3.815 GB, free: 165.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.447e-05/10.4, allocations: 42.53 kB / 3.815 GB, free: 165.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=52): time 3.627e-06/10.4, allocations: 0 / 3.815 GB, free: 165.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=52): time 0.003968/10.41, allocations: 0.9022 MB / 3.816 GB, free: 165.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.131e-05/10.41, allocations: 210.9 kB / 3.816 GB, free: 165.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004401/10.41, allocations: 1.261 MB / 3.817 GB, free: 164.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005211/10.41, allocations: 28.48 kB / 3.817 GB, free: 164.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006003/10.41, allocations: 346 kB / 3.817 GB, free: 164.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004793/10.41, allocations: 177.3 kB / 3.818 GB, free: 164.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/10.41, allocations: 0 / 3.818 GB, free: 164.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001414/10.41, allocations: 331.2 kB / 3.818 GB, free: 164.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001387/10.41, allocations: 341.7 kB / 3.818 GB, free: 164.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001585/10.42, allocations: 0.6536 MB / 3.819 GB, free: 163.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001342/10.42, allocations: 418.7 kB / 3.819 GB, free: 163.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-06/10.42, allocations: 3.5 kB / 3.819 GB, free: 163.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003346/10.42, allocations: 0.9515 MB / 3.82 GB, free: 163.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.986e-05/10.42, allocations: 99.05 kB / 3.82 GB, free: 163.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.049e-05/10.42, allocations: 7.188 kB / 3.82 GB, free: 163.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.419e-05/10.42, allocations: 3.281 kB / 3.82 GB, free: 163.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001837/10.42, allocations: 174.8 kB / 3.82 GB, free: 163.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.665e-05/10.42, allocations: 3.156 kB / 3.82 GB, free: 163.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004553/10.43, allocations: 164.1 kB / 3.821 GB, free: 163.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003826/10.43, allocations: 38.53 kB / 3.821 GB, free: 163.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/10.43, allocations: 3.531 kB / 3.821 GB, free: 163.3 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002655/10.43, allocations: 0.7786 MB / 3.821 GB, free: 163 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.175e-05/10.43, allocations: 7.781 kB / 3.821 GB, free: 163 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/10.43, allocations: 2.469 kB / 3.821 GB, free: 163 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002073/10.43, allocations: 167.2 kB / 3.822 GB, free: 163 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.869e-05/10.43, allocations: 1.344 kB / 3.822 GB, free: 163 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004208/10.44, allocations: 169.2 kB / 3.822 GB, free: 163 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000445/10.44, allocations: 39.7 kB / 3.822 GB, free: 163 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 57 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004041/10.44, allocations: 116.6 kB / 3.822 GB, free: 162.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000744/10.44, allocations: 127.7 kB / 3.822 GB, free: 162.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003437/10.44, allocations: 0.9657 MB / 3.823 GB, free: 162.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/10.44, allocations: 9.375 kB / 3.823 GB, free: 162.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/10.44, allocations: 3.906 kB / 3.823 GB, free: 162.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/10.44, allocations: 3.703 kB / 3.823 GB, free: 162.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006361/10.45, allocations: 2.345 MB / 3.825 GB, free: 161.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.438e-05/10.45, allocations: 9.531 kB / 3.825 GB, free: 161.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001663/10.45, allocations: 145 kB / 3.825 GB, free: 161.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.812e-05/10.45, allocations: 6.656 kB / 3.825 GB, free: 161.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001226/10.45, allocations: 10.47 kB / 3.825 GB, free: 161.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.127e-06/10.45, allocations: 5.688 kB / 3.825 GB, free: 161.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/10.45, allocations: 3.938 kB / 3.825 GB, free: 161.3 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003818/10.45, allocations: 1.534 MB / 3.827 GB, free: 160.4 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005991/10.46, allocations: 2.477 MB / 3.829 GB, free: 158.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001505/10.46, allocations: 371.4 kB / 3.83 GB, free: 158.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006059/10.46, allocations: 5.344 kB / 3.83 GB, free: 158.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003207/10.47, allocations: 95.83 kB / 3.83 GB, free: 158.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002718/10.47, allocations: 50.84 kB / 3.83 GB, free: 158.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001123/10.47, allocations: 27.11 kB / 3.83 GB, free: 158.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.002596/10.47, allocations: 0.977 MB / 3.831 GB, free: 158.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01078/10.48, allocations: 1.149 MB / 3.832 GB, free: 157.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (mixBox.filter.x[1],mixBox.filter.x[2],mixBox.filterOutMin.x[1],mixBox.filterOutMin.x[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006626/10.49, allocations: 2.14 MB / 3.834 GB, free: 156.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00623/10.49, allocations: 1.323 MB / 3.835 GB, free: 156.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.49e-05/10.49, allocations: 4.188 kB / 3.835 GB, free: 156.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001311/10.49, allocations: 372 kB / 3.836 GB, free: 156.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006274/10.5, allocations: 491.7 kB / 3.836 GB, free: 156.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01174/10.51, allocations: 1.743 MB / 3.838 GB, free: 155.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003983/10.52, allocations: 1.346 MB / 3.839 GB, free: 154.7 MB / 0.8698 GB Notification: Performance of SimCode: time 1.664e-06/10.52, allocations: 0 / 3.839 GB, free: 154.7 MB / 0.8698 GB