Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation") translateModel(BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation") [: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/BuildSysPro 3.5.0/package.mo): time 0.7427/0.7427, allocations: 127.4 MB / 134.6 MB, free: 4.07 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001348/0.001348, allocations: 189.2 kB / 164.4 MB, free: 6.867 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.6/1.6, allocations: 205.1 MB / 399.1 MB, free: 6.129 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009999/0.001, allocations: 82.22 kB / 476.3 MB, free: 8.883 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 6.672e-06/6.712e-06, allocations: 0 / 0.546 GB, free: 42.75 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1862/0.1862, allocations: 76.75 MB / 0.6209 GB, free: 13.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.64/4.826, allocations: 2.15 GB / 2.771 GB, free: 47.51 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002269/4.826, allocations: 87.95 kB / 2.771 GB, free: 47.43 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.308/7.135, allocations: 0.6488 GB / 3.419 GB, free: 97.23 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001752/7.135, allocations: 28.08 kB / 3.419 GB, free: 97.23 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.006347/7.141, allocations: 1.406 MB / 3.421 GB, free: 96.45 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/7.141, allocations: 9.469 kB / 3.421 GB, free: 96.45 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004212/7.146, allocations: 401.1 kB / 3.421 GB, free: 96.37 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003951/7.15, allocations: 0.8974 MB / 3.422 GB, free: 95.84 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001055/7.15, allocations: 34.09 kB / 3.422 GB, free: 95.84 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004919/7.15, allocations: 55.02 kB / 3.422 GB, free: 95.84 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002475/7.153, allocations: 0.7729 MB / 3.423 GB, free: 95.56 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00281/7.156, allocations: 0.9208 MB / 3.424 GB, free: 95.16 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.596e-05/7.156, allocations: 5.672 kB / 3.424 GB, free: 95.16 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001464/7.156, allocations: 1.344 kB / 3.424 GB, free: 95.16 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.611e-05/7.156, allocations: 39.56 kB / 3.424 GB, free: 95.15 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008548/7.164, allocations: 4.519 MB / 3.428 GB, free: 91.77 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00172/7.166, allocations: 0.6504 MB / 3.429 GB, free: 91.52 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009597/7.167, allocations: 434.6 kB / 3.429 GB, free: 91.36 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006782/7.168, allocations: 0.6737 MB / 3.43 GB, free: 90.61 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.261e-05/7.168, allocations: 46.89 kB / 3.43 GB, free: 90.56 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=70): time 4.118e-06/7.168, allocations: 0 / 3.43 GB, free: 90.56 MB / 0.6355 GB Notification: Performance of matching and sorting (n=70): time 0.002841/7.171, allocations: 0.7616 MB / 3.431 GB, free: 90.28 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/7.171, allocations: 60.03 kB / 3.431 GB, free: 90.21 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009678/7.172, allocations: 0.4899 MB / 3.431 GB, free: 89.98 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.000109/7.172, allocations: 25.7 kB / 3.431 GB, free: 89.95 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002625/7.172, allocations: 325.3 kB / 3.432 GB, free: 89.71 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002955/7.173, allocations: 239.1 kB / 3.432 GB, free: 89.52 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-05/7.173, allocations: 0 / 3.432 GB, free: 89.52 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001679/7.173, allocations: 388.4 kB / 3.432 GB, free: 89.18 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004743/7.173, allocations: 268.4 kB / 3.432 GB, free: 89.07 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005926/7.174, allocations: 366.6 kB / 3.433 GB, free: 88.86 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008054/7.175, allocations: 336.3 kB / 3.433 GB, free: 88.74 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/7.175, allocations: 1.094 kB / 3.433 GB, free: 88.74 MB / 0.6355 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001529/7.176, allocations: 0.7784 MB / 3.434 GB, free: 88.38 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/7.176, allocations: 5.5 kB / 3.434 GB, free: 88.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/7.176, allocations: 1.375 kB / 3.434 GB, free: 88.38 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.349e-05/7.176, allocations: 5.5 kB / 3.434 GB, free: 88.38 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007883/7.177, allocations: 150.7 kB / 3.434 GB, free: 88.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.082e-05/7.177, allocations: 9.438 kB / 3.434 GB, free: 88.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001335/7.178, allocations: 92.81 kB / 3.434 GB, free: 88.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.034e-05/7.179, allocations: 28.92 kB / 3.434 GB, free: 88.29 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 82 * 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 0.000194/7.179, allocations: 115.9 kB / 3.434 GB, free: 88.17 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002627/7.179, allocations: 85.66 kB / 3.434 GB, free: 88.12 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001707/7.181, allocations: 0.7888 MB / 3.435 GB, free: 87.7 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.401e-05/7.181, allocations: 7.312 kB / 3.435 GB, free: 87.7 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/7.181, allocations: 0 / 3.435 GB, free: 87.7 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001193/7.182, allocations: 0.8212 MB / 3.436 GB, free: 87.17 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003675/7.186, allocations: 1.757 MB / 3.438 GB, free: 86.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/7.186, allocations: 1.188 kB / 3.438 GB, free: 86.03 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001011/7.187, allocations: 177.9 kB / 3.438 GB, free: 85.99 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.371e-05/7.187, allocations: 2.938 kB / 3.438 GB, free: 85.99 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.408e-05/7.187, allocations: 13.05 kB / 3.438 GB, free: 85.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.222e-06/7.187, allocations: 6 kB / 3.438 GB, free: 85.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/7.187, allocations: 11.53 kB / 3.438 GB, free: 85.97 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002127/7.189, allocations: 1.283 MB / 3.439 GB, free: 85.29 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006813/7.19, allocations: 253.3 kB / 3.439 GB, free: 85.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002452/7.19, allocations: 8.719 kB / 3.439 GB, free: 85.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001168/7.191, allocations: 65.64 kB / 3.439 GB, free: 85.04 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.508e-05/7.191, allocations: 36.7 kB / 3.439 GB, free: 85.02 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.256e-05/7.191, allocations: 31.88 kB / 3.44 GB, free: 85.01 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0005776/7.192, allocations: 383.2 kB / 3.44 GB, free: 84.79 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001723/7.194, allocations: 437.9 kB / 3.44 GB, free: 84.65 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.U,volA.dynBal.m,volA.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 70 * 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.003245/7.197, allocations: 1.799 MB / 3.442 GB, free: 84 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001504/7.198, allocations: 0.6632 MB / 3.443 GB, free: 83.72 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/7.198, allocations: 0.7812 kB / 3.443 GB, free: 83.72 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.00063/7.199, allocations: 368.4 kB / 3.443 GB, free: 83.56 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002837/7.202, allocations: 458.9 kB / 3.444 GB, free: 83.37 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004681/7.207, allocations: 1.766 MB / 3.445 GB, free: 82.6 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001429/7.208, allocations: 1.209 MB / 3.446 GB, free: 81.57 MB / 0.6355 GB Notification: Performance of SimCode: time 1.263e-06/7.208, allocations: 0 / 3.446 GB, free: 81.57 MB / 0.6355 GB Notification: Performance of Templates: time 0.04152/7.25, allocations: 26.2 MB / 3.472 GB, free: 56.02 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.sim & ./BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)