Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.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.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow") translateModel(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow") [: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.7334/0.7334, allocations: 127.4 MB / 134.6 MB, free: 4.105 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.001205/0.001205, allocations: 185.2 kB / 164.4 MB, free: 6.918 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.675/1.675, allocations: 205.1 MB / 399.1 MB, free: 6.102 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.001047/0.001047, allocations: 94.52 kB / 476.3 MB, free: 8.859 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 8.656e-06/8.686e-06, allocations: 0 / 0.546 GB, free: 42.79 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2121, allocations: 76.74 MB / 0.6209 GB, free: 13.98 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.744/5.956, allocations: 2.152 GB / 2.773 GB, free: 138.8 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/5.957, allocations: 90.31 kB / 2.773 GB, free: 138.7 MB / 0.6511 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: The standard says that initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition useDefaultProperties and initial(). Notification: Performance of FrontEnd: time 1.986/7.943, allocations: 0.5976 GB / 3.37 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.114e-05/7.943, allocations: 24 kB / 3.37 GB, free: 15.57 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.004673/7.948, allocations: 1.563 MB / 3.372 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/7.948, allocations: 8.031 kB / 3.372 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002364/7.95, allocations: 366.1 kB / 3.372 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00171/7.952, allocations: 0.9211 MB / 3.373 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.036e-05/7.952, allocations: 32 kB / 3.373 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000129/7.952, allocations: 64 kB / 3.373 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001547/7.954, allocations: 1.019 MB / 3.374 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001488/7.955, allocations: 0.9845 MB / 3.375 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.156e-05/7.955, allocations: 0 / 3.375 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.333e-05/7.955, allocations: 0 / 3.375 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.978e-05/7.955, allocations: 66.09 kB / 3.375 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006067/7.961, allocations: 5.142 MB / 3.38 GB, free: 4.855 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/7.963, allocations: 0.8698 MB / 3.381 GB, free: 3.98 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006666/7.963, allocations: 0.5363 MB / 3.382 GB, free: 3.445 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001764/7.963, allocations: 105.7 kB / 3.382 GB, free: 3.324 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000625/7.964, allocations: 479 kB / 3.382 GB, free: 2.844 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=76): time 3.176e-06/7.964, allocations: 0 / 3.382 GB, free: 2.844 MB / 0.6511 GB Notification: Performance of matching and sorting (n=76): time 0.001561/7.966, allocations: 0.8348 MB / 3.383 GB, free: 2 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.677e-05/7.966, allocations: 60.06 kB / 3.383 GB, free: 1.93 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004858/7.966, allocations: 414.3 kB / 3.384 GB, free: 1.516 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.918e-05/7.966, allocations: 29.7 kB / 3.384 GB, free: 1.48 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/7.966, allocations: 395.4 kB / 3.384 GB, free: 1.086 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001832/7.967, allocations: 248.2 kB / 3.384 GB, free: 0.8398 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.379e-05/7.967, allocations: 0 / 3.384 GB, free: 0.8398 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.358e-05/7.967, allocations: 386.8 kB / 3.385 GB, free: 464 kB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003812/7.967, allocations: 317.5 kB / 3.385 GB, free: 148 kB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005881/7.968, allocations: 438.8 kB / 3.385 GB, free: 15.67 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006191/7.968, allocations: 391 kB / 3.386 GB, free: 15.29 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.219e-06/7.968, allocations: 4 kB / 3.386 GB, free: 15.28 MB / 0.6667 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001392/7.97, allocations: 0.8776 MB / 3.387 GB, free: 14.39 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/7.97, allocations: 4 kB / 3.387 GB, free: 14.39 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/7.97, allocations: 4 kB / 3.387 GB, free: 14.39 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.576e-05/7.97, allocations: 7.984 kB / 3.387 GB, free: 14.38 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007763/7.971, allocations: 156.1 kB / 3.387 GB, free: 14.23 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/7.971, allocations: 12 kB / 3.387 GB, free: 14.21 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/7.972, allocations: 123.3 kB / 3.387 GB, free: 14.09 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.928e-05/7.972, allocations: 23.94 kB / 3.387 GB, free: 14.07 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 90 * 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.0002015/7.972, allocations: 115.3 kB / 3.387 GB, free: 13.95 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/7.972, allocations: 75.16 kB / 3.387 GB, free: 13.88 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000289/7.973, allocations: 107.1 kB / 3.387 GB, free: 13.77 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/7.973, allocations: 8 kB / 3.387 GB, free: 13.77 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/7.973, allocations: 0 / 3.387 GB, free: 13.77 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001369/7.974, allocations: 1.064 MB / 3.388 GB, free: 12.62 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003242/7.977, allocations: 1.865 MB / 3.39 GB, free: 10.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/7.977, allocations: 0 / 3.39 GB, free: 10.7 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009659/7.978, allocations: 183.8 kB / 3.39 GB, free: 10.52 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.338e-06/7.978, allocations: 4 kB / 3.39 GB, free: 10.52 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.492e-05/7.978, allocations: 8.031 kB / 3.39 GB, free: 10.51 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/7.978, allocations: 7.906 kB / 3.39 GB, free: 10.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/7.978, allocations: 4 kB / 3.39 GB, free: 10.5 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002084/7.98, allocations: 1.476 MB / 3.392 GB, free: 8.996 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005959/7.981, allocations: 256 kB / 3.392 GB, free: 8.727 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000134/7.981, allocations: 4 kB / 3.392 GB, free: 8.723 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009051/7.982, allocations: 91.75 kB / 3.392 GB, free: 8.633 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001554/7.982, allocations: 44.47 kB / 3.392 GB, free: 8.59 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.861e-05/7.982, allocations: 31.98 kB / 3.392 GB, free: 8.559 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.000461/7.983, allocations: 322.9 kB / 3.392 GB, free: 8.246 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001842/7.985, allocations: 454.9 kB / 3.393 GB, free: 7.801 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.U,rooA.dynBal.m,rooA.dynBal.mXi[1],rooB.dynBal.U,rooB.dynBal.m,rooB.dynBal.mXi[1]) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 76 * 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.003803/7.988, allocations: 1.857 MB / 3.395 GB, free: 5.855 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001698/7.99, allocations: 0.7761 MB / 3.395 GB, free: 5.082 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/7.99, allocations: 0 / 3.395 GB, free: 5.082 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0006044/7.991, allocations: 422.3 kB / 3.396 GB, free: 4.672 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002918/7.994, allocations: 479.7 kB / 3.396 GB, free: 4.211 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004275/7.998, allocations: 1.807 MB / 3.398 GB, free: 2.359 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001295/7.999, allocations: 1.249 MB / 3.399 GB, free: 1.086 MB / 0.6667 GB Notification: Performance of SimCode: time 1.152e-06/7.999, allocations: 0 / 3.399 GB, free: 1.086 MB / 0.6667 GB Notification: Performance of Templates: time 0.4593/8.459, allocations: 27.15 MB / 3.426 GB, free: 194.3 MB / 0.6824 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.sim & ./BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)