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: translateModel(IDEAS.Airflow.Multizone.Validation.OpenDoorTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=96,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.Validation.OpenDoorTemperature") translateModel(IDEAS.Airflow.Multizone.Validation.OpenDoorTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=96,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.Validation.OpenDoorTemperature") [: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.003625/0.003625, allocations: 179.8 kB / 7.464 MB, free: 2.484 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7656/0.7656, allocations: 133.5 MB / 141.4 MB, free: 15.67 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.329/1.329, allocations: 221.3 MB / 395 MB, free: 10.13 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.000954/0.000954, allocations: 102.3 kB / 477.8 MB, free: 10.78 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 9.919e-06/9.939e-06, allocations: 2.812 kB / 0.5528 GB, free: 89.12 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1762, allocations: 82.3 MB / 0.6332 GB, free: 14.08 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.815/4.991, allocations: 1.885 GB / 2.518 GB, free: 76.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000253/4.991, allocations: 87.48 kB / 2.519 GB, free: 76.82 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: Performance of FrontEnd: time 1.825/6.816, allocations: 461.2 MB / 2.969 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.954e-05/6.816, allocations: 22.22 kB / 2.969 GB, free: 149.8 MB / 0.6823 GB 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 0.004466/6.821, allocations: 1.522 MB / 2.97 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/6.821, allocations: 8.906 kB / 2.97 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007812/6.822, allocations: 157 kB / 2.971 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001473/6.823, allocations: 0.6654 MB / 2.971 GB, free: 148.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.818e-05/6.823, allocations: 28.5 kB / 2.971 GB, free: 148.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001554/6.823, allocations: 50.16 kB / 2.971 GB, free: 148.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002491/6.826, allocations: 1.323 MB / 2.973 GB, free: 147.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00204/6.828, allocations: 1.061 MB / 2.974 GB, free: 147.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.056e-05/6.828, allocations: 0 / 2.974 GB, free: 147.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.504e-05/6.828, allocations: 0.9375 kB / 2.974 GB, free: 147.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.707e-05/6.828, allocations: 53.94 kB / 2.974 GB, free: 147.1 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005917/6.834, allocations: 3.489 MB / 2.977 GB, free: 144.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002062/6.836, allocations: 1.293 MB / 2.978 GB, free: 144 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001081/6.837, allocations: 0.6781 MB / 2.979 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008879/6.838, allocations: 0.9716 MB / 2.98 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001108/6.839, allocations: 0.6868 MB / 2.981 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=123): time 3.938e-06/6.839, allocations: 0 / 2.981 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=123): time 0.003209/6.842, allocations: 1.383 MB / 2.982 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.954e-05/6.843, allocations: 93.08 kB / 2.982 GB, free: 141.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006817/6.843, allocations: 0.5182 MB / 2.983 GB, free: 140.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.158e-05/6.843, allocations: 29.7 kB / 2.983 GB, free: 140.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002144/6.844, allocations: 304.6 kB / 2.983 GB, free: 140.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002982/6.844, allocations: 394.1 kB / 2.983 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.776e-05/6.844, allocations: 4 kB / 2.983 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001196/6.844, allocations: 397.6 kB / 2.984 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000649/6.845, allocations: 0.5023 MB / 2.984 GB, free: 139 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007449/6.845, allocations: 0.7003 MB / 2.985 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001587/6.847, allocations: 0.7548 MB / 2.986 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/6.847, allocations: 4 kB / 2.986 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002719/6.85, allocations: 1.512 MB / 2.987 GB, free: 135.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/6.85, allocations: 4 kB / 2.987 GB, free: 135.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/6.85, allocations: 8.062 kB / 2.987 GB, free: 135.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.977e-05/6.85, allocations: 12 kB / 2.987 GB, free: 135.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009583/6.851, allocations: 223.7 kB / 2.987 GB, free: 135.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.381e-05/6.851, allocations: 19.77 kB / 2.987 GB, free: 135.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009464/6.852, allocations: 91.02 kB / 2.987 GB, free: 135.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/6.852, allocations: 55.75 kB / 2.987 GB, free: 135.5 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.0002309/6.852, allocations: 168.6 kB / 2.988 GB, free: 135.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001491/6.852, allocations: 86.97 kB / 2.988 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003041/6.855, allocations: 1.608 MB / 2.989 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.544e-05/6.855, allocations: 19.62 kB / 2.989 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/6.855, allocations: 0 / 2.989 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/6.855, allocations: 3.984 kB / 2.989 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005298/6.861, allocations: 3.219 MB / 2.992 GB, free: 130.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.197e-06/6.861, allocations: 11.91 kB / 2.992 GB, free: 130.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008667/6.862, allocations: 203.7 kB / 2.993 GB, free: 130.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-05/6.862, allocations: 12 kB / 2.993 GB, free: 130.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.332e-05/6.862, allocations: 23.03 kB / 2.993 GB, free: 130.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.093e-05/6.862, allocations: 19.92 kB / 2.993 GB, free: 130.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.294e-06/6.862, allocations: 7.938 kB / 2.993 GB, free: 130.1 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003584/6.865, allocations: 2.834 MB / 2.995 GB, free: 127 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006869/6.866, allocations: 324.7 kB / 2.996 GB, free: 126.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001791/6.866, allocations: 15.89 kB / 2.996 GB, free: 126.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006797/6.867, allocations: 35.75 kB / 2.996 GB, free: 126.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000148/6.867, allocations: 83.53 kB / 2.996 GB, free: 126.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.154e-05/6.867, allocations: 44 kB / 2.996 GB, free: 126.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0004739/6.868, allocations: 426.8 kB / 2.996 GB, free: 126.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001565/6.869, allocations: 455.4 kB / 2.997 GB, free: 125.6 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.002279/6.872, allocations: 1.816 MB / 2.999 GB, free: 124.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001641/6.873, allocations: 1.245 MB / 3 GB, free: 122.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/6.873, allocations: 0 / 3 GB, free: 122.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007141/6.874, allocations: 0.6831 MB / 3 GB, free: 122.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001187/6.875, allocations: 215.4 kB / 3.001 GB, free: 122 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003194/6.878, allocations: 1.863 MB / 3.002 GB, free: 120.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009009/6.879, allocations: 1.228 MB / 3.004 GB, free: 118.9 MB / 0.6823 GB Notification: Performance of SimCode: time 6.41e-07/6.879, allocations: 0 / 3.004 GB, free: 118.9 MB / 0.6823 GB Notification: Performance of Templates: time 0.03681/6.916, allocations: 23.85 MB / 3.027 GB, free: 95.65 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Airflow.Multizone.Validation.OpenDoorTemperature.makefile (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 & ./IDEAS_dev_IDEAS.Airflow.Multizone.Validation.OpenDoorTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Airflow.Multizone.Validation.OpenDoorTemperature.pipe 2>&1)