Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_PowerLaw",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/Complex 4.0.0+maint.om/package.mo): time 0.004863/0.004863, allocations: 178.1 kB / 7.453 MB, free: 1.996 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.846/0.846, allocations: 133.5 MB / 141.4 MB, free: 15.67 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.775/1.775, allocations: 221.3 MB / 395 MB, free: 10.11 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 103.4 kB / 477.8 MB, free: 10.71 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5838/0.585, allocations: 88.42 MB / 0.5529 GB, free: 89.24 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.8195, allocations: 82.3 MB / 0.6333 GB, free: 13.91 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.726/5.545, allocations: 1.874 GB / 2.507 GB, free: 72.15 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003015/5.546, allocations: 91.89 kB / 2.507 GB, free: 72.06 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 2.612/8.158, allocations: 0.6823 GB / 3.189 GB, free: 118.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.768e-05/8.158, allocations: 12.53 kB / 3.189 GB, free: 118.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002493/8.16, allocations: 251.9 kB / 3.19 GB, free: 118.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001903/8.162, allocations: 0.6392 MB / 3.19 GB, free: 118.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.879e-05/8.162, allocations: 17.88 kB / 3.19 GB, free: 118.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002831/8.163, allocations: 29.09 kB / 3.19 GB, free: 118.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001664/8.164, allocations: 0.8969 MB / 3.191 GB, free: 118.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001651/8.166, allocations: 0.9317 MB / 3.192 GB, free: 118.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.821e-05/8.166, allocations: 14.38 kB / 3.192 GB, free: 118.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/8.166, allocations: 7.812 kB / 3.192 GB, free: 118.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.651e-05/8.166, allocations: 14.22 kB / 3.192 GB, free: 118.3 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006479/8.173, allocations: 4.532 MB / 3.196 GB, free: 115.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009214/8.174, allocations: 0.6046 MB / 3.197 GB, free: 115.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007539/8.174, allocations: 0.5126 MB / 3.198 GB, free: 115.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001026/8.176, allocations: 1.05 MB / 3.199 GB, free: 114.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/8.176, allocations: 37.81 kB / 3.199 GB, free: 114.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=52): time 2.545e-06/8.176, allocations: 0 / 3.199 GB, free: 114.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=52): time 0.01274/8.188, allocations: 2.517 MB / 3.201 GB, free: 114.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/8.188, allocations: 59.16 kB / 3.201 GB, free: 114.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/8.19, allocations: 452.1 kB / 3.202 GB, free: 114.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002353/8.19, allocations: 25.7 kB / 3.202 GB, free: 114.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002144/8.19, allocations: 230 kB / 3.202 GB, free: 114.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003876/8.19, allocations: 176.2 kB / 3.202 GB, free: 114 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.042e-05/8.191, allocations: 0 / 3.202 GB, free: 114 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001722/8.191, allocations: 370.1 kB / 3.202 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006027/8.191, allocations: 368.1 kB / 3.203 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006518/8.192, allocations: 469.4 kB / 3.203 GB, free: 113.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001016/8.193, allocations: 446.4 kB / 3.204 GB, free: 113.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/8.193, allocations: 7.156 kB / 3.204 GB, free: 113.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01234/8.205, allocations: 2.503 MB / 3.206 GB, free: 113.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.738e-05/8.205, allocations: 6.312 kB / 3.206 GB, free: 113.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.483e-05/8.206, allocations: 3.906 kB / 3.206 GB, free: 113.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01004/8.216, allocations: 1.655 MB / 3.208 GB, free: 113.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006314/8.216, allocations: 98.31 kB / 3.208 GB, free: 113.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01275/8.229, allocations: 6.185 MB / 3.214 GB, free: 111 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/8.23, allocations: 51.34 kB / 3.214 GB, free: 111 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002603/8.23, allocations: 45.33 kB / 3.214 GB, free: 111 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 44 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,100.0%) 4,(5,92.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002788/8.231, allocations: 112.4 kB / 3.214 GB, free: 110.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003189/8.231, allocations: 68.81 kB / 3.214 GB, free: 110.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005612/8.237, allocations: 1.701 MB / 3.216 GB, free: 110.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.487e-06/8.237, allocations: 6.188 kB / 3.216 GB, free: 110.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.4e-05/8.237, allocations: 6.656 kB / 3.216 GB, free: 110.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.226e-06/8.237, allocations: 3.844 kB / 3.216 GB, free: 110.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006405/8.243, allocations: 2.422 MB / 3.218 GB, free: 110.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.139e-05/8.243, allocations: 11.05 kB / 3.218 GB, free: 110.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004949/8.244, allocations: 98.45 kB / 3.218 GB, free: 110.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003524/8.247, allocations: 0.7152 MB / 3.219 GB, free: 110.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-05/8.247, allocations: 14.12 kB / 3.219 GB, free: 110.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006074/8.253, allocations: 4.259 MB / 3.223 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/8.254, allocations: 6.094 kB / 3.223 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005444/8.259, allocations: 2.167 MB / 3.225 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006623/8.266, allocations: 3.158 MB / 3.228 GB, free: 106.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007588/8.266, allocations: 218.1 kB / 3.228 GB, free: 106.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003/8.267, allocations: 3.25 kB / 3.228 GB, free: 106.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009684/8.268, allocations: 30.95 kB / 3.228 GB, free: 106.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001742/8.268, allocations: 42.14 kB / 3.229 GB, free: 106.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.776e-05/8.268, allocations: 18.22 kB / 3.229 GB, free: 106.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0008373/8.269, allocations: 358.5 kB / 3.229 GB, free: 106.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003594/8.272, allocations: 0.6054 MB / 3.229 GB, free: 106.5 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (pow_m_flow.mExc,pow_V_flow.mExc,pow_1dat.mExc,pow_2dat.mExc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 49 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,92.0%) 3,(4,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003477/8.276, allocations: 1.936 MB / 3.231 GB, free: 106 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003558/8.28, allocations: 1.255 MB / 3.233 GB, free: 105.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.214e-06/8.28, allocations: 2.047 kB / 3.233 GB, free: 105.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001894/8.281, allocations: 0.8134 MB / 3.233 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002016/8.283, allocations: 305.8 kB / 3.234 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003702/8.287, allocations: 1.343 MB / 3.235 GB, free: 105.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009229/8.288, allocations: 1.049 MB / 3.236 GB, free: 104.4 MB / 0.6823 GB Notification: Performance of SimCode: time 8.31e-07/8.288, allocations: 2.875 kB / 3.236 GB, free: 104.4 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_Examples_PowerLaw.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1)