Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Airflow.Multizone.Validation.OpenDoorTemperature.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.OpenDoorTemperature,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Validation_OpenDoorTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Validation.OpenDoorTemperature,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Validation_OpenDoorTemperature",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.002579/0.002579, allocations: 183.3 kB / 7.459 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.7439/0.7439, allocations: 133.5 MB / 141.4 MB, free: 15.68 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.371/1.371, allocations: 221.3 MB / 395 MB, free: 10.18 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.0009077/0.0009076, allocations: 94.92 kB / 477.8 MB, free: 10.79 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4336/0.4345, allocations: 88.43 MB / 0.5529 GB, free: 89.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.6097, allocations: 82.3 MB / 0.6333 GB, free: 13.98 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.719/5.329, allocations: 1.885 GB / 2.519 GB, free: 67.39 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003787/5.329, allocations: 79.95 kB / 2.519 GB, free: 67.31 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: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 2.042/7.372, allocations: 462.8 MB / 2.971 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.592e-05/7.372, allocations: 8.531 kB / 2.971 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008712/7.373, allocations: 161.5 kB / 2.971 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00188/7.375, allocations: 0.6513 MB / 2.971 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.444e-05/7.375, allocations: 27.5 kB / 2.971 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001747/7.375, allocations: 51.06 kB / 2.971 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002872/7.378, allocations: 1.323 MB / 2.973 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001654/7.379, allocations: 1.067 MB / 2.974 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.927e-05/7.379, allocations: 0 / 2.974 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-05/7.38, allocations: 4 kB / 2.974 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.584e-05/7.38, allocations: 45.98 kB / 2.974 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005895/7.386, allocations: 3.496 MB / 2.977 GB, free: 138.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001757/7.387, allocations: 1.301 MB / 2.978 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008325/7.388, allocations: 0.6861 MB / 2.979 GB, free: 136.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008617/7.389, allocations: 0.96 MB / 2.98 GB, free: 135.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009058/7.39, allocations: 0.6857 MB / 2.981 GB, free: 134.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=123): time 3.696e-06/7.39, allocations: 0 / 2.981 GB, free: 134.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=123): time 0.002972/7.393, allocations: 1.381 MB / 2.982 GB, free: 133.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/7.393, allocations: 94.09 kB / 2.982 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006938/7.394, allocations: 0.5242 MB / 2.983 GB, free: 132.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.352e-05/7.394, allocations: 33.7 kB / 2.983 GB, free: 132.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002358/7.394, allocations: 292.7 kB / 2.983 GB, free: 132.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003268/7.394, allocations: 398 kB / 2.983 GB, free: 131.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.86e-05/7.394, allocations: 4 kB / 2.983 GB, free: 131.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001396/7.395, allocations: 397.1 kB / 2.984 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006815/7.395, allocations: 0.5101 MB / 2.984 GB, free: 131 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000785/7.396, allocations: 0.6882 MB / 2.985 GB, free: 130.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001634/7.398, allocations: 0.7542 MB / 2.986 GB, free: 129.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/7.398, allocations: 4 kB / 2.986 GB, free: 129.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002772/7.4, allocations: 1.515 MB / 2.987 GB, free: 128 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/7.401, allocations: 7.938 kB / 2.987 GB, free: 128 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/7.401, allocations: 4 kB / 2.987 GB, free: 128 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.204e-05/7.401, allocations: 12 kB / 2.987 GB, free: 128 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009982/7.402, allocations: 227.7 kB / 2.987 GB, free: 127.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.546e-05/7.402, allocations: 12.05 kB / 2.987 GB, free: 127.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009947/7.403, allocations: 90.75 kB / 2.987 GB, free: 127.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001262/7.403, allocations: 59.83 kB / 2.988 GB, free: 127.6 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,bouTem.a,bouTem.b,bouTem.last,$PRE.bouTem.nextEvent,bouTem.nextEvent,bouTem.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 137 * 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.0002546/7.403, allocations: 158.4 kB / 2.988 GB, free: 127.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001416/7.403, allocations: 90.09 kB / 2.988 GB, free: 127.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003152/7.406, allocations: 1.612 MB / 2.989 GB, free: 125.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.414e-05/7.406, allocations: 18.72 kB / 2.989 GB, free: 125.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.116e-06/7.406, allocations: 0 / 2.989 GB, free: 125.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.331e-05/7.406, allocations: 3.984 kB / 2.989 GB, free: 125.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005575/7.412, allocations: 3.227 MB / 2.993 GB, free: 122.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.325e-05/7.412, allocations: 15.25 kB / 2.993 GB, free: 122.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000928/7.413, allocations: 203.7 kB / 2.993 GB, free: 122.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.872e-05/7.413, allocations: 12 kB / 2.993 GB, free: 122.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-05/7.413, allocations: 19.98 kB / 2.993 GB, free: 122.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.164e-05/7.413, allocations: 12 kB / 2.993 GB, free: 122.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.506e-06/7.413, allocations: 11.94 kB / 2.993 GB, free: 122.1 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003908/7.417, allocations: 2.834 MB / 2.996 GB, free: 119.1 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005112/7.422, allocations: 4.145 MB / 3 GB, free: 114.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008621/7.423, allocations: 328.6 kB / 3 GB, free: 114.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001899/7.423, allocations: 16 kB / 3 GB, free: 114.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000761/7.424, allocations: 30.62 kB / 3 GB, free: 114.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001685/7.424, allocations: 79.44 kB / 3 GB, free: 114.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.717e-05/7.424, allocations: 51.98 kB / 3 GB, free: 114.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.000561/7.425, allocations: 418.5 kB / 3 GB, free: 113.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002652/7.428, allocations: 0.64 MB / 3.001 GB, free: 113.1 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 2 (dooDis.mExcAB,dooDis.mExcBA) * Number of discrete variables: 6 ($whenCondition1,bouTem.a,bouTem.b,bouTem.last,bouTem.nextEvent,bouTem.nextEventScaled) * Number of discrete states: 6 (bouTem.nextEvent,bouTem.last,bouTem.nextEventScaled,bouTem.b,bouTem.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 121 * 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.002634/7.43, allocations: 1.801 MB / 3.003 GB, free: 111.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001826/7.432, allocations: 1.244 MB / 3.004 GB, free: 110.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/7.432, allocations: 0 / 3.004 GB, free: 110.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007653/7.433, allocations: 0.6869 MB / 3.005 GB, free: 109.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001418/7.434, allocations: 220.8 kB / 3.005 GB, free: 109.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00353/7.438, allocations: 1.863 MB / 3.007 GB, free: 107.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001023/7.439, allocations: 1.233 MB / 3.008 GB, free: 106.4 MB / 0.6823 GB Notification: Performance of SimCode: time 1.132e-06/7.439, allocations: 0 / 3.008 GB, free: 106.4 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Validation.OpenDoorTemperature.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Validation.OpenDoorTemperature.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Validation.OpenDoorTemperature.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Validation.OpenDoorTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_Validation_OpenDoorTemperature_fmu --startTime=0 --stopTime=28800 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_Validation_OpenDoorTemperature.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Validation.OpenDoorTemperature.pipe 2>&1)