Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Examples.NaturalVentilation.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_NaturalVentilation",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/Complex 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 185.5 kB / 7.806 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4508/0.4508, allocations: 90.85 MB / 99.07 MB, free: 14.95 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.269/1.269, allocations: 221.4 MB / 342.8 MB, free: 5.23 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 96.52 kB / 415.5 MB, free: 6.453 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1703/0.1714, allocations: 78.45 MB / 494 MB, free: 8.008 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3768/0.5481, allocations: 72.29 MB / 0.553 GB, free: 73.35 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.082/3.631, allocations: 1.872 GB / 2.425 GB, free: 205.9 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002227/3.631, allocations: 83.95 kB / 2.426 GB, free: 205.8 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 1.986/5.617, allocations: 0.6686 GB / 3.094 GB, free: 87.46 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/5.617, allocations: 12.84 kB / 3.094 GB, free: 87.46 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002756/5.62, allocations: 404.8 kB / 3.095 GB, free: 87.4 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001616/5.621, allocations: 0.8608 MB / 3.095 GB, free: 87.14 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.819e-05/5.621, allocations: 28.09 kB / 3.095 GB, free: 87.14 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/5.622, allocations: 63.55 kB / 3.095 GB, free: 87.14 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001336/5.623, allocations: 0.7722 MB / 3.096 GB, free: 87.14 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001295/5.624, allocations: 0.9146 MB / 3.097 GB, free: 86.99 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.625e-05/5.624, allocations: 6.453 kB / 3.097 GB, free: 86.99 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.619e-05/5.624, allocations: 0 / 3.097 GB, free: 86.99 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.509e-05/5.624, allocations: 38 kB / 3.097 GB, free: 86.99 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004555/5.629, allocations: 4.717 MB / 3.102 GB, free: 84.22 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008901/5.63, allocations: 0.6315 MB / 3.102 GB, free: 84.19 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006146/5.63, allocations: 454.3 kB / 3.103 GB, free: 84.18 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004846/5.631, allocations: 0.6753 MB / 3.103 GB, free: 83.43 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/5.631, allocations: 44 kB / 3.104 GB, free: 83.39 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=70): time 2.765e-06/5.631, allocations: 0 / 3.104 GB, free: 83.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=70): time 0.001899/5.633, allocations: 0.784 MB / 3.104 GB, free: 83.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/5.633, allocations: 57.69 kB / 3.104 GB, free: 83.24 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005394/5.634, allocations: 491 kB / 3.105 GB, free: 83.12 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.185e-05/5.634, allocations: 25.7 kB / 3.105 GB, free: 83.09 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/5.634, allocations: 325.9 kB / 3.105 GB, free: 82.93 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001726/5.634, allocations: 244.8 kB / 3.105 GB, free: 82.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.252e-05/5.634, allocations: 0 / 3.105 GB, free: 82.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.63e-05/5.634, allocations: 384.9 kB / 3.106 GB, free: 82.49 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000354/5.634, allocations: 274.3 kB / 3.106 GB, free: 82.49 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003843/5.635, allocations: 361.4 kB / 3.106 GB, free: 82.41 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005569/5.635, allocations: 345 kB / 3.107 GB, free: 82.41 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/5.635, allocations: 0 / 3.107 GB, free: 82.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001176/5.637, allocations: 0.7916 MB / 3.107 GB, free: 82.33 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/5.637, allocations: 7.531 kB / 3.107 GB, free: 82.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/5.637, allocations: 0 / 3.107 GB, free: 82.33 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/5.637, allocations: 3.875 kB / 3.107 GB, free: 82.33 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007402/5.637, allocations: 154 kB / 3.108 GB, free: 82.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.854e-06/5.637, allocations: 3.344 kB / 3.108 GB, free: 82.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/5.638, allocations: 100 kB / 3.108 GB, free: 82.31 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.766e-05/5.638, allocations: 28.17 kB / 3.108 GB, free: 82.31 MB / 0.6042 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.0001245/5.639, allocations: 114.5 kB / 3.108 GB, free: 82.21 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/5.639, allocations: 82.09 kB / 3.108 GB, free: 82.17 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001349/5.64, allocations: 0.8158 MB / 3.109 GB, free: 82.1 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/5.64, allocations: 7.406 kB / 3.109 GB, free: 82.1 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/5.64, allocations: 3.5 kB / 3.109 GB, free: 82.1 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001002/5.641, allocations: 0.829 MB / 3.11 GB, free: 81.84 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002544/5.644, allocations: 1.782 MB / 3.111 GB, free: 81.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/5.644, allocations: 0 / 3.111 GB, free: 81.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009413/5.645, allocations: 173.7 kB / 3.111 GB, free: 81.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/5.645, allocations: 3.594 kB / 3.111 GB, free: 81.55 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.628e-05/5.645, allocations: 10.7 kB / 3.111 GB, free: 81.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/5.645, allocations: 5.312 kB / 3.111 GB, free: 81.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/5.645, allocations: 3.906 kB / 3.111 GB, free: 81.54 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00155/5.646, allocations: 1.19 MB / 3.113 GB, free: 81.35 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002294/5.649, allocations: 2.09 MB / 3.115 GB, free: 80.79 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004455/5.649, allocations: 248.1 kB / 3.115 GB, free: 80.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000136/5.649, allocations: 5.781 kB / 3.115 GB, free: 80.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008303/5.65, allocations: 65.52 kB / 3.115 GB, free: 80.65 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.6e-05/5.65, allocations: 37.27 kB / 3.115 GB, free: 80.65 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.022e-05/5.65, allocations: 24.16 kB / 3.115 GB, free: 80.65 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0004187/5.651, allocations: 385.8 kB / 3.115 GB, free: 80.55 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001924/5.653, allocations: 0.6145 MB / 3.116 GB, free: 80.54 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m) * 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.001883/5.654, allocations: 1.775 MB / 3.118 GB, free: 80.09 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001033/5.655, allocations: 0.6772 MB / 3.118 GB, free: 80.09 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/5.655, allocations: 3.469 kB / 3.118 GB, free: 80.09 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004534/5.656, allocations: 370.1 kB / 3.119 GB, free: 80.09 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002152/5.658, allocations: 459.6 kB / 3.119 GB, free: 80.08 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003402/5.662, allocations: 1.782 MB / 3.121 GB, free: 79.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001096/5.663, allocations: 1.222 MB / 3.122 GB, free: 78.99 MB / 0.6042 GB Notification: Performance of SimCode: time 7.31e-07/5.663, allocations: 0 / 3.122 GB, free: 78.99 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.NaturalVentilation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_Examples_NaturalVentilation.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)