Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_DoorOpenClosed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_DoorOpenClosed",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/BuildingSystems 2.0.0-master/package.mo): time 0.761/0.761, allocations: 141.8 MB / 149.1 MB, free: 1.52 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001128/0.001127, allocations: 181.3 kB / 181.9 MB, free: 0.9258 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 221.3 MB / 436 MB, free: 5.445 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009221/0.0009223, allocations: 88.73 kB / 0.507 GB, free: 2.125 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001648/0.001648, allocations: 284.1 kB / 0.5884 GB, free: 47.26 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 0.4654/0.4671, allocations: 89.63 MB / 0.676 GB, free: 59.46 MB / 442.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.182/0.6491, allocations: 82.78 MB / 0.7568 GB, free: 0.625 MB / 442.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.49/5.139, allocations: 1.88 GB / 2.636 GB, free: 87.07 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002633/5.139, allocations: 91.88 kB / 2.637 GB, free: 86.99 MB / 0.6982 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: 185 * Number of variables: 185 Notification: Performance of Generate backend data structure: time 2.565/7.705, allocations: 0.6686 GB / 3.305 GB, free: 109.4 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/7.705, allocations: 6.969 kB / 3.305 GB, free: 109.4 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009568/7.706, allocations: 153.5 kB / 3.305 GB, free: 109.4 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001334/7.707, allocations: 0.5589 MB / 3.306 GB, free: 109.1 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.541e-05/7.707, allocations: 23.53 kB / 3.306 GB, free: 109.1 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001537/7.707, allocations: 44.19 kB / 3.306 GB, free: 109.1 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001187/7.709, allocations: 0.5739 MB / 3.306 GB, free: 109.1 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001262/7.71, allocations: 0.7204 MB / 3.307 GB, free: 109 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.004e-05/7.71, allocations: 1.5 kB / 3.307 GB, free: 109 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.696e-05/7.71, allocations: 3.344 kB / 3.307 GB, free: 109 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.104e-05/7.71, allocations: 46.36 kB / 3.307 GB, free: 109 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005318/7.715, allocations: 4.497 MB / 3.312 GB, free: 105.8 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008883/7.716, allocations: 430.3 kB / 3.312 GB, free: 105.8 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002573/7.717, allocations: 166.9 kB / 3.312 GB, free: 105.8 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005703/7.717, allocations: 0.7681 MB / 3.313 GB, free: 104.9 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/7.717, allocations: 38.52 kB / 3.313 GB, free: 104.9 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=40): time 2.825e-06/7.717, allocations: 0 / 3.313 GB, free: 104.9 MB / 0.6982 GB Notification: Performance of matching and sorting (n=40): time 0.0009914/7.718, allocations: 410.6 kB / 3.313 GB, free: 104.8 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.427e-05/7.718, allocations: 57.41 kB / 3.313 GB, free: 104.7 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006331/7.719, allocations: 496.5 kB / 3.314 GB, free: 104.6 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 4.168e-05/7.719, allocations: 29.14 kB / 3.314 GB, free: 104.6 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001798/7.719, allocations: 332.8 kB / 3.314 GB, free: 104.4 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/7.719, allocations: 132.6 kB / 3.314 GB, free: 104.3 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.477e-05/7.719, allocations: 2.844 kB / 3.314 GB, free: 104.3 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 0.0001101/7.719, allocations: 366.8 kB / 3.315 GB, free: 104 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002423/7.72, allocations: 170.2 kB / 3.315 GB, free: 104 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003213/7.72, allocations: 307.8 kB / 3.315 GB, free: 103.9 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003801/7.72, allocations: 217.4 kB / 3.315 GB, free: 103.9 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/7.72, allocations: 0 / 3.315 GB, free: 103.9 MB / 0.6982 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008918/7.721, allocations: 0.5322 MB / 3.316 GB, free: 103.8 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/7.721, allocations: 6 kB / 3.316 GB, free: 103.8 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/7.721, allocations: 6.719 kB / 3.316 GB, free: 103.8 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.581e-05/7.721, allocations: 6.719 kB / 3.316 GB, free: 103.8 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000505/7.722, allocations: 106.8 kB / 3.316 GB, free: 103.8 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/7.722, allocations: 9.859 kB / 3.316 GB, free: 103.8 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007578/7.723, allocations: 73.45 kB / 3.316 GB, free: 103.8 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.108e-05/7.723, allocations: 21.94 kB / 3.316 GB, free: 103.8 MB / 0.6982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 57 * 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.0001172/7.723, allocations: 121.4 kB / 3.316 GB, free: 103.7 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/7.723, allocations: 62.03 kB / 3.316 GB, free: 103.7 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000805/7.724, allocations: 490.7 kB / 3.317 GB, free: 103.6 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/7.724, allocations: 5.438 kB / 3.317 GB, free: 103.6 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/7.724, allocations: 0 / 3.317 GB, free: 103.6 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/7.724, allocations: 7.141 kB / 3.317 GB, free: 103.6 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003365/7.727, allocations: 1.934 MB / 3.319 GB, free: 102.9 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.364e-05/7.727, allocations: 3.969 kB / 3.319 GB, free: 102.9 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004765/7.728, allocations: 93.89 kB / 3.319 GB, free: 102.9 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-05/7.728, allocations: 12.97 kB / 3.319 GB, free: 102.9 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.516e-05/7.728, allocations: 13 kB / 3.319 GB, free: 102.9 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-05/7.728, allocations: 19.12 kB / 3.319 GB, free: 102.9 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.33e-05/7.728, allocations: 11.12 kB / 3.319 GB, free: 102.9 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001497/7.729, allocations: 1.276 MB / 3.32 GB, free: 102 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002399/7.732, allocations: 1.993 MB / 3.322 GB, free: 100.7 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004572/7.732, allocations: 201.4 kB / 3.322 GB, free: 100.6 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001483/7.732, allocations: 9.281 kB / 3.322 GB, free: 100.6 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006683/7.733, allocations: 48.92 kB / 3.322 GB, free: 100.6 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/7.733, allocations: 49.61 kB / 3.322 GB, free: 100.5 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.92e-05/7.733, allocations: 18.97 kB / 3.322 GB, free: 100.5 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0004854/7.734, allocations: 391.1 kB / 3.323 GB, free: 100.5 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.002857/7.737, allocations: 0.6594 MB / 3.323 GB, free: 100.4 MB / 0.6982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 1 (lea.mExc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 48 * 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 Backend phase and start with SimCode phase: time 0.00324/7.74, allocations: 2.322 MB / 3.326 GB, free: 99.75 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.0007859/7.741, allocations: 411.6 kB / 3.326 GB, free: 99.74 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/7.741, allocations: 3.5 kB / 3.326 GB, free: 99.74 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0002937/7.741, allocations: 210.8 kB / 3.326 GB, free: 99.74 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001244/7.742, allocations: 219.5 kB / 3.326 GB, free: 99.73 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002711/7.745, allocations: 1.156 MB / 3.327 GB, free: 99.21 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008351/7.746, allocations: 1.106 MB / 3.329 GB, free: 98.5 MB / 0.6982 GB Notification: Performance of SimCode: time 3.61e-07/7.746, allocations: 2.219 kB / 3.329 GB, free: 98.5 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_DoorOpenClosed_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_DoorOpenClosed.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.pipe 2>&1)