Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice") translateModel(Buildings.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.342/1.342, allocations: 289.8 MB / 297.1 MB, free: 6.656 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.0009323/0.0009323, allocations: 177.3 kB / 366.3 MB, free: 1.945 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.117/1.117, allocations: 205.1 MB / 0.6256 GB, free: 5.785 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.0008286/0.0008286, allocations: 88.83 kB / 0.7395 GB, free: 39.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.548e-06/9.568e-06, allocations: 4 kB / 0.859 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5147/0.5147, allocations: 116.3 MB / 0.9725 GB, free: 68.4 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.116/3.63, allocations: 2.065 GB / 3.038 GB, free: 9.105 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002079/3.631, allocations: 83.95 kB / 3.038 GB, free: 9.023 MB / 0.948 GB Notification: Performance of FrontEnd: time 0.9059/4.537, allocations: 354.4 MB / 3.384 GB, free: 35.47 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.271e-05/4.537, allocations: 12 kB / 3.384 GB, free: 35.46 MB / 0.948 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.00118/4.538, allocations: 0.7641 MB / 3.384 GB, free: 34.65 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/4.538, allocations: 12.03 kB / 3.384 GB, free: 34.64 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001341/4.539, allocations: 195.2 kB / 3.385 GB, free: 34.45 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006256/4.54, allocations: 411.9 kB / 3.385 GB, free: 34 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/4.54, allocations: 8 kB / 3.385 GB, free: 33.99 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.507e-05/4.54, allocations: 20 kB / 3.385 GB, free: 33.97 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003799/4.54, allocations: 261.2 kB / 3.385 GB, free: 33.72 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004182/4.541, allocations: 339.1 kB / 3.386 GB, free: 33.36 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/4.541, allocations: 4 kB / 3.386 GB, free: 33.36 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.995e-05/4.541, allocations: 0 / 3.386 GB, free: 33.36 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/4.541, allocations: 8 kB / 3.386 GB, free: 33.35 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001537/4.542, allocations: 1.637 MB / 3.387 GB, free: 31.61 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003398/4.543, allocations: 246.6 kB / 3.387 GB, free: 31.36 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001469/4.543, allocations: 120.8 kB / 3.388 GB, free: 31.23 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007373/4.544, allocations: 1.04 MB / 3.389 GB, free: 29.97 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/4.544, allocations: 42.55 kB / 3.389 GB, free: 29.92 MB / 0.948 GB Notification: Performance of pre-optimization done (n=25): time 1.603e-06/4.544, allocations: 0 / 3.389 GB, free: 29.92 MB / 0.948 GB Notification: Performance of matching and sorting (n=25): time 0.0009808/4.545, allocations: 321.4 kB / 3.389 GB, free: 29.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.491e-05/4.545, allocations: 55.41 kB / 3.389 GB, free: 29.54 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001918/4.545, allocations: 254.1 kB / 3.389 GB, free: 29.29 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/4.545, allocations: 25.7 kB / 3.389 GB, free: 29.25 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.933e-05/4.545, allocations: 172.3 kB / 3.389 GB, free: 29.08 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.446e-05/4.545, allocations: 86.75 kB / 3.39 GB, free: 29 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.488e-06/4.545, allocations: 0 / 3.39 GB, free: 29 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.24e-05/4.545, allocations: 342.8 kB / 3.39 GB, free: 28.65 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.657e-05/4.545, allocations: 60.47 kB / 3.39 GB, free: 28.59 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/4.545, allocations: 104.1 kB / 3.39 GB, free: 28.47 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002793/4.546, allocations: 139.4 kB / 3.39 GB, free: 28.34 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/4.546, allocations: 0 / 3.39 GB, free: 28.34 MB / 0.948 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004532/4.546, allocations: 283.8 kB / 3.39 GB, free: 28.06 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/4.546, allocations: 7.938 kB / 3.39 GB, free: 28.05 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/4.546, allocations: 4 kB / 3.39 GB, free: 28.05 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/4.546, allocations: 0 / 3.39 GB, free: 28.05 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002208/4.546, allocations: 55.91 kB / 3.39 GB, free: 27.99 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/4.546, allocations: 4.031 kB / 3.39 GB, free: 27.99 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002278/4.547, allocations: 27.83 kB / 3.391 GB, free: 27.96 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.989e-05/4.547, allocations: 12 kB / 3.391 GB, free: 27.95 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 6e-05/4.547, allocations: 120.8 kB / 3.391 GB, free: 27.82 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.335e-05/4.547, allocations: 31.62 kB / 3.391 GB, free: 27.79 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005238/4.547, allocations: 296.8 kB / 3.391 GB, free: 27.49 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/4.547, allocations: 4 kB / 3.391 GB, free: 27.49 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/4.547, allocations: 3.906 kB / 3.391 GB, free: 27.48 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/4.547, allocations: 0 / 3.391 GB, free: 27.48 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/4.548, allocations: 0.7901 MB / 3.392 GB, free: 26.62 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/4.548, allocations: 4 kB / 3.392 GB, free: 26.62 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002365/4.549, allocations: 52.17 kB / 3.392 GB, free: 26.57 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/4.549, allocations: 4 kB / 3.392 GB, free: 26.57 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/4.549, allocations: 15.92 kB / 3.392 GB, free: 26.55 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/4.549, allocations: 4 kB / 3.392 GB, free: 26.55 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/4.549, allocations: 7.844 kB / 3.392 GB, free: 26.54 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006068/4.549, allocations: 0.5975 MB / 3.392 GB, free: 25.85 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/4.549, allocations: 128.6 kB / 3.393 GB, free: 25.71 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.364e-05/4.549, allocations: 15.89 kB / 3.393 GB, free: 25.69 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002975/4.55, allocations: 23.98 kB / 3.393 GB, free: 25.67 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.411e-05/4.55, allocations: 23.91 kB / 3.393 GB, free: 25.64 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.779e-05/4.55, allocations: 12 kB / 3.393 GB, free: 25.63 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0001355/4.55, allocations: 200.6 kB / 3.393 GB, free: 25.44 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0005768/4.551, allocations: 207.6 kB / 3.393 GB, free: 25.24 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.001344/4.552, allocations: 1.367 MB / 3.394 GB, free: 23.84 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002553/4.552, allocations: 163.9 kB / 3.394 GB, free: 23.68 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/4.552, allocations: 4 kB / 3.394 GB, free: 23.68 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001216/4.552, allocations: 102.1 kB / 3.395 GB, free: 23.58 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007116/4.553, allocations: 149.6 kB / 3.395 GB, free: 23.44 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/4.554, allocations: 0.6783 MB / 3.395 GB, free: 22.71 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002804/4.554, allocations: 0.8687 MB / 3.396 GB, free: 21.81 MB / 0.948 GB Notification: Performance of SimCode: time 2.7e-07/4.554, allocations: 4 kB / 3.396 GB, free: 21.8 MB / 0.948 GB Notification: Performance of Templates: time 0.01631/4.571, allocations: 12.67 MB / 3.409 GB, free: 9.211 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice.makefile (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice.sim & ./Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1)