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: "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) [: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.8496/0.8496, allocations: 127.4 MB / 134.6 MB, free: 4.082 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.001213/0.001213, allocations: 177.2 kB / 164.4 MB, free: 6.895 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.919/1.919, 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.001019/0.001019, allocations: 85.3 kB / 476.3 MB, free: 8.852 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3803/0.3813, allocations: 82.87 MB / 0.546 GB, free: 42.69 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1965/0.5778, allocations: 76.75 MB / 0.621 GB, free: 13.86 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.534/6.112, allocations: 2.152 GB / 2.773 GB, free: 60.47 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000369/6.113, allocations: 87.95 kB / 2.773 GB, free: 60.38 MB / 0.6355 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: 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 2.825/8.937, allocations: 0.5992 GB / 3.372 GB, free: 103.9 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.198e-05/8.937, allocations: 6.094 kB / 3.372 GB, free: 103.9 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003588/8.941, allocations: 364.7 kB / 3.372 GB, free: 103.8 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003488/8.944, allocations: 0.9129 MB / 3.373 GB, free: 103.6 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000101/8.945, allocations: 38.69 kB / 3.373 GB, free: 103.6 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005095/8.945, allocations: 57.5 kB / 3.373 GB, free: 103.6 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002885/8.948, allocations: 1.016 MB / 3.374 GB, free: 103.6 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002674/8.951, allocations: 0.9944 MB / 3.375 GB, free: 103.5 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.925e-05/8.951, allocations: 0 / 3.375 GB, free: 103.5 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001722/8.951, allocations: 3.594 kB / 3.375 GB, free: 103.5 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.459e-05/8.951, allocations: 61.08 kB / 3.375 GB, free: 103.5 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009178/8.96, allocations: 5.167 MB / 3.381 GB, free: 100.9 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001297/8.961, allocations: 0.8555 MB / 3.381 GB, free: 100.9 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008267/8.962, allocations: 0.5338 MB / 3.382 GB, free: 100.9 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002083/8.963, allocations: 104.3 kB / 3.382 GB, free: 100.8 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000773/8.963, allocations: 480.5 kB / 3.382 GB, free: 100.7 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=76): time 3.907e-06/8.963, allocations: 0 / 3.382 GB, free: 100.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=76): time 0.001951/8.965, allocations: 0.8336 MB / 3.383 GB, free: 100.6 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/8.965, allocations: 62.34 kB / 3.383 GB, free: 100.6 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000753/8.966, allocations: 416.4 kB / 3.384 GB, free: 100.4 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001007/8.966, allocations: 25.7 kB / 3.384 GB, free: 100.4 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002765/8.967, allocations: 380.7 kB / 3.384 GB, free: 100.2 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003206/8.967, allocations: 259.9 kB / 3.384 GB, free: 100.1 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.234e-05/8.967, allocations: 10.14 kB / 3.384 GB, free: 100.1 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000145/8.967, allocations: 377.4 kB / 3.385 GB, free: 99.78 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005267/8.968, allocations: 316.2 kB / 3.385 GB, free: 99.78 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006018/8.968, allocations: 440.1 kB / 3.385 GB, free: 99.66 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006226/8.969, allocations: 391.5 kB / 3.386 GB, free: 99.66 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/8.969, allocations: 0 / 3.386 GB, free: 99.66 MB / 0.6511 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001574/8.97, allocations: 0.8766 MB / 3.387 GB, free: 99.58 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.432e-05/8.971, allocations: 15.25 kB / 3.387 GB, free: 99.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.778e-05/8.971, allocations: 3.844 kB / 3.387 GB, free: 99.57 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.745e-05/8.971, allocations: 3.688 kB / 3.387 GB, free: 99.57 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008481/8.971, allocations: 152.8 kB / 3.387 GB, free: 99.57 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.16e-05/8.972, allocations: 11.38 kB / 3.387 GB, free: 99.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001347/8.973, allocations: 116.2 kB / 3.387 GB, free: 99.56 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.319e-05/8.973, allocations: 27.69 kB / 3.387 GB, free: 99.56 MB / 0.6511 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.0002047/8.973, allocations: 113.8 kB / 3.387 GB, free: 99.45 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002531/8.973, allocations: 74.41 kB / 3.387 GB, free: 99.42 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003341/8.974, allocations: 100.5 kB / 3.387 GB, free: 99.4 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-05/8.974, allocations: 13.88 kB / 3.387 GB, free: 99.4 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.88e-05/8.974, allocations: 0 / 3.387 GB, free: 99.4 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001364/8.975, allocations: 1.067 MB / 3.388 GB, free: 98.95 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003478/8.979, allocations: 1.868 MB / 3.39 GB, free: 98.65 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/8.979, allocations: 0 / 3.39 GB, free: 98.65 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009907/8.98, allocations: 180.2 kB / 3.39 GB, free: 98.65 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.732e-05/8.98, allocations: 3 kB / 3.39 GB, free: 98.65 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.207e-05/8.98, allocations: 11.81 kB / 3.39 GB, free: 98.65 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.563e-06/8.98, allocations: 3.344 kB / 3.39 GB, free: 98.65 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/8.98, allocations: 3.906 kB / 3.39 GB, free: 98.64 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002128/8.982, allocations: 1.487 MB / 3.392 GB, free: 98.43 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003385/8.985, allocations: 2.495 MB / 3.394 GB, free: 97.84 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008348/8.986, allocations: 262.3 kB / 3.394 GB, free: 97.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002566/8.986, allocations: 13.31 kB / 3.394 GB, free: 97.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001429/8.988, allocations: 88.03 kB / 3.395 GB, free: 97.7 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/8.988, allocations: 39.59 kB / 3.395 GB, free: 97.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.905e-05/8.988, allocations: 27.56 kB / 3.395 GB, free: 97.7 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0007473/8.989, allocations: 324.8 kB / 3.395 GB, free: 97.61 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.003682/8.993, allocations: 0.6422 MB / 3.396 GB, free: 97.58 MB / 0.6511 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.002682/8.995, allocations: 1.843 MB / 3.397 GB, free: 97.11 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001253/8.997, allocations: 0.779 MB / 3.398 GB, free: 97.1 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/8.997, allocations: 0 / 3.398 GB, free: 97.1 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005214/8.997, allocations: 417.5 kB / 3.399 GB, free: 97.09 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002526/9, allocations: 484.7 kB / 3.399 GB, free: 97.07 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004408/9.004, allocations: 1.812 MB / 3.401 GB, free: 96.68 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001272/9.005, allocations: 1.266 MB / 3.402 GB, free: 95.97 MB / 0.6511 GB Notification: Performance of SimCode: time 1.092e-06/9.005, allocations: 0 / 3.402 GB, free: 95.97 MB / 0.6511 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ZonalFlow.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)