Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume",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/Buildings 8.0.0/package.mo): time 2.096/2.096, allocations: 284.8 MB / 292.1 MB, free: 10.77 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001564/0.001564, allocations: 177.4 kB / 360.3 MB, free: 7.555 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.612/1.612, allocations: 205.1 MB / 0.6187 GB, free: 13.21 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001231/0.00123, allocations: 87 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2558/0.2571, allocations: 121.4 MB / 0.8502 GB, free: 3.945 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5791/0.8363, allocations: 115.2 MB / 0.9627 GB, free: 78.68 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.041/1.877, allocations: 447.7 MB / 1.4 GB, free: 118.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002974/1.877, allocations: 89.33 kB / 1.4 GB, free: 118.1 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 1.52/3.398, allocations: 330.3 MB / 1.723 GB, free: 230.3 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/3.398, allocations: 10.16 kB / 1.723 GB, free: 230.3 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004906/3.398, allocations: 138.7 kB / 1.723 GB, free: 230.2 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002987/3.401, allocations: 0.986 MB / 1.724 GB, free: 229.7 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.457e-05/3.401, allocations: 24.97 kB / 1.724 GB, free: 229.7 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001562/3.402, allocations: 50.08 kB / 1.724 GB, free: 229.7 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001668/3.403, allocations: 0.5237 MB / 1.724 GB, free: 229.5 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001803/3.405, allocations: 0.7141 MB / 1.725 GB, free: 229.1 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.929e-05/3.405, allocations: 9 kB / 1.725 GB, free: 229.1 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.705e-05/3.405, allocations: 1.625 kB / 1.725 GB, free: 229.1 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.624e-05/3.405, allocations: 22.7 kB / 1.725 GB, free: 229.1 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006647/3.412, allocations: 3.736 MB / 1.729 GB, free: 226.2 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001033/3.413, allocations: 394.2 kB / 1.729 GB, free: 226 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006321/3.414, allocations: 256.6 kB / 1.729 GB, free: 225.9 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001064/3.415, allocations: 1.247 MB / 1.731 GB, free: 224.4 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006752/3.415, allocations: 288.5 kB / 1.731 GB, free: 224.2 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=63): time 3.095e-06/3.415, allocations: 4.5 kB / 1.731 GB, free: 224.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=63): time 0.002502/3.418, allocations: 0.6317 MB / 1.731 GB, free: 223.9 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/3.418, allocations: 85.58 kB / 1.732 GB, free: 223.8 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001252/3.419, allocations: 0.6536 MB / 1.732 GB, free: 223.5 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 7.024e-05/3.419, allocations: 28.02 kB / 1.732 GB, free: 223.4 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002691/3.42, allocations: 324.8 kB / 1.732 GB, free: 223.2 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002113/3.42, allocations: 213.2 kB / 1.733 GB, free: 223 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-05/3.42, allocations: 3.219 kB / 1.733 GB, free: 223 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.658e-05/3.42, allocations: 327.9 kB / 1.733 GB, free: 222.7 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005118/3.421, allocations: 178.4 kB / 1.733 GB, free: 222.6 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005737/3.421, allocations: 308.9 kB / 1.733 GB, free: 222.4 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001282/3.422, allocations: 270.4 kB / 1.734 GB, free: 222.2 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/3.422, allocations: 1.062 kB / 1.734 GB, free: 222.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.002314/3.425, allocations: 0.665 MB / 1.734 GB, free: 221.9 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002072/3.425, allocations: 0.876 MB / 1.735 GB, free: 221 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/3.425, allocations: 8.844 kB / 1.735 GB, free: 221 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004439/3.425, allocations: 78.03 kB / 1.735 GB, free: 220.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009362/3.426, allocations: 124.9 kB / 1.735 GB, free: 220.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009245/3.427, allocations: 0.6895 MB / 1.736 GB, free: 220.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/3.429, allocations: 77.98 kB / 1.736 GB, free: 220.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.039e-05/3.429, allocations: 28.64 kB / 1.736 GB, free: 220.2 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 9.738e-06/3.429, allocations: 2.969 kB / 1.736 GB, free: 220.2 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002039/3.431, allocations: 0.5495 MB / 1.737 GB, free: 220 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/3.431, allocations: 6.453 kB / 1.737 GB, free: 220 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003545/3.431, allocations: 84.39 kB / 1.737 GB, free: 220 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008682/3.432, allocations: 116.4 kB / 1.737 GB, free: 219.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009008/3.433, allocations: 0.6828 MB / 1.738 GB, free: 219.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/3.434, allocations: 72.14 kB / 1.738 GB, free: 219.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.369e-05/3.434, allocations: 27.86 kB / 1.738 GB, free: 219.3 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEvent,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002317/3.434, allocations: 119.7 kB / 1.738 GB, free: 219.2 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001918/3.435, allocations: 91.03 kB / 1.738 GB, free: 219.1 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003341/3.438, allocations: 0.9565 MB / 1.739 GB, free: 218.7 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.756e-05/3.438, allocations: 8.562 kB / 1.739 GB, free: 218.7 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/3.438, allocations: 0 / 1.739 GB, free: 218.7 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002078/3.44, allocations: 0.8154 MB / 1.74 GB, free: 218.1 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004561/3.445, allocations: 1.714 MB / 1.741 GB, free: 217 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/3.445, allocations: 0 / 1.741 GB, free: 217 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009365/3.446, allocations: 114.1 kB / 1.741 GB, free: 217 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006482/3.446, allocations: 136.6 kB / 1.742 GB, free: 216.9 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.518e-05/3.446, allocations: 17.83 kB / 1.742 GB, free: 216.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001266/3.448, allocations: 1.276 MB / 1.743 GB, free: 215.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/3.448, allocations: 3.984 kB / 1.743 GB, free: 215.7 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00332/3.451, allocations: 1.228 MB / 1.744 GB, free: 215 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004122/3.455, allocations: 2.001 MB / 1.746 GB, free: 213.7 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001065/3.456, allocations: 265.3 kB / 1.746 GB, free: 213.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003308/3.457, allocations: 6.828 kB / 1.746 GB, free: 213.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001224/3.458, allocations: 48.17 kB / 1.746 GB, free: 213.5 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/3.458, allocations: 47.91 kB / 1.746 GB, free: 213.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-05/3.458, allocations: 25.36 kB / 1.746 GB, free: 213.4 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0009355/3.459, allocations: 0.5034 MB / 1.747 GB, free: 213.2 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004474/3.464, allocations: 0.7845 MB / 1.748 GB, free: 212.8 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (roo.dynBal.U,roo.dynBal.m,oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc) * Number of discrete variables: 3 ($whenCondition1,mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 2 (mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 9,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.00205/3.466, allocations: 0.8369 MB / 1.748 GB, free: 212.5 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002468/3.468, allocations: 0.8798 MB / 1.749 GB, free: 212.2 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/3.468, allocations: 0 / 1.749 GB, free: 212.2 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0009668/3.469, allocations: 356.7 kB / 1.75 GB, free: 212 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003143/3.472, allocations: 341 kB / 1.75 GB, free: 211.9 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004708/3.477, allocations: 1.613 MB / 1.752 GB, free: 211 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001078/3.478, allocations: 1.193 MB / 1.753 GB, free: 210.1 MB / 0.9323 GB Notification: Performance of SimCode: time 1.082e-06/3.478, allocations: 0 / 1.753 GB, free: 210.1 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; mkfifo Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe >> ../files/Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume.fmu > Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe 2>&1)