Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.Tutorial.SpaceCooling.System3.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.Examples.Tutorial.SpaceCooling.System3,fileNamePrefix="Buildings_7_0_0_Buildings_Examples_Tutorial_SpaceCooling_System3",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.339/2.339, allocations: 248.6 MB / 255.9 MB, free: 7.203 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.001713/0.001713, allocations: 192.7 kB / 315.1 MB, free: 4.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.924/1.924, allocations: 205.1 MB / 0.5658 GB, free: 308 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.002342/0.002342, allocations: 97.5 kB / 0.67 GB, free: 5.512 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4795/0.4819, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2072/0.6892, allocations: 106.2 MB / 0.8835 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.301/6.99, allocations: 2.547 GB / 3.431 GB, free: 149.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002748/6.991, allocations: 87.83 kB / 3.431 GB, free: 149.2 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: 1766 * Number of variables: 1766 Notification: Performance of Generate backend data structure: time 19.8/26.8, allocations: 4.053 GB / 7.484 GB, free: 65.03 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.681e-05/26.8, allocations: 11.03 kB / 7.484 GB, free: 65.03 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03185/26.83, allocations: 2.779 MB / 7.487 GB, free: 63.62 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04737/26.87, allocations: 10.22 MB / 7.497 GB, free: 53.4 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008645/26.88, allocations: 224 kB / 7.497 GB, free: 53.18 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004664/26.88, allocations: 416 kB / 7.497 GB, free: 52.77 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03008/26.91, allocations: 7.801 MB / 7.505 GB, free: 44.96 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03591/26.95, allocations: 8.042 MB / 7.513 GB, free: 36.73 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00045/26.95, allocations: 11.94 kB / 7.513 GB, free: 36.72 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003344/26.95, allocations: 11.14 kB / 7.513 GB, free: 36.71 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00038/26.95, allocations: 305.4 kB / 7.513 GB, free: 36.41 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1087/27.06, allocations: 37.88 MB / 7.55 GB, free: 12.67 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01154/27.07, allocations: 3.618 MB / 7.554 GB, free: 9.059 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01023/27.08, allocations: 3.267 MB / 7.557 GB, free: 5.789 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003048/27.08, allocations: 1.399 MB / 7.558 GB, free: 4.113 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01074/27.1, allocations: 3.159 MB / 7.561 GB, free: 0.9297 MB / 1.026 GB Notification: Performance of pre-optimization done (n=463): time 9.949e-06/27.1, allocations: 0 / 7.561 GB, free: 0.9297 MB / 1.026 GB Notification: Performance of matching and sorting (n=474): time 1.179/28.27, allocations: 13.62 MB / 7.575 GB, free: 157.6 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001449/28.27, allocations: 335.5 kB / 7.575 GB, free: 157.3 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01672/28.29, allocations: 5.297 MB / 7.58 GB, free: 156.9 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.001576/28.29, allocations: 33.33 kB / 7.58 GB, free: 156.9 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.005045/28.3, allocations: 2.437 MB / 7.583 GB, free: 156 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.005409/28.3, allocations: 1.566 MB / 7.584 GB, free: 155.2 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007794/28.3, allocations: 3.406 kB / 7.584 GB, free: 155.2 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0005539/28.31, allocations: 0.493 MB / 7.585 GB, free: 154.9 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006711/28.31, allocations: 2.318 MB / 7.587 GB, free: 154.8 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008381/28.32, allocations: 3.53 MB / 7.59 GB, free: 153.6 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009897/28.33, allocations: 3.148 MB / 7.593 GB, free: 153.5 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.593e-05/28.33, allocations: 7.281 kB / 7.593 GB, free: 153.5 MB / 1.026 GB Notification: Performance of matching and sorting (n=609) (initialization): time 0.02613/28.36, allocations: 7.104 MB / 7.6 GB, free: 152.9 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.002317/28.36, allocations: 10.63 MB / 7.611 GB, free: 141.9 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001832/28.36, allocations: 21.28 kB / 7.611 GB, free: 141.9 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004076/28.36, allocations: 0.6217 MB / 7.611 GB, free: 141.8 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01045/28.37, allocations: 1.044 MB / 7.612 GB, free: 141.8 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01784/28.39, allocations: 9.116 MB / 7.621 GB, free: 136.3 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01407/28.41, allocations: 0.5613 MB / 7.622 GB, free: 136.2 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001652/28.41, allocations: 205.8 kB / 7.622 GB, free: 136.2 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/28.41, allocations: 7.562 kB / 7.622 GB, free: 136.2 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02464/28.43, allocations: 6.434 MB / 7.628 GB, free: 135.9 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001031/28.43, allocations: 22.62 kB / 7.628 GB, free: 135.9 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003764/28.44, allocations: 0.6257 MB / 7.629 GB, free: 135.9 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01129/28.45, allocations: 1.039 MB / 7.63 GB, free: 135.9 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0253/28.47, allocations: 10.02 MB / 7.64 GB, free: 129.6 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01367/28.49, allocations: 0.5502 MB / 7.64 GB, free: 129.6 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001644/28.49, allocations: 203 kB / 7.64 GB, free: 129.6 MB / 1.026 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: fan.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.con.y,con.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (564): * Single equations (assignments): 556 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 4 {2 23,1 4,1 5,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.002682/28.49, allocations: 218.2 kB / 7.641 GB, free: 129.5 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003125/28.49, allocations: 0.6596 MB / 7.641 GB, free: 129.1 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02802/28.52, allocations: 6.941 MB / 7.648 GB, free: 128.7 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.929e-05/28.52, allocations: 50.25 kB / 7.648 GB, free: 128.7 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.617e-05/28.52, allocations: 6.094 kB / 7.648 GB, free: 128.7 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0207/28.54, allocations: 5.674 MB / 7.654 GB, free: 128.3 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05866/28.6, allocations: 15.3 MB / 7.669 GB, free: 127 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.29e-05/28.6, allocations: 0 / 7.669 GB, free: 127 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01184/28.61, allocations: 1.029 MB / 7.67 GB, free: 127 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002554/28.62, allocations: 389 kB / 7.67 GB, free: 127 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00145/28.62, allocations: 74.53 kB / 7.67 GB, free: 127 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01461/28.63, allocations: 9.112 MB / 7.679 GB, free: 119.7 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.091e-05/28.63, allocations: 3.062 kB / 7.679 GB, free: 119.7 MB / 1.026 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04858/28.68, allocations: 10.31 MB / 7.689 GB, free: 118.7 MB / 1.026 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.05749/28.74, allocations: 14.97 MB / 7.704 GB, free: 117.3 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007867/28.75, allocations: 1.605 MB / 7.705 GB, free: 116.9 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003348/28.75, allocations: 26.97 kB / 7.705 GB, free: 116.9 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01322/28.76, allocations: 0.5466 MB / 7.706 GB, free: 116.9 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001456/28.76, allocations: 260.1 kB / 7.706 GB, free: 116.9 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000864/28.77, allocations: 179.5 kB / 7.706 GB, free: 116.9 MB / 1.026 GB Notification: Performance of sort global known variables: time 0.01235/28.78, allocations: 4.061 MB / 7.71 GB, free: 116.7 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.04476/28.82, allocations: 6.073 MB / 7.716 GB, free: 116.7 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 24 (vol.dynBal.medium.X[2],vol.dynBal.medium.dT,vol.dynBal.m,fan.filter.x[1],fan.filter.x[2],cooCoi.ele[1].vol1.dynBal.U,cooCoi.ele[1].vol2.dynBal.U,cooCoi.ele[1].vol2.dynBal.mXi[1],cooCoi.ele[1].mas.T,cooCoi.ele[2].vol1.dynBal.U,cooCoi.ele[2].vol2.dynBal.U,cooCoi.ele[2].vol2.dynBal.mXi[1],cooCoi.ele[2].mas.T,cooCoi.ele[3].vol1.dynBal.U,cooCoi.ele[3].vol2.dynBal.U,cooCoi.ele[3].vol2.dynBal.mXi[1],cooCoi.ele[3].mas.T,cooCoi.ele[4].vol1.dynBal.U,cooCoi.ele[4].vol2.dynBal.U,cooCoi.ele[4].vol2.dynBal.m,cooCoi.ele[4].vol2.dynBal.mXi[1],cooCoi.ele[4].mas.T,senTemHXOut.T,senTemSupAir.T) * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,con.y) * Number of discrete states: 3 (weaDat.conTimMin.tNext,weaDat.conTim.tNext,con.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (478): * Single equations (assignments): 465 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 7,(1,100.0%) 3} * Non-linear torn systems: 2 {1 4,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01636/28.84, allocations: 8.055 MB / 7.724 GB, free: 113.1 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.02837/28.87, allocations: 10.2 MB / 7.734 GB, free: 112 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.584e-05/28.87, allocations: 10.19 kB / 7.734 GB, free: 112 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.009723/28.88, allocations: 3.473 MB / 7.737 GB, free: 111.5 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03286/28.91, allocations: 3.485 MB / 7.741 GB, free: 111.4 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06196/28.97, allocations: 15.51 MB / 7.756 GB, free: 108.8 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01945/28.99, allocations: 6.44 MB / 7.762 GB, free: 107.9 MB / 1.026 GB Notification: Performance of SimCode: time 1.432e-06/28.99, allocations: 0 / 7.762 GB, free: 107.9 MB / 1.026 GB