Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_BaseClasses_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 7.0.3-maint.7.0.x/package.mo): time 1.212/1.212, allocations: 249.4 MB / 256.7 MB, free: 15.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001121/0.001121, allocations: 184.8 kB / 316 MB, free: 7.242 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.476/1.476, allocations: 205.1 MB / 0.5667 GB, free: 23.59 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000827/0.000827, allocations: 86.27 kB / 0.671 GB, free: 0.9023 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.2456/0.2465, allocations: 112.5 MB / 0.7808 GB, free: 336 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4488/0.6953, allocations: 106.3 MB / 0.8846 GB, free: 76.18 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1508/0.8461, allocations: 130.6 MB / 1.012 GB, free: 9.41 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002233/0.8464, allocations: 75.94 kB / 1.012 GB, free: 9.336 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.002337/0.8487, allocations: 0.8593 MB / 1.013 GB, free: 8.434 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.8488, allocations: 11.98 kB / 1.013 GB, free: 8.422 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.754e-05/0.8488, allocations: 0 / 1.013 GB, free: 8.422 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.849, allocations: 167.1 kB / 1.013 GB, free: 8.219 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.849, allocations: 0 / 1.013 GB, free: 8.219 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.278e-06/0.849, allocations: 3.906 kB / 1.013 GB, free: 8.215 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.209e-05/0.849, allocations: 4 kB / 1.013 GB, free: 8.211 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.778e-05/0.8491, allocations: 29.7 kB / 1.013 GB, free: 8.176 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.8491, allocations: 4 kB / 1.013 GB, free: 8.172 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.8491, allocations: 3.984 kB / 1.013 GB, free: 8.168 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.8491, allocations: 4 kB / 1.013 GB, free: 8.164 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001428/0.8493, allocations: 138.1 kB / 1.013 GB, free: 7.992 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 4.126e-05/0.8493, allocations: 18.61 kB / 1.013 GB, free: 7.965 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.369e-05/0.8494, allocations: 12.92 kB / 1.013 GB, free: 7.949 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005698/0.8499, allocations: 0.6013 MB / 1.014 GB, free: 7.219 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.85, allocations: 38.47 kB / 1.014 GB, free: 7.172 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.85, allocations: 0 / 1.014 GB, free: 7.172 MB / 0.6667 GB Notification: Performance of matching and sorting (n=2): time 0.000132/0.8501, allocations: 29.7 kB / 1.014 GB, free: 7.137 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.344e-05/0.8502, allocations: 59.39 kB / 1.014 GB, free: 7.066 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.334e-05/0.8502, allocations: 89 kB / 1.014 GB, free: 6.973 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.8502, allocations: 33.73 kB / 1.014 GB, free: 6.934 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 2.012e-05/0.8503, allocations: 84.08 kB / 1.014 GB, free: 6.848 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 1.909e-05/0.8503, allocations: 7.844 kB / 1.014 GB, free: 6.84 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.044e-06/0.8503, allocations: 0 / 1.014 GB, free: 6.84 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 9.614e-05/0.8504, allocations: 314.8 kB / 1.015 GB, free: 6.523 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.829e-06/0.8504, allocations: 4 kB / 1.015 GB, free: 6.52 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.422e-06/0.8504, allocations: 0 / 1.015 GB, free: 6.52 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.966e-05/0.8505, allocations: 7.984 kB / 1.015 GB, free: 6.512 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.8505, allocations: 0 / 1.015 GB, free: 6.512 MB / 0.6667 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.136e-05/0.8505, allocations: 41.67 kB / 1.015 GB, free: 6.465 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.177e-06/0.8506, allocations: 4 kB / 1.015 GB, free: 6.461 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.8506, allocations: 0 / 1.015 GB, free: 6.461 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.8506, allocations: 4 kB / 1.015 GB, free: 6.457 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.371e-05/0.8506, allocations: 0 / 1.015 GB, free: 6.457 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.8506, allocations: 0 / 1.015 GB, free: 6.457 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.999e-05/0.8507, allocations: 4 kB / 1.015 GB, free: 6.453 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.069e-06/0.8507, allocations: 3.984 kB / 1.015 GB, free: 6.449 MB / 0.6667 GB 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 (2): * Single equations (assignments): 2 * 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.163e-05/0.8507, allocations: 101 kB / 1.015 GB, free: 6.344 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.077e-06/0.8507, allocations: 7.938 kB / 1.015 GB, free: 6.336 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001005/0.8509, allocations: 56.89 kB / 1.015 GB, free: 6.277 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.8509, allocations: 3.938 kB / 1.015 GB, free: 6.273 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.8509, allocations: 0 / 1.015 GB, free: 6.273 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.8509, allocations: 0 / 1.015 GB, free: 6.273 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.488e-05/0.851, allocations: 130.2 kB / 1.015 GB, free: 6.109 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.851, allocations: 0 / 1.015 GB, free: 6.109 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.244e-05/0.851, allocations: 3.984 kB / 1.015 GB, free: 6.105 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.851, allocations: 7.906 kB / 1.015 GB, free: 6.098 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.139e-06/0.851, allocations: 7.969 kB / 1.015 GB, free: 6.09 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.851, allocations: 0 / 1.015 GB, free: 6.09 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.851, allocations: 0 / 1.015 GB, free: 6.09 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.278e-05/0.8511, allocations: 57.08 kB / 1.015 GB, free: 6.016 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001853/0.8513, allocations: 449.5 kB / 1.016 GB, free: 5.555 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 4.004e-05/0.8513, allocations: 81.11 kB / 1.016 GB, free: 5.457 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.8514, allocations: 3.906 kB / 1.016 GB, free: 5.453 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.874e-05/0.8514, allocations: 3.984 kB / 1.016 GB, free: 5.449 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.219e-05/0.8514, allocations: 4 kB / 1.016 GB, free: 5.445 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.8514, allocations: 0 / 1.016 GB, free: 5.445 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3.62e-05/0.8515, allocations: 79.45 kB / 1.016 GB, free: 5.367 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0007178/0.8522, allocations: 12 kB / 1.016 GB, free: 5.355 MB / 0.6667 GB 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 (2): * Single equations (assignments): 2 * 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.0001556/0.8523, allocations: 123.2 kB / 1.016 GB, free: 5.223 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 5.48e-05/0.8524, allocations: 7.938 kB / 1.016 GB, free: 5.215 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.8524, allocations: 0 / 1.016 GB, free: 5.215 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 1.034e-05/0.8524, allocations: 8 kB / 1.016 GB, free: 5.207 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001396/0.8526, allocations: 4 kB / 1.016 GB, free: 5.203 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001791/0.8528, allocations: 51.92 kB / 1.016 GB, free: 5.129 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002495/0.853, allocations: 0.688 MB / 1.017 GB, free: 4.414 MB / 0.6667 GB Notification: Performance of SimCode: time 2.6e-07/0.853, allocations: 4.125 kB / 1.017 GB, free: 4.41 MB / 0.6667 GB (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)