Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Airflow_Multizone_Validation_OpenDoorTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Validation.OpenDoorTemperature,fileNamePrefix="IDEAS_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.004529/0.00453, allocations: 187 kB / 7.46 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9504/0.9504, allocations: 133.5 MB / 141.4 MB, free: 15.69 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.505/1.505, allocations: 221.3 MB / 395 MB, free: 10.21 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.0009785/0.0009785, allocations: 94.89 kB / 477.8 MB, free: 10.88 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3999/0.4009, allocations: 88.43 MB / 0.5529 GB, free: 89.09 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.573, allocations: 82.3 MB / 0.6333 GB, free: 14.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.437/5.01, allocations: 1.885 GB / 2.519 GB, free: 76.83 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003406/5.01, allocations: 87.89 kB / 2.519 GB, free: 76.75 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.007/7.017, allocations: 462.8 MB / 2.971 GB, free: 149 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 8.478e-05/7.017, allocations: 9.188 kB / 2.971 GB, free: 149 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001634/7.019, allocations: 160.5 kB / 2.971 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001719/7.021, allocations: 0.6438 MB / 2.971 GB, free: 148.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.16e-05/7.021, allocations: 28.66 kB / 2.971 GB, free: 148.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001803/7.021, allocations: 51.19 kB / 2.971 GB, free: 148.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002776/7.024, allocations: 1.323 MB / 2.973 GB, free: 147.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002024/7.026, allocations: 1.069 MB / 2.974 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.085e-05/7.026, allocations: 4.844 kB / 2.974 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-05/7.026, allocations: 1.344 kB / 2.974 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.223e-05/7.026, allocations: 49.14 kB / 2.974 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006532/7.032, allocations: 3.486 MB / 2.977 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001933/7.034, allocations: 1.305 MB / 2.978 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001291/7.036, allocations: 0.6811 MB / 2.979 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001029/7.037, allocations: 0.9632 MB / 2.98 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00127/7.038, allocations: 0.6809 MB / 2.981 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=123): time 3.367e-06/7.038, allocations: 0 / 2.981 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=123): time 0.003922/7.042, allocations: 1.387 MB / 2.982 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.338e-05/7.042, allocations: 102 kB / 2.982 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008184/7.043, allocations: 0.5219 MB / 2.983 GB, free: 141.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.734e-05/7.043, allocations: 25.7 kB / 2.983 GB, free: 141.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002633/7.043, allocations: 300.6 kB / 2.983 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003815/7.044, allocations: 398.1 kB / 2.983 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.669e-05/7.044, allocations: 0 / 2.983 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001539/7.044, allocations: 394.7 kB / 2.984 GB, free: 140 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006754/7.045, allocations: 0.5101 MB / 2.984 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007961/7.045, allocations: 0.6874 MB / 2.985 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00166/7.047, allocations: 0.7596 MB / 2.986 GB, free: 138 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/7.047, allocations: 4 kB / 2.986 GB, free: 138 MB / 0.6823 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002773/7.05, allocations: 1.512 MB / 2.987 GB, free: 136.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/7.05, allocations: 4 kB / 2.987 GB, free: 136.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/7.05, allocations: 4 kB / 2.987 GB, free: 136.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.22e-05/7.05, allocations: 15.98 kB / 2.987 GB, free: 136.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009941/7.051, allocations: 227.7 kB / 2.987 GB, free: 136.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.257e-05/7.051, allocations: 8 kB / 2.987 GB, free: 136.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009888/7.052, allocations: 90.41 kB / 2.987 GB, free: 136.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001382/7.052, allocations: 63.83 kB / 2.988 GB, free: 136.1 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.0002668/7.052, allocations: 161.4 kB / 2.988 GB, free: 135.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001708/7.053, allocations: 86.97 kB / 2.988 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003256/7.056, allocations: 1.613 MB / 2.989 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.479e-05/7.056, allocations: 15.91 kB / 2.989 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/7.056, allocations: 0 / 2.989 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.465e-05/7.056, allocations: 10.97 kB / 2.989 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005869/7.062, allocations: 3.222 MB / 2.993 GB, free: 130.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.367e-06/7.062, allocations: 7.906 kB / 2.993 GB, free: 130.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009282/7.063, allocations: 207.7 kB / 2.993 GB, free: 130.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.68e-05/7.063, allocations: 8 kB / 2.993 GB, free: 130.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.895e-05/7.063, allocations: 27.33 kB / 2.993 GB, free: 130.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.191e-05/7.063, allocations: 12 kB / 2.993 GB, free: 130.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/7.063, allocations: 7.938 kB / 2.993 GB, free: 130.6 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004433/7.067, allocations: 2.834 MB / 2.996 GB, free: 127.6 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005113/7.073, allocations: 4.135 MB / 3 GB, free: 123.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009263/7.073, allocations: 335.9 kB / 3 GB, free: 122.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001903/7.074, allocations: 8 kB / 3 GB, free: 122.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008164/7.075, allocations: 30.88 kB / 3 GB, free: 122.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001809/7.075, allocations: 84.06 kB / 3 GB, free: 122.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001003/7.075, allocations: 47.98 kB / 3 GB, free: 122.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.000556/7.075, allocations: 418.9 kB / 3 GB, free: 122.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002649/7.078, allocations: 0.6468 MB / 3.001 GB, free: 121.7 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.002587/7.081, allocations: 1.81 MB / 3.003 GB, free: 120.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001908/7.083, allocations: 1.248 MB / 3.004 GB, free: 118.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.712e-06/7.083, allocations: 3.938 kB / 3.004 GB, free: 118.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008024/7.083, allocations: 0.6822 MB / 3.005 GB, free: 118.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001479/7.085, allocations: 213.7 kB / 3.005 GB, free: 118.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00345/7.088, allocations: 1.868 MB / 3.007 GB, free: 116.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009729/7.089, allocations: 1.232 MB / 3.008 GB, free: 114.9 MB / 0.6823 GB Notification: Performance of SimCode: time 1.453e-06/7.089, allocations: 0 / 3.008 GB, free: 114.9 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.Validation.OpenDoorTemperature.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Validation.OpenDoorTemperature.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Validation.OpenDoorTemperature.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Validation.OpenDoorTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_Validation_OpenDoorTemperature_fmu --startTime=0 --stopTime=28800 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_Validation_OpenDoorTemperature.fmu > IDEAS_IDEAS.Airflow.Multizone.Validation.OpenDoorTemperature.pipe 2>&1)