Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.Orifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.407/2.407, allocations: 284.8 MB / 292.1 MB, free: 10.76 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.001588/0.001587, allocations: 195.4 kB / 360.3 MB, free: 7.523 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.76/1.76, allocations: 205.1 MB / 0.6187 GB, free: 13.22 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.001215/0.001214, allocations: 86.2 kB / 0.7317 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2496/0.2508, allocations: 121.4 MB / 0.8502 GB, free: 3.93 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5696/0.8205, allocations: 115.2 MB / 0.9627 GB, free: 78.5 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.787/5.608, allocations: 2.064 GB / 3.027 GB, free: 273.2 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000311/5.608, allocations: 83.23 kB / 3.027 GB, free: 273.2 MB / 0.9323 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 1.557/7.165, allocations: 355.2 MB / 3.374 GB, free: 243.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/7.165, allocations: 11.88 kB / 3.374 GB, free: 243.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002131/7.167, allocations: 189.8 kB / 3.374 GB, free: 243.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009057/7.168, allocations: 407.3 kB / 3.374 GB, free: 243.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/7.168, allocations: 11.12 kB / 3.374 GB, free: 243.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.263e-05/7.168, allocations: 19.84 kB / 3.374 GB, free: 243.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007132/7.169, allocations: 259.5 kB / 3.374 GB, free: 243.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007279/7.17, allocations: 341.8 kB / 3.375 GB, free: 243.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/7.17, allocations: 7.281 kB / 3.375 GB, free: 243.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.605e-05/7.17, allocations: 0 / 3.375 GB, free: 243.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/7.17, allocations: 7.812 kB / 3.375 GB, free: 243.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002601/7.172, allocations: 1.623 MB / 3.376 GB, free: 242.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000623/7.173, allocations: 251.4 kB / 3.377 GB, free: 242.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002778/7.173, allocations: 124.5 kB / 3.377 GB, free: 242.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001254/7.174, allocations: 1.036 MB / 3.378 GB, free: 241.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/7.175, allocations: 34.94 kB / 3.378 GB, free: 241.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=25): time 2.485e-06/7.175, allocations: 0 / 3.378 GB, free: 241.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=25): time 0.001693/7.176, allocations: 315.8 kB / 3.378 GB, free: 241.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.286e-05/7.176, allocations: 55.06 kB / 3.378 GB, free: 241.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003504/7.177, allocations: 258.4 kB / 3.378 GB, free: 241.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.933e-05/7.177, allocations: 29.27 kB / 3.378 GB, free: 241.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 8.041e-05/7.177, allocations: 178.6 kB / 3.378 GB, free: 241 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.105e-05/7.177, allocations: 85.58 kB / 3.379 GB, free: 241 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.558e-05/7.177, allocations: 0 / 3.379 GB, free: 241 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.091e-05/7.177, allocations: 343.1 kB / 3.379 GB, free: 240.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001679/7.177, allocations: 56.28 kB / 3.379 GB, free: 240.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000212/7.177, allocations: 115.1 kB / 3.379 GB, free: 240.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005116/7.178, allocations: 131.9 kB / 3.379 GB, free: 240.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/7.178, allocations: 6.656 kB / 3.379 GB, free: 240.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008423/7.179, allocations: 275.9 kB / 3.379 GB, free: 240.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/7.179, allocations: 4.75 kB / 3.379 GB, free: 240.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/7.179, allocations: 3.188 kB / 3.379 GB, free: 240.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/7.179, allocations: 11.38 kB / 3.379 GB, free: 240.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004376/7.179, allocations: 57.34 kB / 3.38 GB, free: 240.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/7.179, allocations: 0 / 3.38 GB, free: 240.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004301/7.18, allocations: 31.45 kB / 3.38 GB, free: 240.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-05/7.18, allocations: 14.38 kB / 3.38 GB, free: 240.5 MB / 0.948 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 9.063e-05/7.18, allocations: 108.2 kB / 3.38 GB, free: 240.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.285e-05/7.18, allocations: 36.22 kB / 3.38 GB, free: 240.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009572/7.181, allocations: 295 kB / 3.38 GB, free: 240.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/7.181, allocations: 7.281 kB / 3.38 GB, free: 240.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/7.181, allocations: 0 / 3.38 GB, free: 240.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.533e-06/7.181, allocations: 3.797 kB / 3.38 GB, free: 240.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001781/7.183, allocations: 0.7896 MB / 3.381 GB, free: 240 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/7.183, allocations: 3.375 kB / 3.381 GB, free: 240 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004595/7.183, allocations: 57.62 kB / 3.381 GB, free: 240 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.295e-06/7.183, allocations: 3.875 kB / 3.381 GB, free: 240 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.732e-05/7.183, allocations: 3.938 kB / 3.381 GB, free: 240 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/7.183, allocations: 0.9375 kB / 3.381 GB, free: 240 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/7.183, allocations: 8.219 kB / 3.381 GB, free: 240 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001108/7.185, allocations: 0.6079 MB / 3.381 GB, free: 239.7 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001593/7.186, allocations: 1.136 MB / 3.383 GB, free: 239 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001997/7.186, allocations: 143.5 kB / 3.383 GB, free: 238.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.912e-05/7.186, allocations: 3.938 kB / 3.383 GB, free: 238.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000565/7.187, allocations: 30.31 kB / 3.383 GB, free: 238.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.672e-05/7.187, allocations: 23.84 kB / 3.383 GB, free: 238.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-05/7.187, allocations: 14.92 kB / 3.383 GB, free: 238.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0002616/7.187, allocations: 206.3 kB / 3.383 GB, free: 238.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002061/7.189, allocations: 340.2 kB / 3.383 GB, free: 238.8 MB / 0.948 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.002054/7.192, allocations: 1.374 MB / 3.385 GB, free: 238.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0005326/7.192, allocations: 164.5 kB / 3.385 GB, free: 238.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/7.192, allocations: 3.562 kB / 3.385 GB, free: 238.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002344/7.192, allocations: 100.5 kB / 3.385 GB, free: 238.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001404/7.194, allocations: 144.2 kB / 3.385 GB, free: 238.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001892/7.196, allocations: 0.673 MB / 3.386 GB, free: 238.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000484/7.196, allocations: 0.873 MB / 3.387 GB, free: 237.5 MB / 0.948 GB Notification: Performance of SimCode: time 8.92e-07/7.196, allocations: 0 / 3.387 GB, free: 237.5 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_Orifice.fmu > Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1)