Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ClosedDoors.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.ClosedDoors,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_ClosedDoors",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.284/1.284, allocations: 285.5 MB / 292.8 MB, free: 0.6484 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009408/0.0009408, allocations: 181.9 kB / 361.1 MB, free: 15.28 MB / 290.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9915/0.9915, allocations: 205.1 MB / 0.6195 GB, free: 5.867 MB / 466.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007995/0.0007995, allocations: 89.55 kB / 0.7326 GB, free: 47.34 MB / 0.5183 GB Notification: Performance of FrontEnd - loaded program: time 0.1803/0.1812, allocations: 121.4 MB / 0.8511 GB, free: 12.62 MB / 0.5964 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4209/0.602, allocations: 115.3 MB / 0.9637 GB, free: 85.58 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.028/6.631, allocations: 4.64 GB / 5.604 GB, free: 35.68 MB / 0.9402 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001867/6.631, allocations: 86.55 kB / 5.604 GB, free: 35.6 MB / 0.9402 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 2.478/9.108, allocations: 0.9706 GB / 6.574 GB, free: 127.6 MB / 0.9402 GB Notification: Performance of prepare preOptimizeDAE: time 3.01e-05/9.108, allocations: 8 kB / 6.574 GB, free: 127.6 MB / 0.9402 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003927/9.112, allocations: 0.7039 MB / 6.575 GB, free: 126.9 MB / 0.9402 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003624/9.116, allocations: 1.99 MB / 6.577 GB, free: 124.8 MB / 0.9402 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.069e-05/9.116, allocations: 88 kB / 6.577 GB, free: 124.8 MB / 0.9402 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003223/9.116, allocations: 167.9 kB / 6.577 GB, free: 124.6 MB / 0.9402 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005231/9.122, allocations: 4.144 MB / 6.581 GB, free: 120.5 MB / 0.9402 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003729/9.125, allocations: 2.792 MB / 6.584 GB, free: 117.6 MB / 0.9402 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.5e-05/9.125, allocations: 7.906 kB / 6.584 GB, free: 117.6 MB / 0.9402 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002297/9.126, allocations: 3.938 kB / 6.584 GB, free: 117.6 MB / 0.9402 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.269e-05/9.126, allocations: 125 kB / 6.584 GB, free: 117.5 MB / 0.9402 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01111/9.137, allocations: 10.74 MB / 6.595 GB, free: 106.3 MB / 0.9402 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004237/9.141, allocations: 4.195 MB / 6.599 GB, free: 102.2 MB / 0.9402 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002428/9.143, allocations: 2.414 MB / 6.601 GB, free: 99.78 MB / 0.9402 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007441/9.144, allocations: 0.8564 MB / 6.602 GB, free: 98.77 MB / 0.9402 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/9.144, allocations: 85.61 kB / 6.602 GB, free: 98.68 MB / 0.9402 GB Notification: Performance of pre-optimization done (n=399): time 4.579e-06/9.144, allocations: 0 / 6.602 GB, free: 98.68 MB / 0.9402 GB Notification: Performance of matching and sorting (n=399): time 0.008046/9.152, allocations: 4.432 MB / 6.606 GB, free: 94.22 MB / 0.9402 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.134e-05/9.152, allocations: 90.55 kB / 6.606 GB, free: 94.12 MB / 0.9402 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001055/9.153, allocations: 1.024 MB / 6.607 GB, free: 93.09 MB / 0.9402 GB Notification: Performance of collectPreVariables (initialization): time 0.0001621/9.154, allocations: 25.7 kB / 6.607 GB, free: 93.06 MB / 0.9402 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001867/9.154, allocations: 0.5848 MB / 6.608 GB, free: 92.46 MB / 0.9402 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006367/9.154, allocations: 1.277 MB / 6.609 GB, free: 91.17 MB / 0.9402 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001539/9.155, allocations: 0 / 6.609 GB, free: 91.17 MB / 0.9402 GB Notification: Performance of setup shared object (initialization): time 0.0001248/9.155, allocations: 441.1 kB / 6.61 GB, free: 90.73 MB / 0.9402 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00174/9.156, allocations: 1.538 MB / 6.611 GB, free: 89.19 MB / 0.9402 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001892/9.158, allocations: 1.824 MB / 6.613 GB, free: 87.32 MB / 0.9402 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003991/9.162, allocations: 2.249 MB / 6.615 GB, free: 85.07 MB / 0.9402 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/9.162, allocations: 3.938 kB / 6.615 GB, free: 85.06 MB / 0.9402 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006496/9.169, allocations: 4.375 MB / 6.619 GB, free: 80.67 MB / 0.9402 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/9.169, allocations: 8 kB / 6.619 GB, free: 80.66 MB / 0.9402 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.009e-05/9.169, allocations: 8.484 kB / 6.619 GB, free: 80.65 MB / 0.9402 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.665e-05/9.169, allocations: 16.75 kB / 6.619 GB, free: 80.64 MB / 0.9402 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0026/9.172, allocations: 0.68 MB / 6.62 GB, free: 79.96 MB / 0.9402 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.585e-05/9.172, allocations: 20.62 kB / 6.62 GB, free: 79.94 MB / 0.9402 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002307/9.174, allocations: 293.6 kB / 6.62 GB, free: 79.65 MB / 0.9402 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002219/9.174, allocations: 119.9 kB / 6.62 GB, free: 79.53 MB / 0.9402 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (430): * Single equations (assignments): 430 * 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.000381/9.175, allocations: 148.3 kB / 6.621 GB, free: 79.38 MB / 0.9402 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003386/9.175, allocations: 237.2 kB / 6.621 GB, free: 79.14 MB / 0.9402 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007334/9.182, allocations: 4.825 MB / 6.626 GB, free: 74.28 MB / 0.9402 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.158e-05/9.182, allocations: 36 kB / 6.626 GB, free: 74.24 MB / 0.9402 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/9.182, allocations: 0 / 6.626 GB, free: 74.24 MB / 0.9402 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006036/9.188, allocations: 4.174 MB / 6.63 GB, free: 70.01 MB / 0.9402 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01132/9.2, allocations: 8.187 MB / 6.638 GB, free: 61.85 MB / 0.9402 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/9.2, allocations: 3.906 kB / 6.638 GB, free: 61.84 MB / 0.9402 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002707/9.202, allocations: 0.6632 MB / 6.638 GB, free: 61.18 MB / 0.9402 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003696/9.203, allocations: 142.4 kB / 6.638 GB, free: 61.03 MB / 0.9402 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001949/9.203, allocations: 31.97 kB / 6.638 GB, free: 61 MB / 0.9402 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002783/9.206, allocations: 4.329 MB / 6.643 GB, free: 56.34 MB / 0.9402 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/9.206, allocations: 7.938 kB / 6.643 GB, free: 56.33 MB / 0.9402 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009319/9.215, allocations: 7.264 MB / 6.65 GB, free: 49.02 MB / 0.9402 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01212/9.227, allocations: 10.45 MB / 6.66 GB, free: 38.5 MB / 0.9402 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001504/9.229, allocations: 0.7704 MB / 6.661 GB, free: 37.71 MB / 0.9402 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003972/9.229, allocations: 8 kB / 6.661 GB, free: 37.7 MB / 0.9402 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001934/9.231, allocations: 143.7 kB / 6.661 GB, free: 37.56 MB / 0.9402 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003046/9.231, allocations: 198.8 kB / 6.661 GB, free: 37.37 MB / 0.9402 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002199/9.232, allocations: 115.9 kB / 6.661 GB, free: 37.25 MB / 0.9402 GB Notification: Performance of sort global known variables: time 0.0008605/9.233, allocations: 0.7932 MB / 6.662 GB, free: 36.46 MB / 0.9402 GB Notification: Performance of remove unused functions: time 0.004219/9.237, allocations: 1.408 MB / 6.663 GB, free: 35.05 MB / 0.9402 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 15 (dooAB.mExcAB,dooAB.mExcBA,volA.dynBal.U,volA.dynBal.m,volA.dynBal.mXi[1],volB.dynBal.U,volB.dynBal.m,volB.dynBal.mXi[1],volC.dynBal.U,volC.dynBal.m,volC.dynBal.mXi[1],dooAC.mExcAB,dooAC.mExcBA,dooBC.mExcAB,dooBC.mExcBA) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (393): * Single equations (assignments): 390 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002253/9.239, allocations: 2.541 MB / 6.666 GB, free: 32.7 MB / 0.9402 GB Notification: Performance of simCode: created initialization part: time 0.00412/9.243, allocations: 3.898 MB / 6.67 GB, free: 28.79 MB / 0.9402 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/9.243, allocations: 3.938 kB / 6.67 GB, free: 28.79 MB / 0.9402 GB Notification: Performance of simCode: created simulation system equations: time 0.00236/9.246, allocations: 2.45 MB / 6.672 GB, free: 26.31 MB / 0.9402 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003593/9.249, allocations: 0.8692 MB / 6.673 GB, free: 25.45 MB / 0.9402 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007661/9.257, allocations: 5.739 MB / 6.678 GB, free: 19.74 MB / 0.9402 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00221/9.259, allocations: 2.321 MB / 6.681 GB, free: 17.38 MB / 0.9402 GB Notification: Performance of SimCode: time 5.81e-07/9.259, allocations: 4 kB / 6.681 GB, free: 17.38 MB / 0.9402 GB (rm -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_ClosedDoors_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_ClosedDoors.fmu > Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1)