Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OpenDoorTemperature,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Validation_OpenDoorTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OpenDoorTemperature,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Validation_OpenDoorTemperature",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 9.1.1-maint.9.1.x/package.mo): time 1.804/1.804, allocations: 387.2 MB / 394.5 MB, free: 13.64 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009827/0.0009827, allocations: 173.3 kB / 487 MB, free: 5.352 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.17/1.17, allocations: 221.3 MB / 0.7819 GB, free: 1.457 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008657/0.0008654, allocations: 97.95 kB / 0.9213 GB, free: 2.707 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4529/0.4538, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/0.6691, allocations: 142.3 MB / 1.205 GB, free: 26.18 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.513/4.183, allocations: 1.922 GB / 3.128 GB, free: 380.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001704/4.183, allocations: 87.83 kB / 3.128 GB, free: 380.5 MB / 1.151 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3938:5-3939:59:writable] Error: Variable reference_p: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3940:5-3941:64:writable] Error: Variable reference_T: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3944:5-3945:66:writable] Error: Variable p_default: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3946:5-3947:69:writable] Error: Variable T_default: Internal error - Types.typeOfValue failed: fail() Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 1.133/5.316, allocations: 462.8 MB / 3.58 GB, free: 301.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 2.899e-05/5.316, allocations: 12.41 kB / 3.58 GB, free: 301.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00051/5.317, allocations: 160.1 kB / 3.58 GB, free: 301.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009346/5.318, allocations: 0.6418 MB / 3.58 GB, free: 300.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.34e-05/5.318, allocations: 28.09 kB / 3.58 GB, free: 300.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/5.318, allocations: 50.62 kB / 3.58 GB, free: 300.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001598/5.32, allocations: 1.321 MB / 3.582 GB, free: 300.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001277/5.321, allocations: 1.065 MB / 3.583 GB, free: 300.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.283e-05/5.321, allocations: 3.75 kB / 3.583 GB, free: 300.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.496e-05/5.321, allocations: 2.875 kB / 3.583 GB, free: 300.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.901e-05/5.321, allocations: 49.73 kB / 3.583 GB, free: 300.8 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004138/5.325, allocations: 3.502 MB / 3.586 GB, free: 299.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001381/5.327, allocations: 1.286 MB / 3.588 GB, free: 299.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006738/5.327, allocations: 0.6863 MB / 3.588 GB, free: 299.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000648/5.328, allocations: 0.964 MB / 3.589 GB, free: 298.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007124/5.329, allocations: 0.6881 MB / 3.59 GB, free: 298.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=123): time 2.264e-06/5.329, allocations: 0 / 3.59 GB, free: 298.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=123): time 0.002344/5.331, allocations: 1.385 MB / 3.591 GB, free: 298.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.654e-05/5.331, allocations: 91.36 kB / 3.591 GB, free: 298 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000453/5.331, allocations: 0.5257 MB / 3.592 GB, free: 297.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.004e-05/5.332, allocations: 25.7 kB / 3.592 GB, free: 297.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/5.332, allocations: 294.8 kB / 3.592 GB, free: 297.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002033/5.332, allocations: 399.6 kB / 3.592 GB, free: 297.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.323e-05/5.332, allocations: 0 / 3.592 GB, free: 297.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.821e-05/5.332, allocations: 397.3 kB / 3.593 GB, free: 297.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005768/5.333, allocations: 0.5155 MB / 3.593 GB, free: 297.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006692/5.333, allocations: 0.6958 MB / 3.594 GB, free: 297 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001375/5.335, allocations: 0.7522 MB / 3.595 GB, free: 297 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/5.335, allocations: 0 / 3.595 GB, free: 297 MB / 1.151 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002284/5.337, allocations: 1.516 MB / 3.596 GB, free: 296.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.798e-06/5.337, allocations: 6.188 kB / 3.596 GB, free: 296.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/5.337, allocations: 3.219 kB / 3.596 GB, free: 296.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/5.337, allocations: 9.688 kB / 3.596 GB, free: 296.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008512/5.338, allocations: 225.2 kB / 3.596 GB, free: 296.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/5.338, allocations: 14.02 kB / 3.596 GB, free: 296.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006586/5.339, allocations: 88.47 kB / 3.597 GB, free: 296.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.592e-05/5.339, allocations: 55.25 kB / 3.597 GB, free: 296.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,bouTem.a,bouTem.b,bouTem.last,$PRE.bouTem.nextEvent,bouTem.nextEvent,bouTem.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 1 * 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.0001696/5.339, allocations: 167.3 kB / 3.597 GB, free: 296.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/5.339, allocations: 88.48 kB / 3.597 GB, free: 296.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00262/5.342, allocations: 1.612 MB / 3.598 GB, free: 296.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/5.342, allocations: 15.91 kB / 3.598 GB, free: 296.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/5.342, allocations: 3.656 kB / 3.598 GB, free: 296.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/5.342, allocations: 3.797 kB / 3.598 GB, free: 296.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004423/5.346, allocations: 3.226 MB / 3.602 GB, free: 296 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/5.346, allocations: 11.78 kB / 3.602 GB, free: 296 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000809/5.347, allocations: 204.7 kB / 3.602 GB, free: 296 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.147e-05/5.347, allocations: 11.69 kB / 3.602 GB, free: 296 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-05/5.347, allocations: 19.59 kB / 3.602 GB, free: 296 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.528e-06/5.347, allocations: 19.56 kB / 3.602 GB, free: 296 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/5.347, allocations: 7.531 kB / 3.602 GB, free: 296 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003373/5.35, allocations: 2.835 MB / 3.605 GB, free: 295.2 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004885/5.355, allocations: 4.138 MB / 3.609 GB, free: 294 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006618/5.356, allocations: 335.7 kB / 3.609 GB, free: 293.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001811/5.356, allocations: 14.09 kB / 3.609 GB, free: 293.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006372/5.357, allocations: 35.27 kB / 3.609 GB, free: 293.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001865/5.357, allocations: 80.42 kB / 3.609 GB, free: 293.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001398/5.357, allocations: 54.3 kB / 3.609 GB, free: 293.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0005152/5.358, allocations: 417.8 kB / 3.61 GB, free: 293.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002034/5.36, allocations: 0.6337 MB / 3.61 GB, free: 293.7 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 2 (dooDis.mExcAB,dooDis.mExcBA) * Number of discrete variables: 6 ($whenCondition1,bouTem.a,bouTem.b,bouTem.last,bouTem.nextEvent,bouTem.nextEventScaled) * Number of discrete states: 6 (bouTem.nextEvent,bouTem.last,bouTem.nextEventScaled,bouTem.b,bouTem.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 1 * 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.002082/5.362, allocations: 1.802 MB / 3.612 GB, free: 293.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001657/5.363, allocations: 1.244 MB / 3.613 GB, free: 293 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/5.363, allocations: 1.406 kB / 3.613 GB, free: 293 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007696/5.364, allocations: 0.6824 MB / 3.614 GB, free: 292.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/5.365, allocations: 214.8 kB / 3.614 GB, free: 292.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002868/5.368, allocations: 1.865 MB / 3.616 GB, free: 292 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009181/5.369, allocations: 1.237 MB / 3.617 GB, free: 291.2 MB / 1.151 GB Notification: Performance of SimCode: time 1.403e-06/5.369, allocations: 1.188 kB / 3.617 GB, free: 291.2 MB / 1.151 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Validation_OpenDoorTemperature_fmu --startTime=0 --stopTime=28800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Validation_OpenDoorTemperature.fmu > Buildings_9_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.pipe 2>&1)