Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.311/1.311, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.0009731/0.0009731, allocations: 189.2 kB / 361.1 MB, free: 7.105 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.019/1.019, allocations: 205.1 MB / 0.6195 GB, free: 10.31 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.0007648/0.0007648, allocations: 93.03 kB / 0.7325 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1706/0.1714, allocations: 121.4 MB / 0.8512 GB, free: 2.898 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4048/0.5763, allocations: 115.3 MB / 0.9638 GB, free: 78.26 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1284/0.7047, allocations: 136.9 MB / 1.097 GB, free: 3.168 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002123/0.705, allocations: 76.8 kB / 1.098 GB, free: 3.094 MB / 0.698 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.002177/0.7072, allocations: 0.8565 MB / 1.098 GB, free: 2.23 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.7072, allocations: 8.5 kB / 1.098 GB, free: 2.223 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.325e-05/0.7073, allocations: 2.188 kB / 1.098 GB, free: 2.223 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.7074, allocations: 167 kB / 1.099 GB, free: 2.02 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-06/0.7074, allocations: 0.7969 kB / 1.099 GB, free: 2.02 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.793e-06/0.7074, allocations: 0 / 1.099 GB, free: 2.02 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.46e-05/0.7074, allocations: 4 kB / 1.099 GB, free: 2.016 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.382e-05/0.7075, allocations: 38.94 kB / 1.099 GB, free: 1.973 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.759e-06/0.7075, allocations: 4 kB / 1.099 GB, free: 1.969 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.312e-06/0.7075, allocations: 0 / 1.099 GB, free: 1.969 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.427e-06/0.7075, allocations: 0.9375 kB / 1.099 GB, free: 1.969 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001098/0.7076, allocations: 127.2 kB / 1.099 GB, free: 1.809 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.055e-05/0.7077, allocations: 31.44 kB / 1.099 GB, free: 1.77 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.256e-05/0.7077, allocations: 5.547 kB / 1.099 GB, free: 1.762 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005659/0.7083, allocations: 0.5997 MB / 1.099 GB, free: 1.039 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/0.7083, allocations: 33.23 kB / 1.099 GB, free: 1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.624e-06/0.7083, allocations: 1.359 kB / 1.099 GB, free: 1 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001261/0.7085, allocations: 42.31 kB / 1.099 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.371e-05/0.7085, allocations: 55.41 kB / 1.099 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.597e-05/0.7085, allocations: 89.81 kB / 1.1 GB, free: 0.793 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.398e-06/0.7086, allocations: 26.33 kB / 1.1 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.108e-05/0.7086, allocations: 80.14 kB / 1.1 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.141e-05/0.7086, allocations: 12.72 kB / 1.1 GB, free: 0.668 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.144e-06/0.7086, allocations: 0 / 1.1 GB, free: 0.668 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.747e-05/0.7087, allocations: 323.4 kB / 1.1 GB, free: 352 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.216e-06/0.7087, allocations: 0.5625 kB / 1.1 GB, free: 352 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.053e-06/0.7087, allocations: 4.875 kB / 1.1 GB, free: 348 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.561e-05/0.7088, allocations: 1.969 kB / 1.1 GB, free: 348 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.7088, allocations: 4 kB / 1.1 GB, free: 344 kB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.347e-05/0.7089, allocations: 34.42 kB / 1.1 GB, free: 304 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.504e-06/0.7089, allocations: 4 kB / 1.1 GB, free: 300 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.7089, allocations: 4.672 kB / 1.1 GB, free: 296 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.965e-06/0.7089, allocations: 1.906 kB / 1.1 GB, free: 296 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.3e-05/0.709, allocations: 4 kB / 1.1 GB, free: 292 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.709, allocations: 8.594 kB / 1.1 GB, free: 284 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.713e-05/0.709, allocations: 0 / 1.1 GB, free: 284 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-06/0.709, allocations: 0.5312 kB / 1.1 GB, free: 284 kB / 0.698 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.32e-05/0.7091, allocations: 114.3 kB / 1.1 GB, free: 164 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.743e-06/0.7091, allocations: 0 / 1.1 GB, free: 164 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.248e-05/0.7092, allocations: 42.88 kB / 1.1 GB, free: 116 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.7092, allocations: 1.312 kB / 1.1 GB, free: 116 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.7092, allocations: 2.156 kB / 1.1 GB, free: 116 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.7092, allocations: 7.906 kB / 1.1 GB, free: 108 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.048e-05/0.7093, allocations: 130.7 kB / 1.1 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.7093, allocations: 0 / 1.1 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.261e-05/0.7093, allocations: 4.531 kB / 1.1 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.7093, allocations: 4.156 kB / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.719e-06/0.7093, allocations: 0 / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.7093, allocations: 0 / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.7094, allocations: 5.375 kB / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.26e-05/0.7094, allocations: 68.97 kB / 1.1 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001623/0.7096, allocations: 449.5 kB / 1.101 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.542e-05/0.7097, allocations: 77.72 kB / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.119e-05/0.7097, allocations: 0 / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.685e-05/0.7097, allocations: 0 / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.784e-06/0.7097, allocations: 0 / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-06/0.7097, allocations: 0 / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.52e-05/0.7097, allocations: 80.73 kB / 1.101 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007028/0.7104, allocations: 19.91 kB / 1.101 GB, free: 15.19 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.0001434/0.7106, allocations: 130.9 kB / 1.101 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 4.552e-05/0.7107, allocations: 12 kB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.7107, allocations: 0 / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.416e-06/0.7107, allocations: 4 kB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001342/0.7108, allocations: 14.41 kB / 1.101 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001336/0.711, allocations: 48.75 kB / 1.101 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002176/0.7112, allocations: 0.6881 MB / 1.102 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of SimCode: time 1.363e-06/0.7112, allocations: 8 kB / 1.102 GB, free: 14.24 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > Buildings_maint.8.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)