Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_Orifice",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 10.0.0-master/package.mo): time 1.843/1.843, allocations: 390.4 MB / 397.7 MB, free: 11.22 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.001085/0.001085, allocations: 193.2 kB / 490.8 MB, free: 1.934 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.151/1.151, allocations: 221.3 MB / 0.7863 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009186/0.0009185, allocations: 91.02 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4666/0.4676, allocations: 149.1 MB / 1.072 GB, free: 180.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1933/0.6609, allocations: 143 MB / 1.212 GB, free: 38.37 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.033/3.694, allocations: 1.911 GB / 3.122 GB, free: 396.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001975/3.694, allocations: 83.36 kB / 3.122 GB, free: 396.3 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.5746/4.269, allocations: 360.7 MB / 3.475 GB, free: 27.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/4.269, allocations: 8 kB / 3.475 GB, free: 27.69 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00124/4.27, allocations: 199.1 kB / 3.475 GB, free: 27.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005082/4.271, allocations: 404.1 kB / 3.475 GB, free: 27.06 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/4.271, allocations: 8 kB / 3.475 GB, free: 27.05 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.698e-05/4.271, allocations: 27.84 kB / 3.475 GB, free: 27.03 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003652/4.271, allocations: 257.2 kB / 3.475 GB, free: 26.78 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004021/4.271, allocations: 343.1 kB / 3.476 GB, free: 26.41 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/4.271, allocations: 0 / 3.476 GB, free: 26.41 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.802e-05/4.272, allocations: 4 kB / 3.476 GB, free: 26.41 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-06/4.272, allocations: 8 kB / 3.476 GB, free: 26.4 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001445/4.273, allocations: 1.635 MB / 3.477 GB, free: 24.65 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003383/4.273, allocations: 250.7 kB / 3.478 GB, free: 24.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001406/4.273, allocations: 134.3 kB / 3.478 GB, free: 24.27 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007445/4.274, allocations: 1.032 MB / 3.479 GB, free: 23.01 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.615e-05/4.274, allocations: 42.5 kB / 3.479 GB, free: 22.96 MB / 1.151 GB Notification: Performance of pre-optimization done (n=25): time 1.473e-06/4.274, allocations: 0 / 3.479 GB, free: 22.96 MB / 1.151 GB Notification: Performance of matching and sorting (n=25): time 0.0009687/4.275, allocations: 313.5 kB / 3.479 GB, free: 22.65 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.856e-05/4.275, allocations: 55.41 kB / 3.479 GB, free: 22.58 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/4.275, allocations: 258.1 kB / 3.479 GB, free: 22.32 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/4.275, allocations: 25.7 kB / 3.479 GB, free: 22.29 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 5.013e-05/4.276, allocations: 172.3 kB / 3.48 GB, free: 22.12 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 4.627e-05/4.276, allocations: 86.66 kB / 3.48 GB, free: 22.03 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.778e-06/4.276, allocations: 0 / 3.48 GB, free: 22.03 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.381e-05/4.276, allocations: 342.8 kB / 3.48 GB, free: 21.69 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.73e-05/4.276, allocations: 56.45 kB / 3.48 GB, free: 21.63 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/4.276, allocations: 110 kB / 3.48 GB, free: 21.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002869/4.276, allocations: 137.7 kB / 3.48 GB, free: 21.37 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/4.276, allocations: 0 / 3.48 GB, free: 21.37 MB / 1.151 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004588/4.277, allocations: 281.5 kB / 3.481 GB, free: 21.09 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.896e-06/4.277, allocations: 4 kB / 3.481 GB, free: 21.09 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/4.277, allocations: 3.906 kB / 3.481 GB, free: 21.09 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/4.277, allocations: 4 kB / 3.481 GB, free: 21.08 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002178/4.277, allocations: 59.94 kB / 3.481 GB, free: 21.02 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/4.277, allocations: 7.938 kB / 3.481 GB, free: 21.02 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000211/4.277, allocations: 27.83 kB / 3.481 GB, free: 20.99 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.964e-05/4.277, allocations: 8 kB / 3.481 GB, free: 20.98 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * 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.726e-05/4.277, allocations: 120.5 kB / 3.481 GB, free: 20.86 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.342e-05/4.277, allocations: 35.53 kB / 3.481 GB, free: 20.82 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005286/4.278, allocations: 296.7 kB / 3.481 GB, free: 20.53 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/4.278, allocations: 4 kB / 3.481 GB, free: 20.53 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/4.278, allocations: 0 / 3.481 GB, free: 20.53 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/4.278, allocations: 0 / 3.481 GB, free: 20.53 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009822/4.279, allocations: 0.7978 MB / 3.482 GB, free: 19.66 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/4.279, allocations: 0 / 3.482 GB, free: 19.66 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002477/4.279, allocations: 60.16 kB / 3.482 GB, free: 19.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/4.279, allocations: 0 / 3.482 GB, free: 19.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.844e-05/4.279, allocations: 4 kB / 3.482 GB, free: 19.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/4.279, allocations: 4 kB / 3.482 GB, free: 19.59 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/4.279, allocations: 7.984 kB / 3.482 GB, free: 19.59 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006011/4.28, allocations: 0.6129 MB / 3.483 GB, free: 18.88 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000858/4.281, allocations: 1.133 MB / 3.484 GB, free: 17.66 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 9.962e-05/4.281, allocations: 136.5 kB / 3.484 GB, free: 17.51 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.094e-05/4.281, allocations: 4 kB / 3.484 GB, free: 17.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002885/4.281, allocations: 27.97 kB / 3.484 GB, free: 17.48 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.157e-05/4.281, allocations: 23.83 kB / 3.484 GB, free: 17.45 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/4.281, allocations: 8 kB / 3.484 GB, free: 17.45 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.000129/4.281, allocations: 208.6 kB / 3.484 GB, free: 17.25 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001211/4.283, allocations: 339.8 kB / 3.484 GB, free: 16.91 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 3 (ori.mExc,den1.d,den2.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 25 * 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.001197/4.284, allocations: 1.369 MB / 3.486 GB, free: 15.51 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0002405/4.284, allocations: 172.3 kB / 3.486 GB, free: 15.34 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/4.284, allocations: 0 / 3.486 GB, free: 15.34 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001204/4.284, allocations: 107.9 kB / 3.486 GB, free: 15.23 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006886/4.285, allocations: 141.6 kB / 3.486 GB, free: 15.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/4.286, allocations: 0.6662 MB / 3.487 GB, free: 14.38 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002884/4.286, allocations: 0.8843 MB / 3.488 GB, free: 13.46 MB / 1.151 GB Notification: Performance of SimCode: time 8.12e-07/4.286, allocations: 0 / 3.488 GB, free: 13.46 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_Orifice.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1)