Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.DoorOpenClosed,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_Validation_DoorOpenClosed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.DoorOpenClosed,fileNamePrefix="Buildings_8_0_0_Buildings_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/Buildings 8.0.0/package.mo): time 2.165/2.165, allocations: 284.8 MB / 292.1 MB, free: 10.72 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.001582/0.001582, allocations: 185.2 kB / 360.3 MB, free: 7.508 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.662/1.662, allocations: 205.1 MB / 0.6187 GB, free: 13.18 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.001216/0.001216, allocations: 99.27 kB / 0.7317 GB, free: 45.07 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.249/0.2502, allocations: 121.4 MB / 0.8502 GB, free: 3.887 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5554/0.8057, allocations: 115.2 MB / 0.9627 GB, free: 78.26 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.571/5.377, allocations: 2.073 GB / 3.036 GB, free: 272.6 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002487/5.377, allocations: 84.59 kB / 3.036 GB, free: 272.6 MB / 0.9323 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: 185 * Number of variables: 185 Notification: Performance of Generate backend data structure: time 2.558/7.935, allocations: 0.6585 GB / 3.694 GB, free: 37.32 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/7.935, allocations: 8.5 kB / 3.694 GB, free: 37.31 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001106/7.936, allocations: 154.7 kB / 3.695 GB, free: 37.16 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001498/7.938, allocations: 0.5627 MB / 3.695 GB, free: 36.55 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.268e-05/7.938, allocations: 23.98 kB / 3.695 GB, free: 36.53 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001421/7.938, allocations: 44 kB / 3.695 GB, free: 36.49 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001663/7.94, allocations: 0.5741 MB / 3.696 GB, free: 35.91 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001656/7.942, allocations: 0.7191 MB / 3.696 GB, free: 35.17 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.014e-05/7.942, allocations: 0 / 3.696 GB, free: 35.17 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.539e-05/7.942, allocations: 4 kB / 3.696 GB, free: 35.16 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.178e-05/7.942, allocations: 41.98 kB / 3.697 GB, free: 35.12 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007488/7.949, allocations: 4.511 MB / 3.701 GB, free: 30.08 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002263/7.952, allocations: 416.8 kB / 3.701 GB, free: 29.66 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006771/7.952, allocations: 161.5 kB / 3.701 GB, free: 29.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001417/7.954, allocations: 0.7716 MB / 3.702 GB, free: 28.57 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/7.954, allocations: 38.89 kB / 3.702 GB, free: 28.52 MB / 0.948 GB Notification: Performance of pre-optimization done (n=40): time 6.662e-06/7.954, allocations: 0 / 3.702 GB, free: 28.52 MB / 0.948 GB Notification: Performance of matching and sorting (n=40): time 0.002589/7.957, allocations: 406.9 kB / 3.703 GB, free: 28.12 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/7.957, allocations: 63.39 kB / 3.703 GB, free: 28.04 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001498/7.958, allocations: 494.2 kB / 3.703 GB, free: 27.55 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001018/7.958, allocations: 25.7 kB / 3.703 GB, free: 27.52 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002564/7.959, allocations: 335.2 kB / 3.704 GB, free: 27.19 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000185/7.959, allocations: 130 kB / 3.704 GB, free: 27.06 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.244e-05/7.959, allocations: 0 / 3.704 GB, free: 27.06 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001846/7.959, allocations: 362.8 kB / 3.704 GB, free: 26.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008541/7.96, allocations: 168.9 kB / 3.704 GB, free: 26.53 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008089/7.961, allocations: 317.1 kB / 3.704 GB, free: 26.16 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009086/7.962, allocations: 215.6 kB / 3.705 GB, free: 25.95 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/7.962, allocations: 0 / 3.705 GB, free: 25.95 MB / 0.948 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001672/7.963, allocations: 0.5356 MB / 3.705 GB, free: 25.41 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/7.963, allocations: 8.062 kB / 3.705 GB, free: 25.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/7.964, allocations: 4 kB / 3.705 GB, free: 25.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.559e-05/7.964, allocations: 8 kB / 3.705 GB, free: 25.39 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009868/7.965, allocations: 99.83 kB / 3.705 GB, free: 25.29 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.429e-05/7.965, allocations: 15.92 kB / 3.705 GB, free: 25.28 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/7.966, allocations: 75.48 kB / 3.705 GB, free: 25.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.91e-05/7.966, allocations: 24 kB / 3.705 GB, free: 25.18 MB / 0.948 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.000155/7.966, allocations: 112.9 kB / 3.706 GB, free: 25.06 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001486/7.966, allocations: 59.25 kB / 3.706 GB, free: 25 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001365/7.968, allocations: 497.5 kB / 3.706 GB, free: 24.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/7.968, allocations: 7.938 kB / 3.706 GB, free: 24.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-06/7.968, allocations: 0 / 3.706 GB, free: 24.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.307e-06/7.968, allocations: 4 kB / 3.706 GB, free: 24.49 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004887/7.973, allocations: 1.936 MB / 3.708 GB, free: 22.38 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/7.973, allocations: 8 kB / 3.708 GB, free: 22.38 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008467/7.974, allocations: 95.83 kB / 3.708 GB, free: 22.28 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.645e-05/7.974, allocations: 12 kB / 3.708 GB, free: 22.27 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.855e-05/7.974, allocations: 8 kB / 3.708 GB, free: 22.26 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.184e-05/7.974, allocations: 15.94 kB / 3.708 GB, free: 22.25 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.588e-06/7.974, allocations: 15.92 kB / 3.708 GB, free: 22.23 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001819/7.976, allocations: 1.278 MB / 3.709 GB, free: 20.65 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002922/7.979, allocations: 1.997 MB / 3.711 GB, free: 18.37 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005155/7.979, allocations: 188.2 kB / 3.711 GB, free: 18.16 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000168/7.979, allocations: 19.92 kB / 3.712 GB, free: 18.14 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/7.98, allocations: 51.95 kB / 3.712 GB, free: 18.09 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/7.98, allocations: 51.7 kB / 3.712 GB, free: 18.04 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-05/7.981, allocations: 27.98 kB / 3.712 GB, free: 18.02 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0006726/7.981, allocations: 386.9 kB / 3.712 GB, free: 17.64 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003246/7.985, allocations: 0.6556 MB / 3.713 GB, free: 16.98 MB / 0.948 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.003557/7.988, allocations: 2.303 MB / 3.715 GB, free: 14.55 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001177/7.989, allocations: 418.3 kB / 3.715 GB, free: 14.15 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/7.989, allocations: 4 kB / 3.715 GB, free: 14.14 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000531/7.99, allocations: 213.5 kB / 3.715 GB, free: 13.94 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002233/7.992, allocations: 210.8 kB / 3.716 GB, free: 13.73 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004884/7.997, allocations: 1.15 MB / 3.717 GB, free: 12.46 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001032/7.998, allocations: 1.104 MB / 3.718 GB, free: 11.33 MB / 0.948 GB Notification: Performance of SimCode: time 2.034e-06/7.998, allocations: 0 / 3.718 GB, free: 11.33 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; mkfifo Buildings_8.0.0_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe >> ../files/Buildings_8.0.0_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Airflow_Multizone_Validation_DoorOpenClosed_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Airflow_Multizone_Validation_DoorOpenClosed.fmu > Buildings_8.0.0_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe 2>&1)