Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Airflow_Multizone_Validation_DoorOpenClosed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Validation.DoorOpenClosed,fileNamePrefix="IDEAS_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.004531/0.004531, allocations: 177.3 kB / 7.454 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7257/0.7257, allocations: 133.5 MB / 141.4 MB, free: 15.65 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.513/1.513, allocations: 221.3 MB / 395 MB, free: 10.2 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.001041/0.00104, allocations: 97.23 kB / 477.8 MB, free: 10.79 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5009/0.5019, allocations: 88.43 MB / 0.5529 GB, free: 89.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.193/0.6949, allocations: 82.3 MB / 0.6333 GB, free: 14.01 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.122/5.817, allocations: 1.883 GB / 2.516 GB, free: 70.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002761/5.817, allocations: 83.95 kB / 2.516 GB, free: 70.52 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 3.094/8.911, allocations: 0.6686 GB / 3.185 GB, free: 108.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 8.95e-05/8.911, allocations: 6.469 kB / 3.185 GB, free: 108.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008192/8.912, allocations: 156.6 kB / 3.185 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001201/8.913, allocations: 0.5607 MB / 3.185 GB, free: 108 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.091e-05/8.913, allocations: 22.88 kB / 3.185 GB, free: 108 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/8.913, allocations: 44.28 kB / 3.185 GB, free: 108 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009969/8.914, allocations: 0.5775 MB / 3.186 GB, free: 108 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/8.915, allocations: 0.7159 MB / 3.187 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.962e-05/8.915, allocations: 0 / 3.187 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.786e-05/8.915, allocations: 0 / 3.187 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-05/8.915, allocations: 56.22 kB / 3.187 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005298/8.921, allocations: 4.494 MB / 3.191 GB, free: 104.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000999/8.922, allocations: 422.2 kB / 3.192 GB, free: 104.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002885/8.922, allocations: 164.1 kB / 3.192 GB, free: 104.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000782/8.923, allocations: 0.7667 MB / 3.192 GB, free: 103.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/8.923, allocations: 37.67 kB / 3.192 GB, free: 103.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=40): time 4.258e-06/8.923, allocations: 0 / 3.192 GB, free: 103.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=40): time 0.001128/8.924, allocations: 409.4 kB / 3.193 GB, free: 103.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.804e-05/8.924, allocations: 61.41 kB / 3.193 GB, free: 103.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007056/8.925, allocations: 498.2 kB / 3.193 GB, free: 103.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.062e-05/8.925, allocations: 25.7 kB / 3.193 GB, free: 103.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000239/8.925, allocations: 333.3 kB / 3.194 GB, free: 103.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/8.925, allocations: 136.6 kB / 3.194 GB, free: 103.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.454e-05/8.925, allocations: 0 / 3.194 GB, free: 103.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001533/8.925, allocations: 367.4 kB / 3.194 GB, free: 102.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002555/8.926, allocations: 158.9 kB / 3.194 GB, free: 102.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003825/8.926, allocations: 312.7 kB / 3.195 GB, free: 102.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003715/8.926, allocations: 217.4 kB / 3.195 GB, free: 102.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/8.926, allocations: 4.719 kB / 3.195 GB, free: 102.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009509/8.927, allocations: 0.5311 MB / 3.195 GB, free: 102.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/8.927, allocations: 6.344 kB / 3.195 GB, free: 102.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/8.927, allocations: 6.469 kB / 3.195 GB, free: 102.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.456e-05/8.928, allocations: 7.594 kB / 3.195 GB, free: 102.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005238/8.928, allocations: 105.5 kB / 3.195 GB, free: 102.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.472e-05/8.928, allocations: 8.656 kB / 3.196 GB, free: 102.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008045/8.929, allocations: 77.23 kB / 3.196 GB, free: 102.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-05/8.929, allocations: 26.19 kB / 3.196 GB, free: 102.7 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.0001155/8.929, allocations: 119.3 kB / 3.196 GB, free: 102.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.695e-05/8.929, allocations: 58.06 kB / 3.196 GB, free: 102.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007873/8.93, allocations: 493 kB / 3.196 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.635e-06/8.93, allocations: 3.188 kB / 3.196 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/8.93, allocations: 2 kB / 3.196 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/8.93, allocations: 7.484 kB / 3.196 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002976/8.933, allocations: 1.935 MB / 3.198 GB, free: 101.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.507e-06/8.933, allocations: 7.688 kB / 3.198 GB, free: 101.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004193/8.933, allocations: 98.31 kB / 3.198 GB, free: 101.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.28e-05/8.933, allocations: 10.72 kB / 3.198 GB, free: 101.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.415e-05/8.934, allocations: 13.66 kB / 3.198 GB, free: 101.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.406e-06/8.934, allocations: 10.2 kB / 3.198 GB, free: 101.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.415e-05/8.934, allocations: 16.5 kB / 3.198 GB, free: 101.7 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001322/8.935, allocations: 1.274 MB / 3.2 GB, free: 100.8 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001965/8.937, allocations: 2.004 MB / 3.201 GB, free: 99.54 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003497/8.937, allocations: 192.7 kB / 3.202 GB, free: 99.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/8.937, allocations: 14.31 kB / 3.202 GB, free: 99.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006329/8.938, allocations: 53.12 kB / 3.202 GB, free: 99.41 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/8.938, allocations: 43.05 kB / 3.202 GB, free: 99.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.002e-05/8.938, allocations: 28.03 kB / 3.202 GB, free: 99.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0004789/8.939, allocations: 386.1 kB / 3.202 GB, free: 99.32 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002675/8.941, allocations: 0.6534 MB / 3.203 GB, free: 99.29 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.004693/8.946, allocations: 2.316 MB / 3.205 GB, free: 98.62 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001132/8.947, allocations: 412.3 kB / 3.205 GB, free: 98.61 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.173e-05/8.947, allocations: 0 / 3.205 GB, free: 98.61 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003627/8.948, allocations: 215.1 kB / 3.206 GB, free: 98.61 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001817/8.949, allocations: 222.4 kB / 3.206 GB, free: 98.59 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0035/8.953, allocations: 1.153 MB / 3.207 GB, free: 98.08 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001181/8.954, allocations: 1.092 MB / 3.208 GB, free: 97.37 MB / 0.6823 GB Notification: Performance of SimCode: time 2.655e-06/8.954, allocations: 3.5 kB / 3.208 GB, free: 97.37 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Validation.DoorOpenClosed.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Validation.DoorOpenClosed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_Validation_DoorOpenClosed_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_Validation_DoorOpenClosed.fmu > IDEAS_IDEAS.Airflow.Multizone.Validation.DoorOpenClosed.pipe 2>&1)