Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.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.Validation.OpenDoorPressure,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Validation_OpenDoorPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OpenDoorPressure,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Validation_OpenDoorPressure",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.301/1.301, allocations: 285.5 MB / 292.8 MB, free: 10.5 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.0008941/0.000894, allocations: 187.5 kB / 361.1 MB, free: 7.086 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.007/1.007, allocations: 205.1 MB / 0.6195 GB, free: 10.31 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.0007299/0.0007299, allocations: 99.97 kB / 0.7326 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.176/0.1768, allocations: 121.4 MB / 0.8511 GB, free: 2.918 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4198/0.5966, allocations: 115.3 MB / 0.9637 GB, free: 78.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.775/3.372, allocations: 2.077 GB / 3.04 GB, free: 30.32 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002398/3.372, allocations: 84.66 kB / 3.041 GB, free: 30.24 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:4975:5-4976:59:writable] Error: Variable reference_p: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:4977:5-4978:64:writable] Error: Variable reference_T: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:4981:5-4982:66:writable] Error: Variable p_default: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:4983:5-4984: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.346/4.718, allocations: 455.8 MB / 3.486 GB, free: 221.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/4.718, allocations: 10.25 kB / 3.486 GB, free: 221.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000726/4.719, allocations: 163.5 kB / 3.486 GB, free: 221.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001242/4.72, allocations: 0.6467 MB / 3.486 GB, free: 221 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.358e-05/4.72, allocations: 35.97 kB / 3.487 GB, free: 221 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001688/4.72, allocations: 49.19 kB / 3.487 GB, free: 221 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001925/4.722, allocations: 1.313 MB / 3.488 GB, free: 221 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001526/4.724, allocations: 1.07 MB / 3.489 GB, free: 221 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.625e-05/4.724, allocations: 7.375 kB / 3.489 GB, free: 221 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-05/4.724, allocations: 0 / 3.489 GB, free: 221 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.837e-05/4.724, allocations: 54 kB / 3.489 GB, free: 221 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004621/4.728, allocations: 3.222 MB / 3.492 GB, free: 219.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001441/4.73, allocations: 1.335 MB / 3.493 GB, free: 219.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007493/4.731, allocations: 0.7112 MB / 3.494 GB, free: 219.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009951/4.732, allocations: 1.545 MB / 3.496 GB, free: 218.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007729/4.732, allocations: 0.7042 MB / 3.496 GB, free: 218.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=127): time 3.286e-06/4.732, allocations: 0 / 3.496 GB, free: 218.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=127): time 0.002519/4.735, allocations: 1.435 MB / 3.498 GB, free: 217.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/4.735, allocations: 96.17 kB / 3.498 GB, free: 217.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000479/4.736, allocations: 0.4953 MB / 3.498 GB, free: 217.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.925e-05/4.736, allocations: 29.55 kB / 3.498 GB, free: 217.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/4.736, allocations: 283.5 kB / 3.499 GB, free: 217.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000232/4.736, allocations: 404.1 kB / 3.499 GB, free: 217.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.49e-05/4.736, allocations: 0 / 3.499 GB, free: 217.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.611e-05/4.736, allocations: 398.5 kB / 3.499 GB, free: 217 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005942/4.737, allocations: 0.5177 MB / 3.5 GB, free: 217 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006522/4.737, allocations: 0.6742 MB / 3.5 GB, free: 216.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001412/4.739, allocations: 0.7531 MB / 3.501 GB, free: 216.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/4.739, allocations: 2.969 kB / 3.501 GB, free: 216.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002353/4.741, allocations: 1.518 MB / 3.503 GB, free: 216.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/4.741, allocations: 3.906 kB / 3.503 GB, free: 216.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/4.741, allocations: 5.75 kB / 3.503 GB, free: 216.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/4.741, allocations: 7.094 kB / 3.503 GB, free: 216.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008712/4.742, allocations: 227.7 kB / 3.503 GB, free: 216.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/4.742, allocations: 7.062 kB / 3.503 GB, free: 216.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007291/4.743, allocations: 93.22 kB / 3.503 GB, free: 216.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/4.743, allocations: 52.86 kB / 3.503 GB, free: 216.8 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,bouPre.a,bouPre.b,bouPre.last,$PRE.bouPre.nextEvent,bouPre.nextEvent,bouPre.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (137): * Single equations (assignments): 136 * 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.0001836/4.743, allocations: 156.1 kB / 3.503 GB, free: 216.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001335/4.743, allocations: 92.47 kB / 3.503 GB, free: 216.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002745/4.746, allocations: 1.661 MB / 3.505 GB, free: 216.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/4.746, allocations: 13.16 kB / 3.505 GB, free: 216.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/4.746, allocations: 0 / 3.505 GB, free: 216.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/4.746, allocations: 7.406 kB / 3.505 GB, free: 216.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005172/4.751, allocations: 3.607 MB / 3.509 GB, free: 215.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/4.751, allocations: 7.844 kB / 3.509 GB, free: 215.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008385/4.752, allocations: 212.2 kB / 3.509 GB, free: 215.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.646e-05/4.752, allocations: 13.56 kB / 3.509 GB, free: 215.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.448e-05/4.752, allocations: 28.42 kB / 3.509 GB, free: 215.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.909e-06/4.752, allocations: 11.5 kB / 3.509 GB, free: 215.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/4.752, allocations: 13.06 kB / 3.509 GB, free: 215.8 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003321/4.756, allocations: 2.994 MB / 3.512 GB, free: 214.8 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004311/4.76, allocations: 4.336 MB / 3.516 GB, free: 213.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005793/4.761, allocations: 334.4 kB / 3.516 GB, free: 213.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001868/4.761, allocations: 11.16 kB / 3.516 GB, free: 213.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007422/4.762, allocations: 44.69 kB / 3.516 GB, free: 213.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/4.762, allocations: 85.98 kB / 3.516 GB, free: 213.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.769e-05/4.762, allocations: 48.78 kB / 3.516 GB, free: 213.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0003961/4.762, allocations: 401.8 kB / 3.517 GB, free: 213.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002085/4.764, allocations: 0.6417 MB / 3.517 GB, free: 213.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (dooDis.mExcAB,dooDis.mExcBA) * Number of discrete variables: 6 ($whenCondition1,bouPre.a,bouPre.b,bouPre.last,bouPre.nextEvent,bouPre.nextEventScaled) * Number of discrete states: 6 (bouPre.nextEvent,bouPre.last,bouPre.nextEventScaled,bouPre.b,bouPre.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 125 * 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.002116/4.766, allocations: 1.804 MB / 3.519 GB, free: 212.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001512/4.768, allocations: 1.271 MB / 3.52 GB, free: 212.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/4.768, allocations: 2.344 kB / 3.52 GB, free: 212.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007419/4.769, allocations: 0.7147 MB / 3.521 GB, free: 212.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001086/4.77, allocations: 210.1 kB / 3.521 GB, free: 212.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0028/4.773, allocations: 1.907 MB / 3.523 GB, free: 212.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008681/4.773, allocations: 1.239 MB / 3.524 GB, free: 211.4 MB / 0.948 GB Notification: Performance of SimCode: time 4.71e-07/4.773, allocations: 0 / 3.524 GB, free: 211.4 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Validation_OpenDoorPressure_fmu --startTime=0 --stopTime=28800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Validation_OpenDoorPressure.fmu > Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.pipe 2>&1)