Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Airflow_Multizone_Validation_OpenDoorPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Validation.OpenDoorPressure,fileNamePrefix="IDEAS_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.003978/0.003978, allocations: 184.6 kB / 7.463 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7178/0.7178, allocations: 133.5 MB / 141.4 MB, free: 15.78 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.404/1.404, allocations: 221.3 MB / 395 MB, free: 10.28 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.0009519/0.0009521, allocations: 101.7 kB / 477.8 MB, free: 10.95 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4204/0.4214, allocations: 88.42 MB / 0.5529 GB, free: 88.73 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.6001, allocations: 82.31 MB / 0.6333 GB, free: 14.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.746/5.346, allocations: 1.885 GB / 2.519 GB, free: 81.63 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003554/5.346, allocations: 83.89 kB / 2.519 GB, free: 81.55 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.065/7.411, allocations: 462.8 MB / 2.971 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.337e-05/7.411, allocations: 11.31 kB / 2.971 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001746/7.413, allocations: 157 kB / 2.971 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002686/7.416, allocations: 0.6529 MB / 2.971 GB, free: 148.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001311/7.416, allocations: 28.25 kB / 2.971 GB, free: 148.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002201/7.416, allocations: 56.97 kB / 2.971 GB, free: 148.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003175/7.42, allocations: 1.31 MB / 2.973 GB, free: 147.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002115/7.422, allocations: 1.075 MB / 2.974 GB, free: 147.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.145e-05/7.422, allocations: 0 / 2.974 GB, free: 147.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.051e-05/7.422, allocations: 1.406 kB / 2.974 GB, free: 147.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.351e-05/7.422, allocations: 48.72 kB / 2.974 GB, free: 147.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007102/7.429, allocations: 3.219 MB / 2.977 GB, free: 145.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002594/7.432, allocations: 1.335 MB / 2.978 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001334/7.433, allocations: 0.7184 MB / 2.979 GB, free: 144.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001666/7.435, allocations: 1.536 MB / 2.98 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001394/7.436, allocations: 0.7134 MB / 2.981 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=127): time 6.232e-06/7.436, allocations: 3.656 kB / 2.981 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=127): time 0.004147/7.44, allocations: 1.429 MB / 2.983 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.821e-05/7.44, allocations: 91.05 kB / 2.983 GB, free: 142 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007789/7.441, allocations: 0.4999 MB / 2.983 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.858e-05/7.441, allocations: 28.3 kB / 2.983 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002634/7.442, allocations: 285.1 kB / 2.983 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003621/7.442, allocations: 402.5 kB / 2.984 GB, free: 141.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-05/7.442, allocations: 2.938 kB / 2.984 GB, free: 141.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001419/7.442, allocations: 392.4 kB / 2.984 GB, free: 140.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007087/7.443, allocations: 0.5212 MB / 2.985 GB, free: 140.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008101/7.444, allocations: 0.6744 MB / 2.985 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001904/7.446, allocations: 0.7567 MB / 2.986 GB, free: 139.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/7.446, allocations: 5 kB / 2.986 GB, free: 139.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003404/7.449, allocations: 1.515 MB / 2.988 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/7.449, allocations: 5.375 kB / 2.988 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/7.449, allocations: 3.312 kB / 2.988 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.45e-05/7.449, allocations: 11.16 kB / 2.988 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/7.45, allocations: 225 kB / 2.988 GB, free: 139 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.688e-05/7.45, allocations: 11.47 kB / 2.988 GB, free: 139 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009585/7.451, allocations: 94.73 kB / 2.988 GB, free: 139 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001543/7.451, allocations: 49.91 kB / 2.988 GB, free: 139 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.0002566/7.452, allocations: 162.5 kB / 2.988 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001857/7.452, allocations: 87.03 kB / 2.988 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00341/7.455, allocations: 1.664 MB / 2.99 GB, free: 137.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.505e-05/7.455, allocations: 12 kB / 2.99 GB, free: 137.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/7.455, allocations: 0 / 2.99 GB, free: 137.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/7.455, allocations: 7.234 kB / 2.99 GB, free: 137.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006058/7.461, allocations: 3.605 MB / 2.993 GB, free: 133.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.768e-06/7.461, allocations: 4 kB / 2.993 GB, free: 133.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009047/7.462, allocations: 215.7 kB / 2.994 GB, free: 133.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.742e-05/7.462, allocations: 19.16 kB / 2.994 GB, free: 133.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.47e-05/7.462, allocations: 20 kB / 2.994 GB, free: 133.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.327e-05/7.462, allocations: 19.92 kB / 2.994 GB, free: 133.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.027e-06/7.462, allocations: 11.91 kB / 2.994 GB, free: 133.3 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003797/7.466, allocations: 2.991 MB / 2.997 GB, free: 130.1 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004983/7.471, allocations: 4.327 MB / 3.001 GB, free: 125.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007649/7.472, allocations: 328.6 kB / 3.001 GB, free: 125.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001814/7.472, allocations: 19.94 kB / 3.001 GB, free: 125.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007861/7.473, allocations: 47.17 kB / 3.001 GB, free: 125.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001611/7.473, allocations: 83.94 kB / 3.001 GB, free: 125 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001003/7.473, allocations: 51.98 kB / 3.001 GB, free: 125 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0004875/7.474, allocations: 405.3 kB / 3.002 GB, free: 124.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002525/7.476, allocations: 0.6362 MB / 3.002 GB, free: 123.9 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.00239/7.479, allocations: 1.804 MB / 3.004 GB, free: 122.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001789/7.481, allocations: 1.271 MB / 3.005 GB, free: 121.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/7.481, allocations: 4 kB / 3.005 GB, free: 121.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007532/7.481, allocations: 0.7068 MB / 3.006 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001364/7.483, allocations: 221 kB / 3.006 GB, free: 120.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003386/7.486, allocations: 1.898 MB / 3.008 GB, free: 118.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009605/7.487, allocations: 1.236 MB / 3.009 GB, free: 117.1 MB / 0.6823 GB Notification: Performance of SimCode: time 1.232e-06/7.487, allocations: 0 / 3.009 GB, free: 117.1 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.Validation.OpenDoorPressure.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Validation.OpenDoorPressure.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Validation.OpenDoorPressure.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Validation.OpenDoorPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_Validation_OpenDoorPressure_fmu --startTime=0 --stopTime=28800 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_Validation_OpenDoorPressure.fmu > IDEAS_IDEAS.Airflow.Multizone.Validation.OpenDoorPressure.pipe 2>&1)