Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Airflow.Multizone.Validation.DoorOpenClosed.conf.json 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/IDEAS 3.0.0-master/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Airflow.Multizone.Validation.DoorOpenClosed,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Validation_DoorOpenClosed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Validation.DoorOpenClosed,fileNamePrefix="IDEAS_dev_IDEAS_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/Complex 4.0.0+maint.om/package.mo): time 0.003537/0.003537, allocations: 182.6 kB / 7.461 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7331/0.7331, allocations: 133.5 MB / 141.4 MB, free: 15.73 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.552/1.552, allocations: 221.3 MB / 395 MB, free: 10.23 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 101.1 kB / 477.8 MB, free: 10.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5521/0.5532, allocations: 88.42 MB / 0.5529 GB, free: 89.01 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2039/0.7571, allocations: 82.3 MB / 0.6333 GB, free: 14.06 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.07/5.827, allocations: 1.883 GB / 2.516 GB, free: 79.97 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002454/5.827, allocations: 87.45 kB / 2.516 GB, free: 79.89 MB / 0.6823 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.791/8.619, allocations: 0.6686 GB / 3.185 GB, free: 109.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/8.619, allocations: 9.75 kB / 3.185 GB, free: 109.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007091/8.62, allocations: 157.4 kB / 3.185 GB, free: 109.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001035/8.621, allocations: 0.5573 MB / 3.185 GB, free: 109.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.641e-05/8.621, allocations: 23.97 kB / 3.185 GB, free: 109.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.299e-05/8.621, allocations: 43.22 kB / 3.185 GB, free: 109.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009861/8.622, allocations: 0.5735 MB / 3.186 GB, free: 109.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/8.623, allocations: 0.717 MB / 3.187 GB, free: 109.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.442e-05/8.623, allocations: 2.5 kB / 3.187 GB, free: 109.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.424e-05/8.623, allocations: 0 / 3.187 GB, free: 109.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-05/8.623, allocations: 46.42 kB / 3.187 GB, free: 109.3 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0049/8.628, allocations: 4.501 MB / 3.191 GB, free: 106.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009382/8.629, allocations: 415.1 kB / 3.192 GB, free: 106.1 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002374/8.629, allocations: 165.5 kB / 3.192 GB, free: 106 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000568/8.63, allocations: 0.7653 MB / 3.192 GB, free: 105.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/8.63, allocations: 37.02 kB / 3.192 GB, free: 105.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=40): time 2.885e-06/8.63, allocations: 0 / 3.192 GB, free: 105.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=40): time 0.0009408/8.631, allocations: 411.8 kB / 3.193 GB, free: 105.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/8.631, allocations: 56.84 kB / 3.193 GB, free: 105 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006175/8.631, allocations: 496 kB / 3.193 GB, free: 104.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.003e-05/8.631, allocations: 31.67 kB / 3.193 GB, free: 104.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000232/8.632, allocations: 334.6 kB / 3.194 GB, free: 104.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.00011/8.632, allocations: 129.3 kB / 3.194 GB, free: 104.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.501e-05/8.632, allocations: 0 / 3.194 GB, free: 104.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001373/8.632, allocations: 370.2 kB / 3.194 GB, free: 104.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002528/8.632, allocations: 172.6 kB / 3.194 GB, free: 104.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003573/8.633, allocations: 307 kB / 3.195 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003706/8.633, allocations: 220 kB / 3.195 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/8.633, allocations: 0 / 3.195 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008451/8.634, allocations: 0.5314 MB / 3.195 GB, free: 104.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/8.634, allocations: 6.781 kB / 3.195 GB, free: 104.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/8.634, allocations: 7.438 kB / 3.195 GB, free: 104.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/8.634, allocations: 7.531 kB / 3.195 GB, free: 104.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005104/8.634, allocations: 109.9 kB / 3.195 GB, free: 104.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.589e-05/8.634, allocations: 6.438 kB / 3.196 GB, free: 104.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00074/8.635, allocations: 74.98 kB / 3.196 GB, free: 104.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.806e-05/8.635, allocations: 27.36 kB / 3.196 GB, free: 104.1 MB / 0.6823 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.0001146/8.635, allocations: 119.9 kB / 3.196 GB, free: 104 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.914e-05/8.636, allocations: 57.97 kB / 3.196 GB, free: 104 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008335/8.636, allocations: 493.7 kB / 3.196 GB, free: 103.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/8.636, allocations: 7.781 kB / 3.196 GB, free: 103.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/8.636, allocations: 0 / 3.196 GB, free: 103.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/8.636, allocations: 6.062 kB / 3.196 GB, free: 103.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003028/8.639, allocations: 1.936 MB / 3.198 GB, free: 103.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/8.639, allocations: 10.28 kB / 3.198 GB, free: 103.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004203/8.64, allocations: 96.16 kB / 3.198 GB, free: 103.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.299e-05/8.64, allocations: 11.28 kB / 3.198 GB, free: 103.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.375e-05/8.64, allocations: 11.72 kB / 3.198 GB, free: 103.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.334e-06/8.64, allocations: 13.2 kB / 3.198 GB, free: 103.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/8.64, allocations: 7.844 kB / 3.198 GB, free: 103.2 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001245/8.641, allocations: 1.29 MB / 3.2 GB, free: 102.2 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00201/8.643, allocations: 1.999 MB / 3.202 GB, free: 101 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003706/8.644, allocations: 195.5 kB / 3.202 GB, free: 100.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/8.644, allocations: 10.53 kB / 3.202 GB, free: 100.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006564/8.644, allocations: 47.81 kB / 3.202 GB, free: 100.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/8.645, allocations: 48.17 kB / 3.202 GB, free: 100.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.769e-05/8.645, allocations: 20.19 kB / 3.202 GB, free: 100.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0004856/8.645, allocations: 391.4 kB / 3.202 GB, free: 100.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002545/8.648, allocations: 0.6552 MB / 3.203 GB, free: 100.7 MB / 0.6823 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.003328/8.651, allocations: 2.311 MB / 3.205 GB, free: 100.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0008013/8.652, allocations: 414 kB / 3.205 GB, free: 100.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/8.652, allocations: 5.375 kB / 3.205 GB, free: 100.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003122/8.652, allocations: 216.8 kB / 3.206 GB, free: 100.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001414/8.654, allocations: 217.5 kB / 3.206 GB, free: 100 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002605/8.656, allocations: 1.154 MB / 3.207 GB, free: 99.53 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008052/8.657, allocations: 1.096 MB / 3.208 GB, free: 98.82 MB / 0.6823 GB Notification: Performance of SimCode: time 7.42e-07/8.657, allocations: 2.781 kB / 3.208 GB, free: 98.82 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Validation.DoorOpenClosed.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Validation.DoorOpenClosed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_Validation_DoorOpenClosed_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_Validation_DoorOpenClosed.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Validation.DoorOpenClosed.pipe 2>&1)