Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise",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/BuildingSystems 2.0.0-master/package.mo): time 0.7432/0.7432, allocations: 141.8 MB / 149.1 MB, free: 12.2 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 182.8 kB / 182 MB, free: 8.98 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 221.4 MB / 436 MB, free: 1.328 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009971/0.0009973, allocations: 98.2 kB / 0.507 GB, free: 10.24 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001915/0.001915, allocations: 267.6 kB / 0.5884 GB, free: 7.082 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 0.2342/0.2362, allocations: 89.65 MB / 0.676 GB, free: 13.34 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4701/0.7063, allocations: 82.77 MB / 0.7568 GB, free: 138.3 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1251/0.8314, allocations: 108.9 MB / 0.8632 GB, free: 29.18 MB / 0.5575 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002131/0.8317, allocations: 88.59 kB / 0.8633 GB, free: 29.09 MB / 0.5575 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.007451/0.8392, allocations: 2.078 MB / 0.8653 GB, free: 27.01 MB / 0.5575 GB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/0.8392, allocations: 9.25 kB / 0.8653 GB, free: 27 MB / 0.5575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.907e-05/0.8393, allocations: 8.594 kB / 0.8653 GB, free: 26.99 MB / 0.5575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.8394, allocations: 163.5 kB / 0.8655 GB, free: 26.79 MB / 0.5575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.8394, allocations: 0 / 0.8655 GB, free: 26.79 MB / 0.5575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/0.8395, allocations: 4.438 kB / 0.8655 GB, free: 26.79 MB / 0.5575 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.733e-05/0.8395, allocations: 9.094 kB / 0.8655 GB, free: 26.78 MB / 0.5575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.307e-05/0.8396, allocations: 29.7 kB / 0.8655 GB, free: 26.75 MB / 0.5575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.8396, allocations: 0.5 kB / 0.8655 GB, free: 26.75 MB / 0.5575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.8396, allocations: 0 / 0.8655 GB, free: 26.75 MB / 0.5575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.8397, allocations: 0.6562 kB / 0.8655 GB, free: 26.75 MB / 0.5575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001657/0.8398, allocations: 139 kB / 0.8657 GB, free: 26.57 MB / 0.5575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.888e-05/0.8399, allocations: 23.08 kB / 0.8657 GB, free: 26.54 MB / 0.5575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.692e-05/0.8399, allocations: 5.516 kB / 0.8657 GB, free: 26.54 MB / 0.5575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003971/0.8404, allocations: 407 kB / 0.8661 GB, free: 26.05 MB / 0.5575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.8404, allocations: 42.5 kB / 0.8661 GB, free: 26 MB / 0.5575 GB Notification: Performance of pre-optimization done (n=2): time 1.253e-06/0.8404, allocations: 0 / 0.8661 GB, free: 26 MB / 0.5575 GB Notification: Performance of matching and sorting (n=2): time 0.0002527/0.8407, allocations: 41.69 kB / 0.8662 GB, free: 25.95 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/0.8407, allocations: 51.41 kB / 0.8662 GB, free: 25.89 MB / 0.5575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.387e-05/0.8408, allocations: 85 kB / 0.8663 GB, free: 25.8 MB / 0.5575 GB Notification: Performance of collectPreVariables (initialization): time 1.045e-05/0.8408, allocations: 25.7 kB / 0.8663 GB, free: 25.77 MB / 0.5575 GB Notification: Performance of collectInitialEqns (initialization): time 1.905e-05/0.8408, allocations: 84.3 kB / 0.8664 GB, free: 25.68 MB / 0.5575 GB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.8409, allocations: 7.906 kB / 0.8664 GB, free: 25.67 MB / 0.5575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-06/0.8409, allocations: 0 / 0.8664 GB, free: 25.67 MB / 0.5575 GB Notification: Performance of setup shared object (initialization): time 7.468e-05/0.841, allocations: 318.8 kB / 0.8667 GB, free: 25.35 MB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.178e-05/0.841, allocations: 4 kB / 0.8667 GB, free: 25.35 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.107e-06/0.841, allocations: 0 / 0.8667 GB, free: 25.35 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.15e-05/0.8411, allocations: 4 kB / 0.8667 GB, free: 25.34 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.8411, allocations: 0 / 0.8667 GB, free: 25.34 MB / 0.5575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001095/0.8412, allocations: 49.47 kB / 0.8668 GB, free: 25.29 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.8412, allocations: 12.09 kB / 0.8668 GB, free: 25.28 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.8413, allocations: 0 / 0.8668 GB, free: 25.28 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.8413, allocations: 0 / 0.8668 GB, free: 25.28 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.454e-05/0.8413, allocations: 4 kB / 0.8668 GB, free: 25.27 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.8413, allocations: 2.969 kB / 0.8668 GB, free: 25.27 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.622e-05/0.8414, allocations: 0 / 0.8668 GB, free: 25.27 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.8414, allocations: 0 / 0.8668 GB, free: 25.27 MB / 0.5575 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 4.991e-05/0.8414, allocations: 101 kB / 0.8669 GB, free: 25.17 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.875e-06/0.8414, allocations: 3.906 kB / 0.8669 GB, free: 25.16 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001444/0.8416, allocations: 59.45 kB / 0.8669 GB, free: 25.11 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-06/0.8416, allocations: 0 / 0.8669 GB, free: 25.11 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.8416, allocations: 3.938 kB / 0.8669 GB, free: 25.1 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.8416, allocations: 3.984 kB / 0.8669 GB, free: 25.1 MB / 0.5575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.303e-05/0.8417, allocations: 130.2 kB / 0.8671 GB, free: 24.93 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.8417, allocations: 0 / 0.8671 GB, free: 24.93 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.121e-05/0.8417, allocations: 4 kB / 0.8671 GB, free: 24.93 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.8417, allocations: 0 / 0.8671 GB, free: 24.93 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.506e-05/0.8418, allocations: 0 / 0.8671 GB, free: 24.93 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.8418, allocations: 0 / 0.8671 GB, free: 24.93 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.8418, allocations: 3.984 kB / 0.8671 GB, free: 24.93 MB / 0.5575 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001103/0.8419, allocations: 69.08 kB / 0.8671 GB, free: 24.84 MB / 0.5575 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001498/0.8421, allocations: 445.5 kB / 0.8676 GB, free: 24.38 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.143e-05/0.8421, allocations: 92.94 kB / 0.8677 GB, free: 24.27 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.451e-05/0.8421, allocations: 4.062 kB / 0.8677 GB, free: 24.27 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.258e-05/0.8421, allocations: 0 / 0.8677 GB, free: 24.27 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.162e-05/0.8422, allocations: 0 / 0.8677 GB, free: 24.27 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.8422, allocations: 0 / 0.8677 GB, free: 24.27 MB / 0.5575 GB Notification: Performance of sort global known variables: time 1.892e-05/0.8422, allocations: 79.28 kB / 0.8677 GB, free: 24.19 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.0009197/0.8431, allocations: 24 kB / 0.8678 GB, free: 24.17 MB / 0.5575 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.0002521/0.8434, allocations: 131.1 kB / 0.8679 GB, free: 24.03 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 7.772e-05/0.8435, allocations: 12.09 kB / 0.8679 GB, free: 24.02 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.8435, allocations: 4.062 kB / 0.8679 GB, free: 24.02 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 9.417e-06/0.8435, allocations: 4 kB / 0.8679 GB, free: 24.01 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001307/0.8436, allocations: 3.938 kB / 0.8679 GB, free: 24.01 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002295/0.8439, allocations: 55.91 kB / 0.868 GB, free: 23.93 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001775/0.8441, allocations: 0.6841 MB / 0.8686 GB, free: 23.22 MB / 0.5575 GB Notification: Performance of SimCode: time 2.71e-07/0.8441, allocations: 0 / 0.8686 GB, free: 23.22 MB / 0.5575 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe 2>&1)