Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.Examples.Orifice.conf.json 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/IDEAS 3.0.0-master/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.Orifice,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.Orifice,fileNamePrefix="IDEAS_IDEAS_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/Complex 4.0.0+maint.om/package.mo): time 0.004176/0.004177, allocations: 176.9 kB / 7.454 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7868/0.7868, allocations: 133.5 MB / 141.4 MB, free: 15.67 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.721/1.721, allocations: 221.3 MB / 395 MB, free: 10.11 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 95.8 kB / 477.8 MB, free: 10.66 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5765/0.5777, allocations: 88.42 MB / 0.5529 GB, free: 89.16 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.822, allocations: 82.3 MB / 0.6333 GB, free: 13.86 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.629/5.451, allocations: 1.873 GB / 2.506 GB, free: 89.94 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002781/5.452, allocations: 87.95 kB / 2.506 GB, free: 89.85 MB / 0.6823 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.077/6.528, allocations: 360.7 MB / 2.858 GB, free: 2.301 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/6.528, allocations: 8 kB / 2.858 GB, free: 2.293 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001464/6.53, allocations: 183.2 kB / 2.859 GB, free: 2.113 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000668/6.531, allocations: 412 kB / 2.859 GB, free: 1.664 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/6.531, allocations: 16 kB / 2.859 GB, free: 1.648 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.67e-05/6.531, allocations: 20 kB / 2.859 GB, free: 1.629 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004103/6.531, allocations: 257.2 kB / 2.859 GB, free: 1.379 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004439/6.531, allocations: 339.2 kB / 2.86 GB, free: 1.023 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/6.531, allocations: 3.984 kB / 2.86 GB, free: 1.02 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.968e-05/6.532, allocations: 0 / 2.86 GB, free: 1.02 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/6.532, allocations: 12 kB / 2.86 GB, free: 1.008 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3087/6.84, allocations: 1.64 MB / 2.861 GB, free: 227 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004692/6.841, allocations: 247.1 kB / 2.861 GB, free: 227 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001714/6.841, allocations: 124.9 kB / 2.862 GB, free: 226.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00091/6.842, allocations: 1.038 MB / 2.863 GB, free: 225.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/6.842, allocations: 43.59 kB / 2.863 GB, free: 225.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=25): time 2.765e-06/6.842, allocations: 3.406 kB / 2.863 GB, free: 225.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=25): time 0.001171/6.843, allocations: 314.1 kB / 2.863 GB, free: 225.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/6.843, allocations: 51.41 kB / 2.863 GB, free: 225.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002818/6.843, allocations: 255 kB / 2.863 GB, free: 225.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.82e-05/6.843, allocations: 28.8 kB / 2.863 GB, free: 225.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.468e-05/6.844, allocations: 174.5 kB / 2.863 GB, free: 225.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.771e-05/6.844, allocations: 85.38 kB / 2.863 GB, free: 225.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.123e-05/6.844, allocations: 0 / 2.863 GB, free: 225.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001039/6.844, allocations: 343.2 kB / 2.864 GB, free: 225.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.599e-05/6.844, allocations: 58.47 kB / 2.864 GB, free: 225.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/6.844, allocations: 114.8 kB / 2.864 GB, free: 225.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000316/6.844, allocations: 128.3 kB / 2.864 GB, free: 225.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/6.844, allocations: 0 / 2.864 GB, free: 225.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005019/6.845, allocations: 275.9 kB / 2.864 GB, free: 225 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/6.845, allocations: 7.844 kB / 2.864 GB, free: 225 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/6.845, allocations: 0 / 2.864 GB, free: 225 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/6.845, allocations: 3.906 kB / 2.864 GB, free: 225 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002364/6.845, allocations: 60.3 kB / 2.864 GB, free: 225 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/6.845, allocations: 0 / 2.864 GB, free: 225 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002844/6.845, allocations: 35.19 kB / 2.864 GB, free: 225 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.527e-05/6.846, allocations: 11.25 kB / 2.864 GB, free: 225 MB / 0.6823 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 7.213e-05/6.846, allocations: 104.3 kB / 2.865 GB, free: 224.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.071e-05/6.846, allocations: 42.34 kB / 2.865 GB, free: 224.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005951/6.846, allocations: 300.7 kB / 2.865 GB, free: 224.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/6.846, allocations: 3.219 kB / 2.865 GB, free: 224.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/6.846, allocations: 0 / 2.865 GB, free: 224.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/6.846, allocations: 5.953 kB / 2.865 GB, free: 224.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001198/6.848, allocations: 0.7951 MB / 2.866 GB, free: 224.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/6.848, allocations: 0 / 2.866 GB, free: 224.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002531/6.848, allocations: 57.89 kB / 2.866 GB, free: 224.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/6.848, allocations: 3.938 kB / 2.866 GB, free: 224.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.049e-05/6.848, allocations: 7.469 kB / 2.866 GB, free: 224.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/6.848, allocations: 7.125 kB / 2.866 GB, free: 224.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/6.848, allocations: 3.875 kB / 2.866 GB, free: 224.5 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007126/6.849, allocations: 0.6079 MB / 2.866 GB, free: 224.1 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001104/6.85, allocations: 1.134 MB / 2.867 GB, free: 223.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001585/6.85, allocations: 132 kB / 2.868 GB, free: 223.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.951e-05/6.85, allocations: 7.719 kB / 2.868 GB, free: 223.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003359/6.85, allocations: 28.09 kB / 2.868 GB, free: 223.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.255e-05/6.85, allocations: 18.11 kB / 2.868 GB, free: 223.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.245e-05/6.85, allocations: 17.12 kB / 2.868 GB, free: 223.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0001847/6.851, allocations: 203.1 kB / 2.868 GB, free: 223.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001587/6.852, allocations: 340.3 kB / 2.868 GB, free: 223.2 MB / 0.6823 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.001731/6.854, allocations: 1.381 MB / 2.869 GB, free: 222.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003922/6.854, allocations: 172.4 kB / 2.87 GB, free: 222.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/6.854, allocations: 6.781 kB / 2.87 GB, free: 222.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001487/6.854, allocations: 100 kB / 2.87 GB, free: 222.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000827/6.855, allocations: 144.7 kB / 2.87 GB, free: 222.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/6.857, allocations: 0.671 MB / 2.871 GB, free: 222.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003623/6.857, allocations: 0.8729 MB / 2.871 GB, free: 222 MB / 0.6823 GB Notification: Performance of SimCode: time 5.62e-07/6.857, allocations: 0 / 2.871 GB, free: 222 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.Orifice.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_Examples_Orifice.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.Orifice.pipe 2>&1)