Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneOpenDoor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneOpenDoor,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_OneOpenDoor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneOpenDoor,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.305/1.305, allocations: 249.4 MB / 256.7 MB, free: 7.027 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001023/0.001023, allocations: 188.5 kB / 316 MB, free: 3.551 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.269/1.269, allocations: 205.1 MB / 0.5667 GB, free: 15.69 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000937/0.0009369, allocations: 95.08 kB / 0.671 GB, free: 4.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4081/0.409, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2074/0.6164, allocations: 106.3 MB / 0.8846 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.306/1.923, allocations: 442.2 MB / 1.316 GB, free: 305.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000211/1.923, allocations: 79.95 kB / 1.317 GB, free: 305 MB / 0.8698 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.521/2.444, allocations: 283.2 MB / 1.593 GB, free: 18.63 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/2.444, allocations: 8 kB / 1.593 GB, free: 18.62 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004742/2.444, allocations: 197.7 kB / 1.593 GB, free: 18.43 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002387/2.447, allocations: 1.363 MB / 1.595 GB, free: 17.02 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.928e-05/2.447, allocations: 52 kB / 1.595 GB, free: 16.97 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001693/2.447, allocations: 84 kB / 1.595 GB, free: 16.89 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003059/2.45, allocations: 2.27 MB / 1.597 GB, free: 14.62 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002197/2.452, allocations: 1.655 MB / 1.599 GB, free: 12.92 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.694e-05/2.452, allocations: 0 / 1.599 GB, free: 12.92 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001203/2.452, allocations: 0 / 1.599 GB, free: 12.92 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.923e-05/2.452, allocations: 40 kB / 1.599 GB, free: 12.88 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006925/2.459, allocations: 4.988 MB / 1.603 GB, free: 7.812 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001393/2.461, allocations: 1.177 MB / 1.605 GB, free: 6.625 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001471/2.462, allocations: 1.347 MB / 1.606 GB, free: 5.273 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001188/2.464, allocations: 1.723 MB / 1.608 GB, free: 3.184 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/2.464, allocations: 60.56 kB / 1.608 GB, free: 3.113 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=237): time 3.677e-06/2.464, allocations: 0 / 1.608 GB, free: 3.113 MB / 0.8698 GB Notification: Performance of matching and sorting (n=237): time 0.00451/2.468, allocations: 2.454 MB / 1.61 GB, free: 0.6406 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/2.468, allocations: 73.41 kB / 1.61 GB, free: 0.5586 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3924/2.861, allocations: 0.6569 MB / 1.611 GB, free: 291.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005429/2.861, allocations: 25.7 kB / 1.611 GB, free: 291.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001877/2.861, allocations: 362.2 kB / 1.611 GB, free: 291.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006502/2.862, allocations: 0.7606 MB / 1.612 GB, free: 290.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.599e-05/2.862, allocations: 0 / 1.612 GB, free: 290.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001069/2.862, allocations: 385.8 kB / 1.612 GB, free: 290.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001173/2.863, allocations: 0.8524 MB / 1.613 GB, free: 290.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001156/2.865, allocations: 1.049 MB / 1.614 GB, free: 290.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002903/2.867, allocations: 1.303 MB / 1.615 GB, free: 290.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.003e-05/2.867, allocations: 3.719 kB / 1.615 GB, free: 290.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.00462/2.872, allocations: 2.544 MB / 1.618 GB, free: 290.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/2.872, allocations: 10.12 kB / 1.618 GB, free: 290.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/2.872, allocations: 6.609 kB / 1.618 GB, free: 290.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.24e-05/2.872, allocations: 14.03 kB / 1.618 GB, free: 290.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001681/2.874, allocations: 435.8 kB / 1.618 GB, free: 290.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.738e-05/2.874, allocations: 16.06 kB / 1.618 GB, free: 290.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001527/2.875, allocations: 172.4 kB / 1.618 GB, free: 290.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001706/2.876, allocations: 73.06 kB / 1.619 GB, free: 290.2 MB / 0.8698 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.0003363/2.876, allocations: 140.2 kB / 1.619 GB, free: 290.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003114/2.876, allocations: 143.9 kB / 1.619 GB, free: 290.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005985/2.882, allocations: 2.88 MB / 1.622 GB, free: 289.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-05/2.882, allocations: 23 kB / 1.622 GB, free: 289.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/2.882, allocations: 0 / 1.622 GB, free: 289.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004101/2.886, allocations: 2.513 MB / 1.624 GB, free: 289.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006976/2.893, allocations: 4.249 MB / 1.628 GB, free: 289.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.704e-06/2.893, allocations: 0 / 1.628 GB, free: 289.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001688/2.895, allocations: 411.7 kB / 1.629 GB, free: 289.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003954/2.896, allocations: 89.62 kB / 1.629 GB, free: 289.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001238/2.896, allocations: 18.45 kB / 1.629 GB, free: 289.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006256/2.896, allocations: 1.133 MB / 1.63 GB, free: 288.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/2.896, allocations: 0 / 1.63 GB, free: 288.2 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006374/2.903, allocations: 4.225 MB / 1.634 GB, free: 287.8 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007974/2.911, allocations: 6.112 MB / 1.64 GB, free: 287.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001066/2.912, allocations: 499.5 kB / 1.64 GB, free: 287 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002555/2.912, allocations: 0 / 1.64 GB, free: 287 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001057/2.913, allocations: 75.22 kB / 1.641 GB, free: 287 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002162/2.913, allocations: 119.5 kB / 1.641 GB, free: 287 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001404/2.914, allocations: 73.81 kB / 1.641 GB, free: 287 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0006433/2.914, allocations: 0.5157 MB / 1.641 GB, free: 286.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002235/2.916, allocations: 0.6893 MB / 1.642 GB, free: 286.8 MB / 0.8698 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.0009326/2.917, allocations: 0.5566 MB / 1.642 GB, free: 286.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002947/2.92, allocations: 2.204 MB / 1.645 GB, free: 286.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/2.92, allocations: 0 / 1.645 GB, free: 286.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001644/2.922, allocations: 1.235 MB / 1.646 GB, free: 286.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002479/2.925, allocations: 462.2 kB / 1.646 GB, free: 286.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005218/2.93, allocations: 3.176 MB / 1.649 GB, free: 286.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001411/2.931, allocations: 1.585 MB / 1.651 GB, free: 285.4 MB / 0.8698 GB Notification: Performance of SimCode: time 2.164e-06/2.931, allocations: 0 / 1.651 GB, free: 285.4 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneOpenDoor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_OneOpenDoor_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_OneOpenDoor.fmu > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1)