Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Airflow.Multizone.Examples.ClosedDoors.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.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="Buildings_7_0_0_Buildings_Airflow_Multizone_Examples_ClosedDoors",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.274/2.274, allocations: 248.6 MB / 255.9 MB, free: 7.195 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.00172/0.00172, allocations: 194.8 kB / 315.1 MB, free: 4.301 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.99/1.99, allocations: 205.1 MB / 0.5658 GB, free: 392 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.001312/0.001312, allocations: 94.89 kB / 0.67 GB, free: 5.598 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4689/0.4702, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2216/0.6919, allocations: 106.2 MB / 0.8835 GB, free: 13.4 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 11.67/12.36, allocations: 4.634 GB / 5.518 GB, free: 75.72 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000312/12.36, allocations: 95.86 kB / 5.518 GB, free: 75.67 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: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 5.412/17.78, allocations: 0.9706 GB / 6.489 GB, free: 107.2 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/17.78, allocations: 7.844 kB / 6.489 GB, free: 107.2 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007434/17.78, allocations: 0.7198 MB / 6.489 GB, free: 106.8 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008743/17.79, allocations: 1.987 MB / 6.491 GB, free: 105.5 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002459/17.79, allocations: 86.25 kB / 6.491 GB, free: 105.5 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00145/17.79, allocations: 159 kB / 6.492 GB, free: 105.5 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01537/17.81, allocations: 4.155 MB / 6.496 GB, free: 103.8 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01369/17.82, allocations: 2.785 MB / 6.498 GB, free: 102.4 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001412/17.82, allocations: 1.125 kB / 6.498 GB, free: 102.4 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008834/17.82, allocations: 1.094 kB / 6.498 GB, free: 102.4 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001914/17.82, allocations: 127.5 kB / 6.498 GB, free: 102.4 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03524/17.86, allocations: 10.75 MB / 6.509 GB, free: 91.23 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01139/17.87, allocations: 4.19 MB / 6.513 GB, free: 87.07 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007446/17.88, allocations: 2.415 MB / 6.515 GB, free: 84.64 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002554/17.88, allocations: 0.8582 MB / 6.516 GB, free: 83.64 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001231/17.88, allocations: 77.7 kB / 6.516 GB, free: 83.55 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=399): time 1.412e-05/17.88, allocations: 4 kB / 6.516 GB, free: 83.55 MB / 0.9011 GB Notification: Performance of matching and sorting (n=399): time 0.03465/17.92, allocations: 4.434 MB / 6.521 GB, free: 79.07 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.473e-05/17.92, allocations: 98.53 kB / 6.521 GB, free: 78.96 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002574/17.92, allocations: 1.02 MB / 6.522 GB, free: 77.94 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.001037/17.92, allocations: 25.7 kB / 6.522 GB, free: 77.91 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004024/17.92, allocations: 0.5827 MB / 6.522 GB, free: 77.31 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.002235/17.92, allocations: 1.277 MB / 6.524 GB, free: 76.02 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003344/17.92, allocations: 0 / 6.524 GB, free: 76.02 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0003716/17.92, allocations: 449 kB / 6.524 GB, free: 75.57 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00446/17.93, allocations: 1.526 MB / 6.525 GB, free: 74.04 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005573/17.93, allocations: 1.82 MB / 6.527 GB, free: 72.17 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00994/17.94, allocations: 2.249 MB / 6.529 GB, free: 69.91 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.305e-05/17.94, allocations: 4 kB / 6.529 GB, free: 69.91 MB / 0.9011 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.01725/17.96, allocations: 4.379 MB / 6.534 GB, free: 65.51 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.112e-05/17.96, allocations: 4 kB / 6.534 GB, free: 65.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.105e-05/17.96, allocations: 8.344 kB / 6.534 GB, free: 65.5 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.711e-05/17.96, allocations: 24 kB / 6.534 GB, free: 65.47 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006996/17.97, allocations: 0.6826 MB / 6.534 GB, free: 64.79 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.146e-05/17.97, allocations: 16 kB / 6.534 GB, free: 64.77 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006513/17.97, allocations: 293.2 kB / 6.535 GB, free: 64.48 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001308/17.98, allocations: 112 kB / 6.535 GB, free: 64.38 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (430): * Single equations (assignments): 430 * 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 prepare postOptimizeDAE: time 0.001284/17.98, allocations: 160.1 kB / 6.535 GB, free: 64.21 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001055/17.98, allocations: 233.2 kB / 6.535 GB, free: 63.98 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02324/18, allocations: 4.811 MB / 6.54 GB, free: 59.12 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.198e-05/18, allocations: 40 kB / 6.54 GB, free: 59.09 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.18e-05/18, allocations: 3.984 kB / 6.54 GB, free: 59.08 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01901/18.02, allocations: 4.178 MB / 6.544 GB, free: 54.85 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03549/18.06, allocations: 8.179 MB / 6.552 GB, free: 46.69 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.019e-05/18.06, allocations: 0 / 6.552 GB, free: 46.69 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007394/18.06, allocations: 0.671 MB / 6.553 GB, free: 46.02 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007982/18.06, allocations: 138.5 kB / 6.553 GB, free: 45.88 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001359/18.07, allocations: 27.98 kB / 6.553 GB, free: 45.85 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009031/18.08, allocations: 4.346 MB / 6.557 GB, free: 41.17 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/18.08, allocations: 4.094 kB / 6.557 GB, free: 41.17 MB / 0.9011 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02397/18.1, allocations: 7.261 MB / 6.564 GB, free: 33.86 MB / 0.9011 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03184/18.13, allocations: 10.47 MB / 6.574 GB, free: 23.33 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003508/18.13, allocations: 0.7627 MB / 6.575 GB, free: 22.54 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001372/18.14, allocations: 3.938 kB / 6.575 GB, free: 22.54 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005332/18.14, allocations: 151.6 kB / 6.575 GB, free: 22.39 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001126/18.14, allocations: 198.8 kB / 6.575 GB, free: 22.2 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004667/18.14, allocations: 108 kB / 6.576 GB, free: 22.09 MB / 0.9011 GB Notification: Performance of sort global known variables: time 0.001847/18.14, allocations: 0.7971 MB / 6.576 GB, free: 21.29 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.009207/18.15, allocations: 1.416 MB / 6.578 GB, free: 19.87 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 15 (dooAB.mExcAB,dooAB.mExcBA,volA.dynBal.U,volA.dynBal.m,volA.dynBal.mXi[1],volB.dynBal.U,volB.dynBal.m,volB.dynBal.mXi[1],volC.dynBal.U,volC.dynBal.m,volC.dynBal.mXi[1],dooAC.mExcAB,dooAC.mExcBA,dooBC.mExcAB,dooBC.mExcBA) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (393): * Single equations (assignments): 390 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005092/18.16, allocations: 2.531 MB / 6.58 GB, free: 17.54 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.01477/18.17, allocations: 3.899 MB / 6.584 GB, free: 13.63 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.331e-05/18.17, allocations: 4 kB / 6.584 GB, free: 13.62 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.008297/18.18, allocations: 2.449 MB / 6.586 GB, free: 11.15 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009152/18.19, allocations: 0.8568 MB / 6.587 GB, free: 10.31 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01971/18.21, allocations: 5.749 MB / 6.593 GB, free: 4.582 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006197/18.22, allocations: 2.329 MB / 6.595 GB, free: 2.219 MB / 0.9011 GB Notification: Performance of SimCode: time 1.433e-06/18.22, allocations: 0 / 6.595 GB, free: 2.219 MB / 0.9011 GB