Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",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.0009884/0.0009884, allocations: 183.6 kB / 7.803 MB, free: 2.18 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4524/0.4524, allocations: 90.85 MB / 99.07 MB, free: 14.93 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 221.4 MB / 342.8 MB, free: 5.105 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009978/0.0009979, allocations: 88.06 kB / 415.5 MB, free: 6.398 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1843/0.1853, allocations: 78.45 MB / 494 MB, free: 7.941 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3903/0.5756, allocations: 72.29 MB / 0.553 GB, free: 73.34 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1131/0.6888, allocations: 100.9 MB / 0.6515 GB, free: 9.047 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002823/0.6891, allocations: 77.17 kB / 0.6516 GB, free: 8.973 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.005384/0.6945, allocations: 1.853 MB / 0.6534 GB, free: 7.113 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.6946, allocations: 8.75 kB / 0.6534 GB, free: 7.105 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.516e-05/0.6946, allocations: 3.984 kB / 0.6534 GB, free: 7.102 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.6948, allocations: 168.3 kB / 0.6536 GB, free: 6.898 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.6948, allocations: 0 / 0.6536 GB, free: 6.898 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.246e-05/0.6948, allocations: 0 / 0.6536 GB, free: 6.898 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.198e-05/0.6949, allocations: 12.47 kB / 0.6536 GB, free: 6.887 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.509e-05/0.695, allocations: 36.38 kB / 0.6537 GB, free: 6.848 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.695, allocations: 5.297 kB / 0.6537 GB, free: 6.844 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.695, allocations: 0.5 kB / 0.6537 GB, free: 6.844 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.695, allocations: 4 kB / 0.6537 GB, free: 6.84 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001657/0.6952, allocations: 139.1 kB / 0.6538 GB, free: 6.668 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.118e-05/0.6953, allocations: 31.55 kB / 0.6538 GB, free: 6.629 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.075e-05/0.6953, allocations: 5.828 kB / 0.6538 GB, free: 6.621 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001033/0.6963, allocations: 1.174 MB / 0.655 GB, free: 5.195 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.6964, allocations: 38.5 kB / 0.655 GB, free: 5.148 MB / 474.7 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.6964, allocations: 0.5 kB / 0.655 GB, free: 5.148 MB / 474.7 MB Notification: Performance of matching and sorting (n=3): time 0.000217/0.6966, allocations: 45.59 kB / 0.6551 GB, free: 5.098 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.6967, allocations: 52.56 kB / 0.6551 GB, free: 5.035 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.73e-05/0.6968, allocations: 98.56 kB / 0.6552 GB, free: 4.934 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.6968, allocations: 26.95 kB / 0.6552 GB, free: 4.902 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.077e-05/0.6968, allocations: 80.14 kB / 0.6553 GB, free: 4.82 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.679e-05/0.6969, allocations: 11.89 kB / 0.6553 GB, free: 4.809 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-06/0.6969, allocations: 0.5312 kB / 0.6553 GB, free: 4.809 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.829e-05/0.697, allocations: 316.2 kB / 0.6556 GB, free: 4.492 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.126e-05/0.697, allocations: 0 / 0.6556 GB, free: 4.492 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.608e-06/0.697, allocations: 4 kB / 0.6556 GB, free: 4.488 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.427e-05/0.6971, allocations: 4.75 kB / 0.6556 GB, free: 4.484 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.6971, allocations: 3.031 kB / 0.6556 GB, free: 4.484 MB / 474.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.212e-05/0.6972, allocations: 53.53 kB / 0.6557 GB, free: 4.426 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.6972, allocations: 8.688 kB / 0.6557 GB, free: 4.418 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.6972, allocations: 0 / 0.6557 GB, free: 4.418 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.6972, allocations: 0.6875 kB / 0.6557 GB, free: 4.418 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.254e-05/0.6973, allocations: 4 kB / 0.6557 GB, free: 4.414 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.6973, allocations: 4.562 kB / 0.6557 GB, free: 4.41 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.098e-05/0.6973, allocations: 8.734 kB / 0.6557 GB, free: 4.402 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.6973, allocations: 5.812 kB / 0.6557 GB, free: 4.398 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 5.999e-05/0.6974, allocations: 108.4 kB / 0.6558 GB, free: 4.289 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.846e-06/0.6974, allocations: 0.625 kB / 0.6558 GB, free: 4.289 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001702/0.6976, allocations: 63.47 kB / 0.6559 GB, free: 4.215 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.6976, allocations: 4 kB / 0.6559 GB, free: 4.211 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.6976, allocations: 3.906 kB / 0.6559 GB, free: 4.207 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.6976, allocations: 0 / 0.6559 GB, free: 4.207 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.036e-05/0.6977, allocations: 138.2 kB / 0.656 GB, free: 4.035 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.6977, allocations: 0 / 0.656 GB, free: 4.035 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.14e-05/0.6977, allocations: 11.98 kB / 0.656 GB, free: 4.023 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.6978, allocations: 0 / 0.656 GB, free: 4.023 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.6978, allocations: 1.438 kB / 0.656 GB, free: 4.023 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.6978, allocations: 0 / 0.656 GB, free: 4.023 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.6978, allocations: 0.9375 kB / 0.656 GB, free: 4.023 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001088/0.6979, allocations: 77.27 kB / 0.6561 GB, free: 3.93 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002043/0.6981, allocations: 457.4 kB / 0.6565 GB, free: 3.461 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.376e-05/0.6982, allocations: 89 kB / 0.6566 GB, free: 3.355 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.6982, allocations: 0 / 0.6566 GB, free: 3.355 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.137e-05/0.6983, allocations: 10.91 kB / 0.6566 GB, free: 3.348 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.215e-05/0.6983, allocations: 0 / 0.6566 GB, free: 3.348 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-06/0.6983, allocations: 0 / 0.6566 GB, free: 3.348 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.153e-05/0.6983, allocations: 87.28 kB / 0.6567 GB, free: 3.262 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008076/0.6991, allocations: 35.92 kB / 0.6567 GB, free: 3.227 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0002181/0.6994, allocations: 120.9 kB / 0.6569 GB, free: 3.102 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 7.106e-05/0.6994, allocations: 12 kB / 0.6569 GB, free: 3.09 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.6995, allocations: 0 / 0.6569 GB, free: 3.09 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.589e-05/0.6995, allocations: 15.94 kB / 0.6569 GB, free: 3.074 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001461/0.6996, allocations: 10.11 kB / 0.6569 GB, free: 3.066 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002333/0.6999, allocations: 63.78 kB / 0.657 GB, free: 2.98 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003088/0.7002, allocations: 0.6993 MB / 0.6576 GB, free: 2.258 MB / 474.7 MB Notification: Performance of SimCode: time 2.2e-07/0.7002, allocations: 0 / 0.6576 GB, free: 2.258 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)