Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.403/1.403, allocations: 289.8 MB / 297.1 MB, free: 6.641 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000947/0.000947, allocations: 173.3 kB / 366.3 MB, free: 1.957 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.107/1.107, allocations: 205.1 MB / 0.6256 GB, free: 5.805 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008096/0.0008096, allocations: 85.06 kB / 0.7395 GB, free: 39.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2189/0.2198, allocations: 122.4 MB / 0.8591 GB, free: 13.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.493/0.7128, allocations: 116.3 MB / 0.9727 GB, free: 68.18 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1466/0.8595, allocations: 137.9 MB / 1.107 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002308/0.8598, allocations: 77.42 kB / 1.107 GB, free: 10.47 MB / 0.7136 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.002287/0.8621, allocations: 0.8423 MB / 1.108 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.8621, allocations: 19.98 kB / 1.108 GB, free: 9.582 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.272e-05/0.8622, allocations: 0 / 1.108 GB, free: 9.582 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.8623, allocations: 163 kB / 1.108 GB, free: 9.383 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.8623, allocations: 0 / 1.108 GB, free: 9.383 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.915e-06/0.8623, allocations: 4.75 kB / 1.108 GB, free: 9.379 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.841e-05/0.8624, allocations: 0.6875 kB / 1.108 GB, free: 9.379 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.255e-05/0.8624, allocations: 37.69 kB / 1.108 GB, free: 9.336 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.8624, allocations: 3.938 kB / 1.108 GB, free: 9.332 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.8624, allocations: 2.625 kB / 1.108 GB, free: 9.332 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.8625, allocations: 0 / 1.108 GB, free: 9.332 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001358/0.8626, allocations: 138.1 kB / 1.109 GB, free: 9.16 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.511e-05/0.8626, allocations: 22.61 kB / 1.109 GB, free: 9.129 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.876e-05/0.8627, allocations: 9.859 kB / 1.109 GB, free: 9.117 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006097/0.8633, allocations: 0.6052 MB / 1.109 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.8633, allocations: 31.25 kB / 1.109 GB, free: 8.344 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.8633, allocations: 0 / 1.109 GB, free: 8.344 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001739/0.8635, allocations: 33.7 kB / 1.109 GB, free: 8.305 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.806e-05/0.8636, allocations: 59.33 kB / 1.109 GB, free: 8.234 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.781e-05/0.8636, allocations: 93 kB / 1.109 GB, free: 8.137 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.8636, allocations: 25.7 kB / 1.109 GB, free: 8.105 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.988e-05/0.8637, allocations: 84.17 kB / 1.109 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.912e-05/0.8637, allocations: 7.844 kB / 1.109 GB, free: 8.012 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.385e-06/0.8637, allocations: 0.6562 kB / 1.109 GB, free: 8.012 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.8639, allocations: 322.8 kB / 1.11 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.779e-06/0.8639, allocations: 0 / 1.11 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.344e-06/0.8639, allocations: 4 kB / 1.11 GB, free: 7.684 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.078e-05/0.8639, allocations: 3.984 kB / 1.11 GB, free: 7.68 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.8639, allocations: 0 / 1.11 GB, free: 7.68 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.82e-05/0.864, allocations: 33.7 kB / 1.11 GB, free: 7.641 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.864, allocations: 12.66 kB / 1.11 GB, free: 7.629 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.864, allocations: 0 / 1.11 GB, free: 7.629 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.8641, allocations: 0 / 1.11 GB, free: 7.629 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.237e-05/0.8641, allocations: 7.938 kB / 1.11 GB, free: 7.621 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.8641, allocations: 2.344 kB / 1.11 GB, free: 7.621 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.893e-05/0.8641, allocations: 0.6875 kB / 1.11 GB, free: 7.621 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-06/0.8642, allocations: 0.9375 kB / 1.11 GB, free: 7.621 MB / 0.7136 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 6.984e-05/0.8642, allocations: 113.7 kB / 1.11 GB, free: 7.504 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.387e-06/0.8642, allocations: 8 kB / 1.11 GB, free: 7.496 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001074/0.8644, allocations: 41.02 kB / 1.11 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.8644, allocations: 3.984 kB / 1.11 GB, free: 7.441 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.8644, allocations: 0 / 1.11 GB, free: 7.441 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.8644, allocations: 4.719 kB / 1.11 GB, free: 7.438 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.358e-05/0.8645, allocations: 130.2 kB / 1.11 GB, free: 7.273 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.8645, allocations: 0 / 1.11 GB, free: 7.273 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.282e-05/0.8645, allocations: 4 kB / 1.11 GB, free: 7.27 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.706e-06/0.8645, allocations: 4.547 kB / 1.11 GB, free: 7.266 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.8645, allocations: 0.9375 kB / 1.11 GB, free: 7.266 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.8645, allocations: 0 / 1.11 GB, free: 7.266 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.8645, allocations: 4.031 kB / 1.11 GB, free: 7.262 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.554e-05/0.8646, allocations: 64.98 kB / 1.11 GB, free: 7.18 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001531/0.8648, allocations: 445.4 kB / 1.111 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.964e-05/0.8648, allocations: 81.92 kB / 1.111 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.12e-05/0.8648, allocations: 4 kB / 1.111 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.02e-05/0.8649, allocations: 4.609 kB / 1.111 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.24e-05/0.8649, allocations: 0 / 1.111 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.8649, allocations: 0 / 1.111 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.796e-05/0.8649, allocations: 79.28 kB / 1.111 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007132/0.8656, allocations: 19.91 kB / 1.111 GB, free: 6.52 MB / 0.7136 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.000173/0.8658, allocations: 115.2 kB / 1.111 GB, free: 6.395 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.108e-05/0.8659, allocations: 17.16 kB / 1.111 GB, free: 6.379 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.8659, allocations: 0 / 1.111 GB, free: 6.379 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.958e-06/0.8659, allocations: 8 kB / 1.111 GB, free: 6.371 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001491/0.8661, allocations: 4 kB / 1.111 GB, free: 6.367 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001688/0.8662, allocations: 51.92 kB / 1.111 GB, free: 6.293 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002306/0.8665, allocations: 0.6841 MB / 1.112 GB, free: 5.582 MB / 0.7136 GB Notification: Performance of SimCode: time 2.6e-07/0.8665, allocations: 3.938 kB / 1.112 GB, free: 5.578 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)