Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Airflow.Multizone.Validation.OpenDoorPressure.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.OpenDoorPressure,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Validation_OpenDoorPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Validation.OpenDoorPressure,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Validation_OpenDoorPressure",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.002369/0.002369, allocations: 178.6 kB / 7.455 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6713/0.6713, allocations: 133.5 MB / 141.4 MB, free: 15.8 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.385/1.385, allocations: 221.3 MB / 395 MB, free: 10.26 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.0009009/0.0009009, allocations: 98.22 kB / 477.8 MB, free: 10.89 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4379/0.4388, allocations: 88.42 MB / 0.5529 GB, free: 88.89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.6039, allocations: 82.3 MB / 0.6333 GB, free: 14.06 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.627/5.231, allocations: 1.885 GB / 2.519 GB, free: 72.88 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003229/5.231, allocations: 87.95 kB / 2.519 GB, free: 72.8 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.053/7.284, allocations: 462.8 MB / 2.971 GB, free: 147 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.744e-05/7.284, allocations: 8.656 kB / 2.971 GB, free: 147 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008878/7.285, allocations: 157.2 kB / 2.971 GB, free: 147 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001547/7.287, allocations: 0.6514 MB / 2.971 GB, free: 146.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.769e-05/7.287, allocations: 28.97 kB / 2.971 GB, free: 146.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001459/7.287, allocations: 56.09 kB / 2.971 GB, free: 146.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002163/7.289, allocations: 1.314 MB / 2.973 GB, free: 146 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001927/7.291, allocations: 1.069 MB / 2.974 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.925e-05/7.291, allocations: 3.688 kB / 2.974 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.244e-05/7.291, allocations: 0.875 kB / 2.974 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.212e-05/7.291, allocations: 54.62 kB / 2.974 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006557/7.298, allocations: 3.215 MB / 2.977 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00212/7.3, allocations: 1.341 MB / 2.978 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008763/7.301, allocations: 0.7179 MB / 2.979 GB, free: 141.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001295/7.302, allocations: 1.542 MB / 2.98 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009357/7.303, allocations: 0.7123 MB / 2.981 GB, free: 138.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=127): time 3.597e-06/7.303, allocations: 0 / 2.981 GB, free: 138.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=127): time 0.00308/7.306, allocations: 1.433 MB / 2.983 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/7.306, allocations: 93.52 kB / 2.983 GB, free: 137.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006778/7.307, allocations: 0.4984 MB / 2.983 GB, free: 136.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.724e-05/7.307, allocations: 25.7 kB / 2.983 GB, free: 136.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000279/7.307, allocations: 285 kB / 2.983 GB, free: 136.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000318/7.308, allocations: 405.9 kB / 2.984 GB, free: 136.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.67e-05/7.308, allocations: 0 / 2.984 GB, free: 136.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000145/7.308, allocations: 394.8 kB / 2.984 GB, free: 135.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006828/7.309, allocations: 0.5214 MB / 2.985 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007898/7.309, allocations: 0.6641 MB / 2.985 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001661/7.311, allocations: 0.7606 MB / 2.986 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/7.311, allocations: 0 / 2.986 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002803/7.314, allocations: 1.527 MB / 2.988 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/7.314, allocations: 4 kB / 2.988 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/7.314, allocations: 4 kB / 2.988 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.638e-05/7.314, allocations: 8 kB / 2.988 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/7.315, allocations: 223.7 kB / 2.988 GB, free: 132 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.402e-05/7.315, allocations: 11.94 kB / 2.988 GB, free: 132 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009871/7.316, allocations: 86.5 kB / 2.988 GB, free: 131.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001296/7.316, allocations: 55.98 kB / 2.988 GB, free: 131.8 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,bouPre.a,bouPre.b,bouPre.last,$PRE.bouPre.nextEvent,bouPre.nextEvent,bouPre.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (137): * Single equations (assignments): 136 * 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.0002454/7.316, allocations: 158.1 kB / 2.988 GB, free: 131.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001477/7.317, allocations: 86.97 kB / 2.988 GB, free: 131.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003248/7.32, allocations: 1.658 MB / 2.99 GB, free: 129.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.414e-05/7.32, allocations: 12 kB / 2.99 GB, free: 129.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.096e-06/7.32, allocations: 0 / 2.99 GB, free: 129.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.39e-05/7.32, allocations: 7.969 kB / 2.99 GB, free: 129.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006118/7.326, allocations: 3.612 MB / 2.993 GB, free: 126.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/7.326, allocations: 12 kB / 2.993 GB, free: 126.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008965/7.327, allocations: 211.7 kB / 2.994 GB, free: 126 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.646e-05/7.327, allocations: 12 kB / 2.994 GB, free: 126 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.941e-05/7.327, allocations: 27.98 kB / 2.994 GB, free: 125.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-05/7.327, allocations: 12 kB / 2.994 GB, free: 125.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.054e-05/7.327, allocations: 11.84 kB / 2.994 GB, free: 125.9 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003803/7.331, allocations: 2.992 MB / 2.997 GB, free: 122.6 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004928/7.336, allocations: 4.331 MB / 3.001 GB, free: 118.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007532/7.337, allocations: 336.5 kB / 3.001 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001798/7.337, allocations: 14.59 kB / 3.001 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007752/7.338, allocations: 39.7 kB / 3.001 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001753/7.338, allocations: 84 kB / 3.001 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001007/7.338, allocations: 55.98 kB / 3.001 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0004994/7.338, allocations: 402.7 kB / 3.002 GB, free: 117.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002433/7.341, allocations: 0.6396 MB / 3.002 GB, free: 116.5 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (dooDis.mExcAB,dooDis.mExcBA) * Number of discrete variables: 6 ($whenCondition1,bouPre.a,bouPre.b,bouPre.last,bouPre.nextEvent,bouPre.nextEventScaled) * Number of discrete states: 6 (bouPre.nextEvent,bouPre.last,bouPre.nextEventScaled,bouPre.b,bouPre.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 125 * 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.002561/7.343, allocations: 1.811 MB / 3.004 GB, free: 115 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001861/7.345, allocations: 1.267 MB / 3.005 GB, free: 113.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/7.345, allocations: 0 / 3.005 GB, free: 113.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007657/7.346, allocations: 0.714 MB / 3.006 GB, free: 113 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001315/7.347, allocations: 212.5 kB / 3.006 GB, free: 112.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003346/7.351, allocations: 1.902 MB / 3.008 GB, free: 110.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009943/7.352, allocations: 1.24 MB / 3.009 GB, free: 109.7 MB / 0.6823 GB Notification: Performance of SimCode: time 1.031e-06/7.352, allocations: 0 / 3.009 GB, free: 109.7 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Validation.OpenDoorPressure.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Validation.OpenDoorPressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Validation.OpenDoorPressure.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Validation.OpenDoorPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_Validation_OpenDoorPressure_fmu --startTime=0 --stopTime=28800 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_Validation_OpenDoorPressure.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Validation.OpenDoorPressure.pipe 2>&1)