Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Actuators.Dampers.Examples.Damper.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.Damper,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Actuators_Dampers_Examples_Damper",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.14/2.14, allocations: 248.6 MB / 255.9 MB, free: 7.102 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001644/0.001643, allocations: 187.6 kB / 315.1 MB, free: 4.246 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.069/2.069, allocations: 205.1 MB / 0.5658 GB, free: 272 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002569/0.002569, allocations: 91.11 kB / 0.67 GB, free: 5.473 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.507/0.5096, allocations: 112.4 MB / 0.7797 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.7238, allocations: 106.2 MB / 0.8835 GB, free: 13.31 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.707/6.431, allocations: 2.204 GB / 3.087 GB, free: 162.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000313/6.432, allocations: 90.56 kB / 3.087 GB, free: 162.4 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 2.912/9.344, allocations: 0.5609 GB / 3.648 GB, free: 184 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/9.344, allocations: 7.75 kB / 3.648 GB, free: 184 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006593/9.351, allocations: 0.5403 MB / 3.649 GB, free: 183.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007319/9.358, allocations: 2.08 MB / 3.651 GB, free: 183.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.932e-05/9.358, allocations: 18.59 kB / 3.651 GB, free: 183.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004383/9.359, allocations: 78.47 kB / 3.651 GB, free: 183.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003989/9.363, allocations: 1.489 MB / 3.652 GB, free: 183.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002975/9.366, allocations: 1.256 MB / 3.653 GB, free: 183.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.118e-05/9.366, allocations: 0 / 3.653 GB, free: 183.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001436/9.366, allocations: 3.406 kB / 3.653 GB, free: 183.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.345e-05/9.366, allocations: 18.12 kB / 3.653 GB, free: 183.4 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01382/9.38, allocations: 5.619 MB / 3.659 GB, free: 181.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004767/9.385, allocations: 1.461 MB / 3.66 GB, free: 181 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001686/9.386, allocations: 0.6958 MB / 3.661 GB, free: 181 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006197/9.387, allocations: 455.5 kB / 3.661 GB, free: 180.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/9.387, allocations: 34.62 kB / 3.662 GB, free: 180.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=57): time 3.547e-06/9.387, allocations: 0 / 3.662 GB, free: 180.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=57): time 0.01046/9.397, allocations: 2.154 MB / 3.664 GB, free: 180.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/9.398, allocations: 59.25 kB / 3.664 GB, free: 180.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006812/9.404, allocations: 2.448 MB / 3.666 GB, free: 180.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004959/9.405, allocations: 29.58 kB / 3.666 GB, free: 180.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005456/9.406, allocations: 470.8 kB / 3.667 GB, free: 179.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002941/9.406, allocations: 186.1 kB / 3.667 GB, free: 179.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001534/9.406, allocations: 3.656 kB / 3.667 GB, free: 179.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001369/9.406, allocations: 374.3 kB / 3.667 GB, free: 179.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0037/9.41, allocations: 1.638 MB / 3.669 GB, free: 179.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004213/9.414, allocations: 2.088 MB / 3.671 GB, free: 179 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009059/9.423, allocations: 2.274 MB / 3.673 GB, free: 178.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.685e-05/9.423, allocations: 1.125 kB / 3.673 GB, free: 178.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.01419/9.438, allocations: 4.569 MB / 3.677 GB, free: 178.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004642/9.438, allocations: 2.067 MB / 3.679 GB, free: 176.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.229e-05/9.438, allocations: 3.938 kB / 3.679 GB, free: 176.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006917/9.439, allocations: 119.8 kB / 3.68 GB, free: 176.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003775/9.443, allocations: 419.6 kB / 3.68 GB, free: 176.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002182/9.445, allocations: 1.334 MB / 3.681 GB, free: 175.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004892/9.45, allocations: 330 kB / 3.682 GB, free: 175.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006198/9.45, allocations: 147.4 kB / 3.682 GB, free: 175.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/9.45, allocations: 2.625 kB / 3.682 GB, free: 175.4 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01362/9.464, allocations: 4.323 MB / 3.686 GB, free: 175.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.323e-05/9.464, allocations: 3.594 kB / 3.686 GB, free: 175.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.614e-05/9.464, allocations: 14.47 kB / 3.686 GB, free: 175.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003771/9.468, allocations: 421.7 kB / 3.686 GB, free: 175.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.384e-05/9.468, allocations: 14.72 kB / 3.686 GB, free: 175.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004743/9.473, allocations: 254.3 kB / 3.687 GB, free: 175.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000635/9.473, allocations: 143.4 kB / 3.687 GB, free: 175.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 39 (preIndDpFixed_nominal.idx_sorted[1],preIndDpFixed_nominal.idx_sorted[2],preIndDpFixed_nominal.idx_sorted[3],preIndDpFixed_nominal.idx_sorted[4],preIndDpFixed_nominal.idx_sorted[5],preIndDpFixed_nominal.idx_sorted[6],preIndDpFixed_nominal.idx_sorted[7],preIndDpFixed_nominal.idx_sorted[8],preIndDpFixed_nominal.idx_sorted[9],preIndDpFixed_nominal.idx_sorted[10],preIndDpFixed_nominal.idx_sorted[11],preIndDpFixed_nominal.idx_sorted[12],preIndDpFixed_nominal.idx_sorted[13],preIndFrom_dp.idx_sorted[1],preIndFrom_dp.idx_sorted[2],preIndFrom_dp.idx_sorted[3],preIndFrom_dp.idx_sorted[4],preIndFrom_dp.idx_sorted[5],preIndFrom_dp.idx_sorted[6],preIndFrom_dp.idx_sorted[7],preIndFrom_dp.idx_sorted[8],preIndFrom_dp.idx_sorted[9],preIndFrom_dp.idx_sorted[10],preIndFrom_dp.idx_sorted[11],preIndFrom_dp.idx_sorted[12],preIndFrom_dp.idx_sorted[13],preInd.idx_sorted[1],preInd.idx_sorted[2],preInd.idx_sorted[3],preInd.idx_sorted[4],preInd.idx_sorted[5],preInd.idx_sorted[6],preInd.idx_sorted[7],preInd.idx_sorted[8],preInd.idx_sorted[9],preInd.idx_sorted[10],preInd.idx_sorted[11],preInd.idx_sorted[12],preInd.idx_sorted[13]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (195): * Single equations (assignments): 190 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0005428/9.474, allocations: 169.6 kB / 3.687 GB, free: 175.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008801/9.475, allocations: 161.6 kB / 3.687 GB, free: 175 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01075/9.486, allocations: 2.4 MB / 3.689 GB, free: 174.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.444e-05/9.486, allocations: 11.72 kB / 3.689 GB, free: 174.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/9.486, allocations: 0 / 3.689 GB, free: 174.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.237e-05/9.486, allocations: 3.75 kB / 3.689 GB, free: 174.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01627/9.502, allocations: 4.215 MB / 3.694 GB, free: 174.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/9.502, allocations: 0 / 3.694 GB, free: 174.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001949/9.504, allocations: 213.2 kB / 3.694 GB, free: 174.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009718/9.505, allocations: 118.8 kB / 3.694 GB, free: 174.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000289/9.505, allocations: 31.48 kB / 3.694 GB, free: 174.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001946/9.507, allocations: 1.318 MB / 3.695 GB, free: 173.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.245e-06/9.507, allocations: 7.625 kB / 3.695 GB, free: 173.4 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01011/9.518, allocations: 2.482 MB / 3.698 GB, free: 172.8 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01195/9.53, allocations: 2.976 MB / 3.7 GB, free: 171.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002309/9.532, allocations: 0.5844 MB / 3.701 GB, free: 171.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001018/9.533, allocations: 7.219 kB / 3.701 GB, free: 171.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003885/9.537, allocations: 118.5 kB / 3.701 GB, free: 171.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002587/9.537, allocations: 39.56 kB / 3.701 GB, free: 171.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002518/9.537, allocations: 90.61 kB / 3.701 GB, free: 171.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.004805/9.542, allocations: 1.829 MB / 3.703 GB, free: 171.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.008248/9.551, allocations: 1.352 MB / 3.704 GB, free: 171.4 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.003671/9.554, allocations: 1.777 MB / 3.706 GB, free: 171 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.011/9.565, allocations: 5.103 MB / 3.711 GB, free: 170.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.897e-06/9.565, allocations: 0 / 3.711 GB, free: 170.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001899/9.567, allocations: 0.6507 MB / 3.712 GB, free: 170.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004729/9.572, allocations: 357.1 kB / 3.712 GB, free: 170.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00996/9.582, allocations: 2.39 MB / 3.714 GB, free: 170 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003475/9.586, allocations: 1.544 MB / 3.716 GB, free: 169.2 MB / 0.8698 GB Notification: Performance of SimCode: time 2.976e-06/9.586, allocations: 0 / 3.716 GB, free: 169.2 MB / 0.8698 GB