Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="IDEAS_dev_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.004872/0.004872, allocations: 178.4 kB / 7.454 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7855/0.7855, 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.768/1.768, allocations: 221.3 MB / 395 MB, free: 10.22 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.001153/0.001153, allocations: 101.8 kB / 477.8 MB, free: 10.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5661/0.5673, allocations: 88.43 MB / 0.5529 GB, free: 89.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.7779, allocations: 82.29 MB / 0.6333 GB, free: 14.01 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.592/5.37, allocations: 1.874 GB / 2.507 GB, free: 97.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002751/5.37, allocations: 87.95 kB / 2.507 GB, free: 97.31 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.619/7.988, allocations: 0.6823 GB / 3.189 GB, free: 115.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/7.989, allocations: 11.19 kB / 3.189 GB, free: 115.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001869/7.99, allocations: 245 kB / 3.19 GB, free: 115.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001384/7.992, allocations: 0.6368 MB / 3.19 GB, free: 115 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/7.992, allocations: 17.12 kB / 3.19 GB, free: 115 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001194/7.992, allocations: 35.8 kB / 3.19 GB, free: 115 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001344/7.993, allocations: 0.8958 MB / 3.191 GB, free: 115 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001196/7.995, allocations: 0.9357 MB / 3.192 GB, free: 114.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.52e-05/7.995, allocations: 6.625 kB / 3.192 GB, free: 114.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.028e-05/7.995, allocations: 3.906 kB / 3.192 GB, free: 114.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/7.995, allocations: 14.41 kB / 3.192 GB, free: 114.7 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005019/8, allocations: 4.528 MB / 3.196 GB, free: 112.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006811/8, allocations: 0.6075 MB / 3.197 GB, free: 112.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005545/8.001, allocations: 0.5198 MB / 3.198 GB, free: 112.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008884/8.002, allocations: 1.042 MB / 3.199 GB, free: 111 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/8.002, allocations: 35.91 kB / 3.199 GB, free: 111 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=52): time 3.466e-06/8.002, allocations: 3.781 kB / 3.199 GB, free: 111 MB / 0.6823 GB Notification: Performance of matching and sorting (n=52): time 0.01187/8.014, allocations: 2.521 MB / 3.201 GB, free: 110.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.647e-05/8.014, allocations: 58.28 kB / 3.201 GB, free: 110.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000577/8.014, allocations: 450.2 kB / 3.202 GB, free: 110.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001256/8.015, allocations: 25.7 kB / 3.202 GB, free: 110.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.149e-05/8.015, allocations: 236.1 kB / 3.202 GB, free: 110.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001487/8.015, allocations: 177.5 kB / 3.202 GB, free: 110.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.047e-05/8.015, allocations: 0 / 3.202 GB, free: 110.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.498e-05/8.015, allocations: 370.3 kB / 3.202 GB, free: 110.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004332/8.015, allocations: 367.8 kB / 3.203 GB, free: 110.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000492/8.016, allocations: 460.8 kB / 3.203 GB, free: 110.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000684/8.017, allocations: 456.2 kB / 3.204 GB, free: 110.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/8.017, allocations: 3.062 kB / 3.204 GB, free: 110.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01123/8.028, allocations: 2.503 MB / 3.206 GB, free: 110 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.988e-05/8.028, allocations: 6.312 kB / 3.206 GB, free: 110 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.037e-05/8.028, allocations: 2.25 kB / 3.206 GB, free: 110 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009839/8.038, allocations: 1.655 MB / 3.208 GB, free: 109.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006135/8.038, allocations: 101.6 kB / 3.208 GB, free: 109.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01143/8.05, allocations: 6.192 MB / 3.214 GB, free: 107.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001087/8.051, allocations: 47.03 kB / 3.214 GB, free: 107.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001107/8.051, allocations: 52.77 kB / 3.214 GB, free: 107.4 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.0001851/8.051, allocations: 107.8 kB / 3.214 GB, free: 107.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001669/8.052, allocations: 72.09 kB / 3.214 GB, free: 107.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005354/8.057, allocations: 1.693 MB / 3.216 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.167e-05/8.057, allocations: 4.781 kB / 3.216 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.624e-05/8.057, allocations: 9.359 kB / 3.216 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/8.057, allocations: 3.562 kB / 3.216 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00605/8.063, allocations: 2.422 MB / 3.218 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/8.063, allocations: 3.844 kB / 3.218 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004884/8.064, allocations: 97.73 kB / 3.218 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003412/8.067, allocations: 0.7231 MB / 3.219 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.961e-05/8.067, allocations: 7.125 kB / 3.219 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0058/8.073, allocations: 4.265 MB / 3.223 GB, free: 104.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/8.073, allocations: 0 / 3.223 GB, free: 104.4 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005237/8.078, allocations: 2.174 MB / 3.225 GB, free: 103.9 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00623/8.084, allocations: 3.153 MB / 3.228 GB, free: 103.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005874/8.085, allocations: 221.2 kB / 3.228 GB, free: 103 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001287/8.085, allocations: 6.844 kB / 3.228 GB, free: 103 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006708/8.086, allocations: 34.97 kB / 3.228 GB, free: 103 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/8.086, allocations: 40.89 kB / 3.229 GB, free: 103 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.662e-05/8.086, allocations: 23.22 kB / 3.229 GB, free: 103 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0004142/8.087, allocations: 355.5 kB / 3.229 GB, free: 102.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002596/8.089, allocations: 0.6007 MB / 3.229 GB, free: 102.9 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.002455/8.092, allocations: 1.93 MB / 3.231 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003028/8.095, allocations: 1.249 MB / 3.233 GB, free: 102.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/8.095, allocations: 0 / 3.233 GB, free: 102.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001636/8.096, allocations: 0.8199 MB / 3.233 GB, free: 102 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001866/8.098, allocations: 308.5 kB / 3.234 GB, free: 101.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003152/8.101, allocations: 1.341 MB / 3.235 GB, free: 101.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006334/8.102, allocations: 1.058 MB / 3.236 GB, free: 100.9 MB / 0.6823 GB Notification: Performance of SimCode: time 6.72e-07/8.102, allocations: 3.125 kB / 3.236 GB, free: 100.9 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_Examples_PowerLaw.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1)