Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="Buildings_latest_Buildings_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/Buildings 10.0.0-master/package.mo): time 1.743/1.743, allocations: 390.4 MB / 397.7 MB, free: 10.67 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 180.2 kB / 490.8 MB, free: 11.2 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.122/1.122, allocations: 221.4 MB / 0.7863 GB, free: 13.58 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008934/0.0008935, allocations: 90.09 kB / 0.9264 GB, free: 20.96 MB / 0.6042 GB Notification: Performance of FrontEnd - loaded program: time 0.2407/0.2417, allocations: 149.1 MB / 1.072 GB, free: 15.94 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4851/0.7268, allocations: 143 MB / 1.212 GB, free: 53.37 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.757/3.484, allocations: 1.911 GB / 3.123 GB, free: 101.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002047/3.485, allocations: 87.94 kB / 3.123 GB, free: 101.4 MB / 1.151 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 1.922/5.406, allocations: 0.6824 GB / 3.806 GB, free: 279.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/5.406, allocations: 7.094 kB / 3.806 GB, free: 279.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001903/5.408, allocations: 248.3 kB / 3.806 GB, free: 279.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001448/5.409, allocations: 0.6409 MB / 3.806 GB, free: 278.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.607e-05/5.41, allocations: 13.19 kB / 3.806 GB, free: 278.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001765/5.41, allocations: 30.88 kB / 3.806 GB, free: 278.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001585/5.411, allocations: 0.8991 MB / 3.807 GB, free: 278.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001427/5.413, allocations: 0.9357 MB / 3.808 GB, free: 277.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.727e-05/5.413, allocations: 10.38 kB / 3.808 GB, free: 277.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.341e-05/5.413, allocations: 3.906 kB / 3.808 GB, free: 277.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.599e-05/5.413, allocations: 12.41 kB / 3.808 GB, free: 277.6 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005214/5.418, allocations: 4.521 MB / 3.813 GB, free: 273.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007646/5.419, allocations: 0.6082 MB / 3.813 GB, free: 273.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005916/5.419, allocations: 0.5112 MB / 3.814 GB, free: 273.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008388/5.42, allocations: 1.052 MB / 3.815 GB, free: 272.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/5.42, allocations: 37.12 kB / 3.815 GB, free: 272.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=52): time 2.835e-06/5.42, allocations: 0 / 3.815 GB, free: 272.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=52): time 0.01188/5.432, allocations: 2.511 MB / 3.817 GB, free: 270.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.544e-05/5.432, allocations: 65.19 kB / 3.817 GB, free: 270.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005783/5.433, allocations: 444.6 kB / 3.818 GB, free: 270.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.653e-05/5.433, allocations: 25.7 kB / 3.818 GB, free: 270.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/5.433, allocations: 232.2 kB / 3.818 GB, free: 270.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001469/5.433, allocations: 181.1 kB / 3.818 GB, free: 270.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.042e-05/5.433, allocations: 1.312 kB / 3.818 GB, free: 270.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.454e-05/5.433, allocations: 370.8 kB / 3.819 GB, free: 269.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004627/5.434, allocations: 368.6 kB / 3.819 GB, free: 269.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004925/5.434, allocations: 464.6 kB / 3.819 GB, free: 269.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007108/5.435, allocations: 449.2 kB / 3.82 GB, free: 269 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/5.435, allocations: 2.844 kB / 3.82 GB, free: 269 MB / 1.151 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0112/5.446, allocations: 2.51 MB / 3.822 GB, free: 267.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/5.446, allocations: 8 kB / 3.822 GB, free: 267.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/5.446, allocations: 3.312 kB / 3.822 GB, free: 267.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009341/5.456, allocations: 1.659 MB / 3.824 GB, free: 266.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005077/5.456, allocations: 95.88 kB / 3.824 GB, free: 266.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01047/5.467, allocations: 6.179 MB / 3.83 GB, free: 260.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009244/5.468, allocations: 43.45 kB / 3.83 GB, free: 260.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/5.468, allocations: 51.83 kB / 3.83 GB, free: 260.1 MB / 1.151 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.0001639/5.468, allocations: 118 kB / 3.83 GB, free: 260 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/5.468, allocations: 67.16 kB / 3.83 GB, free: 259.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00498/5.473, allocations: 1.706 MB / 3.832 GB, free: 258.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.563e-06/5.473, allocations: 8 kB / 3.832 GB, free: 258.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/5.473, allocations: 4 kB / 3.832 GB, free: 258.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/5.473, allocations: 3.984 kB / 3.832 GB, free: 258.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00546/5.479, allocations: 2.417 MB / 3.834 GB, free: 255.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/5.479, allocations: 4 kB / 3.834 GB, free: 255.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004507/5.479, allocations: 98.28 kB / 3.834 GB, free: 255.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003284/5.482, allocations: 0.7177 MB / 3.835 GB, free: 255 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.856e-05/5.482, allocations: 6.594 kB / 3.835 GB, free: 255 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005286/5.488, allocations: 4.276 MB / 3.839 GB, free: 250.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/5.488, allocations: 3.938 kB / 3.839 GB, free: 250.6 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004914/5.493, allocations: 2.166 MB / 3.841 GB, free: 248.3 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005737/5.498, allocations: 3.154 MB / 3.844 GB, free: 245.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004634/5.499, allocations: 220.1 kB / 3.845 GB, free: 244.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001276/5.499, allocations: 0 / 3.845 GB, free: 244.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006394/5.5, allocations: 43.41 kB / 3.845 GB, free: 244.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.89e-05/5.5, allocations: 36.45 kB / 3.845 GB, free: 244.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.716e-05/5.5, allocations: 27.92 kB / 3.845 GB, free: 244.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003546/5.5, allocations: 346.9 kB / 3.845 GB, free: 244.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002097/5.502, allocations: 0.6089 MB / 3.846 GB, free: 243.8 MB / 1.151 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.001857/5.504, allocations: 1.93 MB / 3.848 GB, free: 242.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002628/5.507, allocations: 1.252 MB / 3.849 GB, free: 241 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/5.507, allocations: 4 kB / 3.849 GB, free: 241 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001394/5.508, allocations: 0.8079 MB / 3.85 GB, free: 240.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001417/5.51, allocations: 304.2 kB / 3.85 GB, free: 239.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002344/5.512, allocations: 1.357 MB / 3.851 GB, free: 238.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004981/5.513, allocations: 1.054 MB / 3.852 GB, free: 237.6 MB / 1.151 GB Notification: Performance of SimCode: time 5.31e-07/5.513, allocations: 3.125 kB / 3.852 GB, free: 237.6 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_PowerLaw.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1)