Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise") translateModel(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise") [: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/BuildingSystems 2.0.0-master/package.mo): time 0.7213/0.7213, allocations: 141.8 MB / 149.1 MB, free: 13.2 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 184.1 kB / 181.9 MB, free: 9.832 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.256/1.256, allocations: 221.3 MB / 436 MB, free: 2.246 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 92.2 kB / 0.507 GB, free: 17.7 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001717/0.001717, allocations: 276.5 kB / 0.5884 GB, free: 3.793 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 8.857e-06/8.887e-06, allocations: 2.406 kB / 0.6759 GB, free: 136.3 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1567, allocations: 82.78 MB / 0.7567 GB, free: 83.15 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1196/0.2763, allocations: 108.9 MB / 0.8631 GB, free: 6.062 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002265/0.2765, allocations: 76.58 kB / 0.8632 GB, free: 5.988 MB / 0.5419 GB Notification: Performance of FrontEnd: time 0.007193/0.2838, allocations: 1.753 MB / 0.8649 GB, free: 4.23 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.2838, allocations: 4 kB / 0.8649 GB, free: 4.227 MB / 0.5419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002635/0.2841, allocations: 326.4 kB / 0.8652 GB, free: 3.863 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.2841, allocations: 11.97 kB / 0.8652 GB, free: 3.852 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.932e-05/0.2841, allocations: 4 kB / 0.8652 GB, free: 3.848 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.2843, allocations: 163 kB / 0.8654 GB, free: 3.648 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.2843, allocations: 4 kB / 0.8654 GB, free: 3.645 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.926e-06/0.2843, allocations: 0 / 0.8654 GB, free: 3.645 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.335e-05/0.2844, allocations: 15.92 kB / 0.8654 GB, free: 3.629 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.147e-05/0.2844, allocations: 25.7 kB / 0.8654 GB, free: 3.598 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.2845, allocations: 0 / 0.8654 GB, free: 3.598 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.2845, allocations: 0 / 0.8654 GB, free: 3.598 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.2845, allocations: 4 kB / 0.8654 GB, free: 3.594 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001281/0.2846, allocations: 126.2 kB / 0.8655 GB, free: 3.434 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 5.078e-05/0.2847, allocations: 30.5 kB / 0.8656 GB, free: 3.395 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.023e-05/0.2847, allocations: 8.922 kB / 0.8656 GB, free: 3.383 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003589/0.2851, allocations: 405.5 kB / 0.866 GB, free: 2.895 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.2851, allocations: 34.5 kB / 0.866 GB, free: 2.852 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=2): time 1.011e-06/0.2851, allocations: 7.938 kB / 0.866 GB, free: 2.844 MB / 0.5419 GB Notification: Performance of matching and sorting (n=2): time 0.0001831/0.2853, allocations: 33.7 kB / 0.866 GB, free: 2.805 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.2853, allocations: 55.41 kB / 0.8661 GB, free: 2.738 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.584e-05/0.2854, allocations: 92.98 kB / 0.8662 GB, free: 2.641 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.2854, allocations: 25.7 kB / 0.8662 GB, free: 2.609 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 5.413e-05/0.2855, allocations: 80.14 kB / 0.8663 GB, free: 2.527 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 2.353e-05/0.2855, allocations: 7.844 kB / 0.8663 GB, free: 2.52 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.545e-06/0.2855, allocations: 160 / 0.8663 GB, free: 2.52 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 9.424e-05/0.2856, allocations: 318.8 kB / 0.8666 GB, free: 2.199 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.096e-05/0.2856, allocations: 4 kB / 0.8666 GB, free: 2.195 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.205e-06/0.2857, allocations: 4 kB / 0.8666 GB, free: 2.191 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.258e-05/0.2857, allocations: 3.984 kB / 0.8666 GB, free: 2.188 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2857, allocations: 4 kB / 0.8666 GB, free: 2.184 MB / 0.5419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.833e-05/0.2858, allocations: 41.55 kB / 0.8667 GB, free: 2.137 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.2858, allocations: 4 kB / 0.8667 GB, free: 2.133 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.2858, allocations: 0 / 0.8667 GB, free: 2.133 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.2859, allocations: 8.078 kB / 0.8667 GB, free: 2.125 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.841e-05/0.2859, allocations: 7.984 kB / 0.8667 GB, free: 2.117 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.2859, allocations: 0 / 0.8667 GB, free: 2.117 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.312e-05/0.2859, allocations: 0 / 0.8667 GB, free: 2.117 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.286, allocations: 4 kB / 0.8667 GB, free: 2.113 MB / 0.5419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.224e-05/0.286, allocations: 104.9 kB / 0.8668 GB, free: 2.004 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.616e-06/0.286, allocations: 3.906 kB / 0.8668 GB, free: 2 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001298/0.2862, allocations: 45 kB / 0.8668 GB, free: 1.953 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.2862, allocations: 8.031 kB / 0.8668 GB, free: 1.945 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.2862, allocations: 0 / 0.8668 GB, free: 1.945 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.2862, allocations: 0 / 0.8668 GB, free: 1.945 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.792e-05/0.2863, allocations: 126.2 kB / 0.867 GB, free: 1.785 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.2863, allocations: 0 / 0.867 GB, free: 1.785 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.366e-05/0.2863, allocations: 11.84 kB / 0.867 GB, free: 1.773 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.2863, allocations: 0 / 0.867 GB, free: 1.773 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.2863, allocations: 3.938 kB / 0.867 GB, free: 1.77 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.2863, allocations: 8 kB / 0.867 GB, free: 1.762 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.2863, allocations: 0 / 0.867 GB, free: 1.762 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001044/0.2864, allocations: 65.12 kB / 0.867 GB, free: 1.68 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.197e-05/0.2865, allocations: 81.02 kB / 0.8671 GB, free: 1.582 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.17e-05/0.2865, allocations: 4 kB / 0.8671 GB, free: 1.578 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.12e-05/0.2865, allocations: 0 / 0.8671 GB, free: 1.578 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.294e-05/0.2865, allocations: 0 / 0.8671 GB, free: 1.578 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/0.2865, allocations: 0 / 0.8671 GB, free: 1.578 MB / 0.5419 GB Notification: Performance of sort global known variables: time 3.031e-05/0.2866, allocations: 83.28 kB / 0.8672 GB, free: 1.496 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.000212/0.2868, allocations: 32.05 kB / 0.8672 GB, free: 1.465 MB / 0.5419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001956/0.287, allocations: 127.2 kB / 0.8674 GB, free: 1.328 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 5.546e-05/0.2871, allocations: 7.938 kB / 0.8674 GB, free: 1.32 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2871, allocations: 4 kB / 0.8674 GB, free: 1.316 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 6.523e-06/0.2871, allocations: 0 / 0.8674 GB, free: 1.316 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.719e-05/0.2872, allocations: 10.8 kB / 0.8674 GB, free: 1.309 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001596/0.2874, allocations: 47.98 kB / 0.8674 GB, free: 1.238 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002141/0.2876, allocations: 0.692 MB / 0.8681 GB, free: 0.5195 MB / 0.5419 GB Notification: Performance of SimCode: time 2.2e-07/0.2876, allocations: 0 / 0.8681 GB, free: 0.5195 MB / 0.5419 GB Notification: Performance of Templates: time 0.002389/0.29, allocations: 0.6738 MB / 0.8688 GB, free: 15.85 MB / 0.5575 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe 2>&1)