Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.Orifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.Orifice") translateModel(Annex60.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.Orifice") [: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/Annex60 1.0.0/package.mo): time 0.2919/0.2919, allocations: 54.39 MB / 61.67 MB, free: 11.18 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001382/0.001382, allocations: 178.9 kB / 75.37 MB, free: 1.492 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.751/1.751, allocations: 194.2 MB / 283.2 MB, free: 3.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002028/0.002029, allocations: 128.2 kB / 341.3 MB, free: 9.445 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.667e-06/8.866e-06, allocations: 0 / 404.9 MB, free: 27.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1645, allocations: 57.64 MB / 462.6 MB, free: 2.008 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.84/5.005, allocations: 2.122 GB / 2.574 GB, free: 81 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002428/5.005, allocations: 84.7 kB / 2.574 GB, free: 80.91 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.184/6.189, allocations: 345.4 MB / 2.911 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.22e-05/6.189, allocations: 17.94 kB / 2.911 GB, free: 100.1 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001655/6.191, allocations: 0.8615 MB / 2.912 GB, free: 99.55 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/6.191, allocations: 11.47 kB / 2.912 GB, free: 99.54 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00133/6.192, allocations: 184.7 kB / 2.912 GB, free: 99.51 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007494/6.193, allocations: 452 kB / 2.913 GB, free: 99.29 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/6.193, allocations: 18 kB / 2.913 GB, free: 99.29 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.945e-05/6.193, allocations: 22.31 kB / 2.913 GB, free: 99.29 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006128/6.193, allocations: 377.6 kB / 2.913 GB, free: 99.28 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006609/6.194, allocations: 463.8 kB / 2.914 GB, free: 99.2 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/6.194, allocations: 3 kB / 2.914 GB, free: 99.2 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.742e-05/6.194, allocations: 0 / 2.914 GB, free: 99.2 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/6.194, allocations: 10.66 kB / 2.914 GB, free: 99.2 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00244/6.197, allocations: 1.943 MB / 2.915 GB, free: 98.11 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004587/6.197, allocations: 285.1 kB / 2.916 GB, free: 98.07 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001744/6.197, allocations: 126.5 kB / 2.916 GB, free: 98.07 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007524/6.198, allocations: 0.8552 MB / 2.917 GB, free: 97.13 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/6.198, allocations: 41.3 kB / 2.917 GB, free: 97.09 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=28): time 1.723e-06/6.198, allocations: 1.406 kB / 2.917 GB, free: 97.09 MB / 0.4948 GB Notification: Performance of matching and sorting (n=28): time 0.0009168/6.199, allocations: 316.1 kB / 2.917 GB, free: 97.03 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.696e-05/6.199, allocations: 58 kB / 2.917 GB, free: 96.97 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002973/6.199, allocations: 288.2 kB / 2.917 GB, free: 96.87 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.056e-05/6.199, allocations: 25.7 kB / 2.917 GB, free: 96.84 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/6.2, allocations: 224.5 kB / 2.918 GB, free: 96.71 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.71e-05/6.2, allocations: 100.1 kB / 2.918 GB, free: 96.66 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.33e-05/6.2, allocations: 3.938 kB / 2.918 GB, free: 96.66 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.547e-05/6.2, allocations: 349.7 kB / 2.918 GB, free: 96.34 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/6.2, allocations: 76.2 kB / 2.918 GB, free: 96.34 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001522/6.2, allocations: 144.7 kB / 2.918 GB, free: 96.27 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003374/6.2, allocations: 153.5 kB / 2.918 GB, free: 96.27 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/6.2, allocations: 3.906 kB / 2.918 GB, free: 96.27 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006134/6.201, allocations: 348 kB / 2.919 GB, free: 96.22 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/6.201, allocations: 6 kB / 2.919 GB, free: 96.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/6.201, allocations: 7.875 kB / 2.919 GB, free: 96.21 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/6.201, allocations: 3.969 kB / 2.919 GB, free: 96.21 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003149/6.201, allocations: 79.41 kB / 2.919 GB, free: 96.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/6.201, allocations: 3.844 kB / 2.919 GB, free: 96.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003537/6.202, allocations: 46.7 kB / 2.919 GB, free: 96.21 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.297e-05/6.202, allocations: 9.625 kB / 2.919 GB, free: 96.21 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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 8.719e-05/6.202, allocations: 113.3 kB / 2.919 GB, free: 96.1 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.48e-05/6.202, allocations: 44.69 kB / 2.919 GB, free: 96.08 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006144/6.203, allocations: 319.8 kB / 2.919 GB, free: 96.03 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/6.203, allocations: 3.969 kB / 2.919 GB, free: 96.03 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/6.203, allocations: 3.5 kB / 2.919 GB, free: 96.03 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/6.203, allocations: 7.469 kB / 2.919 GB, free: 96.03 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001136/6.204, allocations: 0.8602 MB / 2.92 GB, free: 95.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/6.204, allocations: 3.875 kB / 2.92 GB, free: 95.69 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000283/6.204, allocations: 59.23 kB / 2.92 GB, free: 95.69 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.912e-06/6.204, allocations: 3.031 kB / 2.92 GB, free: 95.69 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.267e-05/6.204, allocations: 14.31 kB / 2.92 GB, free: 95.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/6.204, allocations: 0 / 2.92 GB, free: 95.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/6.204, allocations: 6.219 kB / 2.92 GB, free: 95.69 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007865/6.205, allocations: 0.64 MB / 2.921 GB, free: 95.34 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001752/6.205, allocations: 148.6 kB / 2.921 GB, free: 95.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.65e-05/6.205, allocations: 10 kB / 2.921 GB, free: 95.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003974/6.206, allocations: 28.7 kB / 2.921 GB, free: 95.22 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.181e-05/6.206, allocations: 18.33 kB / 2.921 GB, free: 95.22 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.663e-05/6.206, allocations: 23.48 kB / 2.921 GB, free: 95.22 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0001925/6.206, allocations: 222.4 kB / 2.921 GB, free: 95.14 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0008174/6.207, allocations: 247.8 kB / 2.922 GB, free: 95.12 MB / 0.4948 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 (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 Backend phase and start with SimCode phase: time 0.001697/6.208, allocations: 1.368 MB / 2.923 GB, free: 94.8 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003858/6.209, allocations: 216.6 kB / 2.923 GB, free: 94.8 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/6.209, allocations: 2.906 kB / 2.923 GB, free: 94.8 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001476/6.209, allocations: 117.6 kB / 2.923 GB, free: 94.8 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008944/6.21, allocations: 163.5 kB / 2.923 GB, free: 94.79 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001538/6.211, allocations: 0.7648 MB / 2.924 GB, free: 94.52 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004065/6.212, allocations: 0.9107 MB / 2.925 GB, free: 93.81 MB / 0.4948 GB Notification: Performance of SimCode: time 1.282e-06/6.212, allocations: 0 / 2.925 GB, free: 93.81 MB / 0.4948 GB Notification: Performance of Templates: time 0.02853/6.24, allocations: 14.11 MB / 2.939 GB, free: 92.77 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.Orifice.makefile (rm -f Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.Orifice.sim & ./Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.Orifice.pipe 2>&1)