Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.OneOpenDoor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneOpenDoor,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_OneOpenDoor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneOpenDoor,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_OneOpenDoor",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.1-maint.8.0.x/package.mo): time 1.338/1.338, allocations: 285.5 MB / 292.8 MB, free: 9.793 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.0009613/0.0009613, allocations: 179.8 kB / 361.1 MB, free: 400 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.057/1.057, allocations: 205.1 MB / 0.6195 GB, free: 2.875 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007864/0.0007864, allocations: 92.19 kB / 0.7326 GB, free: 1.078 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.3689/0.3697, allocations: 121.4 MB / 0.8512 GB, free: 151.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.5226, allocations: 115.3 MB / 0.9638 GB, free: 56.32 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6469/1.17, allocations: 447.4 MB / 1.401 GB, free: 4.898 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000206/1.17, allocations: 82.45 kB / 1.401 GB, free: 4.859 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 385 * Number of variables: 385 Notification: Performance of Generate backend data structure: time 0.8267/1.997, allocations: 283.2 MB / 1.677 GB, free: 150.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 2.996e-05/1.997, allocations: 12 kB / 1.677 GB, free: 150.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006954/1.997, allocations: 193.8 kB / 1.677 GB, free: 150 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002368/2, allocations: 1.359 MB / 1.679 GB, free: 148.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.41e-05/2, allocations: 48 kB / 1.679 GB, free: 148.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002553/2, allocations: 87.91 kB / 1.679 GB, free: 148.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003095/2.003, allocations: 2.27 MB / 1.681 GB, free: 146.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002315/2.005, allocations: 1.652 MB / 1.683 GB, free: 144.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.671e-05/2.005, allocations: 0 / 1.683 GB, free: 144.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001301/2.006, allocations: 4 kB / 1.683 GB, free: 144.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.148e-05/2.006, allocations: 36 kB / 1.683 GB, free: 144.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006192/2.012, allocations: 4.987 MB / 1.688 GB, free: 139.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001325/2.013, allocations: 1.174 MB / 1.689 GB, free: 138.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001441/2.015, allocations: 1.343 MB / 1.69 GB, free: 136.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001042/2.016, allocations: 1.73 MB / 1.692 GB, free: 134.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/2.016, allocations: 64.56 kB / 1.692 GB, free: 134.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=237): time 2.986e-06/2.016, allocations: 0 / 1.692 GB, free: 134.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=237): time 0.004394/2.02, allocations: 2.442 MB / 1.694 GB, free: 132.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.371e-05/2.02, allocations: 77.41 kB / 1.694 GB, free: 132.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007285/2.021, allocations: 0.6642 MB / 1.695 GB, free: 131.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001014/2.021, allocations: 29.7 kB / 1.695 GB, free: 131.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001425/2.021, allocations: 354.2 kB / 1.695 GB, free: 131.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004067/2.022, allocations: 0.758 MB / 1.696 GB, free: 130.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.621e-05/2.022, allocations: 0 / 1.696 GB, free: 130.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.341e-05/2.022, allocations: 393.9 kB / 1.696 GB, free: 129.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001002/2.023, allocations: 0.8474 MB / 1.697 GB, free: 129 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001088/2.024, allocations: 1.051 MB / 1.698 GB, free: 127.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002694/2.027, allocations: 1.305 MB / 1.7 GB, free: 126.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.044e-06/2.027, allocations: 0 / 1.7 GB, free: 126.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.004408/2.031, allocations: 2.545 MB / 1.702 GB, free: 124.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/2.031, allocations: 6.5 kB / 1.702 GB, free: 124.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/2.031, allocations: 4.469 kB / 1.702 GB, free: 124.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.666e-05/2.031, allocations: 16 kB / 1.702 GB, free: 124.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001618/2.033, allocations: 443.4 kB / 1.703 GB, free: 123.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.703e-05/2.033, allocations: 12 kB / 1.703 GB, free: 123.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001349/2.034, allocations: 174.2 kB / 1.703 GB, free: 123.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000201/2.034, allocations: 79.92 kB / 1.703 GB, free: 123.4 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (261): * Single equations (assignments): 261 * 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.0002873/2.035, allocations: 139.6 kB / 1.703 GB, free: 123.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002715/2.035, allocations: 142.3 kB / 1.703 GB, free: 123.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004925/2.04, allocations: 2.873 MB / 1.706 GB, free: 120.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.44e-05/2.04, allocations: 23.98 kB / 1.706 GB, free: 120.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/2.04, allocations: 11.91 kB / 1.706 GB, free: 120.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003773/2.044, allocations: 2.506 MB / 1.708 GB, free: 117.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006038/2.05, allocations: 4.236 MB / 1.713 GB, free: 113.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/2.05, allocations: 3.906 kB / 1.713 GB, free: 113.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001518/2.051, allocations: 419.5 kB / 1.713 GB, free: 112.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003629/2.052, allocations: 81.64 kB / 1.713 GB, free: 112.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001388/2.052, allocations: 23.92 kB / 1.713 GB, free: 112.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005048/2.052, allocations: 1.132 MB / 1.714 GB, free: 111.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/2.052, allocations: 0 / 1.714 GB, free: 111.6 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005697/2.058, allocations: 4.219 MB / 1.718 GB, free: 107.3 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007157/2.065, allocations: 6.123 MB / 1.724 GB, free: 101.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008101/2.066, allocations: 0.4945 MB / 1.725 GB, free: 100.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000286/2.066, allocations: 4 kB / 1.725 GB, free: 100.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001098/2.067, allocations: 75.83 kB / 1.725 GB, free: 100.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001996/2.068, allocations: 117.8 kB / 1.725 GB, free: 100.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001467/2.068, allocations: 71.97 kB / 1.725 GB, free: 100.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0006244/2.068, allocations: 0.5187 MB / 1.725 GB, free: 99.87 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00217/2.071, allocations: 0.6748 MB / 1.726 GB, free: 99.19 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 8 (dooOpe.mExcAB,dooOpe.mExcBA,volA.dynBal.U,volA.dynBal.m,volB.dynBal.U,volB.dynBal.m,dooOpeClo.mExcAB,dooOpeClo.mExcBA) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (237): * Single equations (assignments): 235 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008057/2.071, allocations: 0.5698 MB / 1.727 GB, free: 98.62 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002489/2.074, allocations: 2.2 MB / 1.729 GB, free: 96.42 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/2.074, allocations: 0 / 1.729 GB, free: 96.42 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001401/2.075, allocations: 1.23 MB / 1.73 GB, free: 95.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002001/2.077, allocations: 468.2 kB / 1.73 GB, free: 94.75 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004537/2.082, allocations: 3.173 MB / 1.734 GB, free: 91.53 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001314/2.083, allocations: 1.58 MB / 1.735 GB, free: 89.91 MB / 0.948 GB Notification: Performance of SimCode: time 3.3e-07/2.083, allocations: 0 / 1.735 GB, free: 89.91 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.OneOpenDoor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_OneOpenDoor_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_OneOpenDoor.fmu > Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1)