Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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) 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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_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 9.1.1-maint.9.1.x/package.mo): time 1.836/1.836, allocations: 387.2 MB / 394.5 MB, free: 13.7 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009522/0.0009522, allocations: 185.2 kB / 487 MB, free: 5.402 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.159/1.159, allocations: 221.3 MB / 0.7819 GB, free: 1.43 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008891/0.0008891, allocations: 94.69 kB / 0.9213 GB, free: 2.684 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4391/0.44, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1958/0.6358, allocations: 142.3 MB / 1.205 GB, free: 26.16 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.168/3.804, allocations: 1.911 GB / 3.116 GB, free: 358 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00021/3.804, allocations: 82.23 kB / 3.116 GB, free: 358 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 1.593/5.398, allocations: 0.6824 GB / 3.798 GB, free: 119.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/5.398, allocations: 9 kB / 3.798 GB, free: 119.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001543/5.399, allocations: 246.7 kB / 3.799 GB, free: 119 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00098/5.4, allocations: 0.6403 MB / 3.799 GB, free: 118.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/5.4, allocations: 16 kB / 3.799 GB, free: 118.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/5.4, allocations: 36 kB / 3.799 GB, free: 118.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001106/5.401, allocations: 0.8968 MB / 3.8 GB, free: 117.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001035/5.402, allocations: 0.9323 MB / 3.801 GB, free: 116.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/5.402, allocations: 7.906 kB / 3.801 GB, free: 116.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.32e-05/5.403, allocations: 0 / 3.801 GB, free: 116.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/5.403, allocations: 23.92 kB / 3.801 GB, free: 116.3 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004253/5.407, allocations: 4.526 MB / 3.806 GB, free: 111.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006685/5.407, allocations: 0.6086 MB / 3.806 GB, free: 111 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005215/5.408, allocations: 0.5137 MB / 3.807 GB, free: 110.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000771/5.409, allocations: 1.045 MB / 3.808 GB, free: 109.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.976e-05/5.409, allocations: 42.94 kB / 3.808 GB, free: 109.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=52): time 1.963e-06/5.409, allocations: 0 / 3.808 GB, free: 109.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=52): time 0.01115/5.42, allocations: 2.524 MB / 3.81 GB, free: 106.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.482e-05/5.42, allocations: 55.84 kB / 3.81 GB, free: 106.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005725/5.421, allocations: 442.5 kB / 3.811 GB, free: 106.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001271/5.421, allocations: 25.7 kB / 3.811 GB, free: 106.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 8.773e-05/5.421, allocations: 232.7 kB / 3.811 GB, free: 105.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001508/5.421, allocations: 177.3 kB / 3.811 GB, free: 105.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.105e-05/5.421, allocations: 8 kB / 3.811 GB, free: 105.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.539e-05/5.421, allocations: 370.7 kB / 3.811 GB, free: 105.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004335/5.422, allocations: 372.8 kB / 3.812 GB, free: 104.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004519/5.422, allocations: 453.7 kB / 3.812 GB, free: 104.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000699/5.423, allocations: 456.5 kB / 3.813 GB, free: 104 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/5.423, allocations: 4 kB / 3.813 GB, free: 104 MB / 1.151 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01081/5.434, allocations: 2.501 MB / 3.815 GB, free: 101.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/5.434, allocations: 7.984 kB / 3.815 GB, free: 101.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/5.434, allocations: 0 / 3.815 GB, free: 101.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009263/5.443, allocations: 1.656 MB / 3.817 GB, free: 99.81 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005083/5.443, allocations: 99.8 kB / 3.817 GB, free: 99.71 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01022/5.454, allocations: 6.179 MB / 3.823 GB, free: 93.29 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009088/5.455, allocations: 47.52 kB / 3.823 GB, free: 93.25 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.99e-05/5.455, allocations: 51.92 kB / 3.823 GB, free: 93.2 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 44 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,100.0%) 4,(5,92.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001654/5.455, allocations: 116.9 kB / 3.823 GB, free: 93.07 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/5.455, allocations: 71.16 kB / 3.823 GB, free: 93 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004883/5.46, allocations: 1.695 MB / 3.825 GB, free: 91.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/5.46, allocations: 11.98 kB / 3.825 GB, free: 91.29 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.381e-06/5.46, allocations: 4 kB / 3.825 GB, free: 91.28 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/5.46, allocations: 0 / 3.825 GB, free: 91.28 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005244/5.465, allocations: 2.426 MB / 3.827 GB, free: 88.78 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/5.465, allocations: 8.25 kB / 3.827 GB, free: 88.77 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004339/5.466, allocations: 103.8 kB / 3.827 GB, free: 88.67 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003297/5.469, allocations: 0.7158 MB / 3.828 GB, free: 87.95 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.094e-05/5.469, allocations: 4 kB / 3.828 GB, free: 87.94 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005151/5.474, allocations: 4.265 MB / 3.832 GB, free: 83.44 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/5.474, allocations: 8 kB / 3.832 GB, free: 83.43 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004673/5.479, allocations: 2.165 MB / 3.834 GB, free: 81.17 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005465/5.484, allocations: 3.158 MB / 3.837 GB, free: 77.91 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003767/5.485, allocations: 220 kB / 3.838 GB, free: 77.68 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/5.485, allocations: 7.906 kB / 3.838 GB, free: 77.67 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005926/5.486, allocations: 27.97 kB / 3.838 GB, free: 77.64 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/5.486, allocations: 36.44 kB / 3.838 GB, free: 77.61 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.102e-05/5.486, allocations: 27.91 kB / 3.838 GB, free: 77.58 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003521/5.486, allocations: 346.9 kB / 3.838 GB, free: 77.24 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002103/5.488, allocations: 0.6051 MB / 3.839 GB, free: 76.64 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (pow_m_flow.mExc,pow_V_flow.mExc,pow_1dat.mExc,pow_2dat.mExc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 49 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,92.0%) 3,(4,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001931/5.49, allocations: 1.944 MB / 3.84 GB, free: 74.62 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002562/5.493, allocations: 1.242 MB / 3.842 GB, free: 73.36 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/5.493, allocations: 4.25 kB / 3.842 GB, free: 73.35 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.00135/5.494, allocations: 0.8136 MB / 3.842 GB, free: 72.52 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0014/5.495, allocations: 315.1 kB / 3.843 GB, free: 72.21 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002318/5.498, allocations: 1.349 MB / 3.844 GB, free: 70.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005274/5.498, allocations: 1.052 MB / 3.845 GB, free: 69.73 MB / 1.151 GB Notification: Performance of SimCode: time 1.242e-06/5.498, allocations: 4 kB / 3.845 GB, free: 69.72 MB / 1.151 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_PowerLaw.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1)