Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.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.OpenDoorBuoyancyPressureDynamic,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Validation_OpenDoorBuoyancyPressureDynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Validation_OpenDoorBuoyancyPressureDynamic",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.003029/0.003029, allocations: 185.7 kB / 7.459 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.7597/0.7597, allocations: 133.5 MB / 141.4 MB, free: 15.64 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.464/1.464, allocations: 221.3 MB / 395 MB, free: 10.22 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.001002/0.001002, allocations: 103.1 kB / 477.8 MB, free: 10.87 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4305/0.4316, allocations: 88.42 MB / 0.5529 GB, free: 88.92 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1828/0.6144, allocations: 82.31 MB / 0.6333 GB, free: 14.01 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.974/5.588, allocations: 1.899 GB / 2.533 GB, free: 45.75 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003675/5.589, allocations: 79.95 kB / 2.533 GB, free: 45.67 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: 494 * Number of variables: 494 Notification: Performance of Generate backend data structure: time 4.381/9.97, allocations: 1.039 GB / 3.571 GB, free: 56.34 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.784e-05/9.97, allocations: 8 kB / 3.571 GB, free: 56.34 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006005/9.976, allocations: 0.7098 MB / 3.572 GB, free: 55.63 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004717/9.981, allocations: 1.656 MB / 3.573 GB, free: 53.96 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.618e-05/9.981, allocations: 60 kB / 3.574 GB, free: 53.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004871/9.982, allocations: 119.9 kB / 3.574 GB, free: 53.78 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004603/9.986, allocations: 2.299 MB / 3.576 GB, free: 51.48 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003943/9.99, allocations: 2.045 MB / 3.578 GB, free: 49.42 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.021e-05/9.991, allocations: 7.984 kB / 3.578 GB, free: 49.41 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002021/9.991, allocations: 7.844 kB / 3.578 GB, free: 49.41 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001129/9.991, allocations: 88.3 kB / 3.578 GB, free: 49.32 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01506/10.01, allocations: 7.955 MB / 3.586 GB, free: 41.09 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002879/10.01, allocations: 2.159 MB / 3.588 GB, free: 38.95 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001516/10.01, allocations: 1.263 MB / 3.589 GB, free: 37.68 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001289/10.01, allocations: 1.562 MB / 3.591 GB, free: 35.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.276e-05/10.01, allocations: 60.53 kB / 3.591 GB, free: 35.74 MB / 0.698 GB Notification: Performance of pre-optimization done (n=222): time 4.338e-06/10.01, allocations: 2.844 kB / 3.591 GB, free: 35.74 MB / 0.698 GB Notification: Performance of matching and sorting (n=226): time 0.01255/10.02, allocations: 5.504 MB / 3.596 GB, free: 30.13 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/10.02, allocations: 106.6 kB / 3.596 GB, free: 30.02 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001215/10.03, allocations: 0.8849 MB / 3.597 GB, free: 29.12 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001801/10.03, allocations: 25.7 kB / 3.597 GB, free: 29.09 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002553/10.03, allocations: 0.5491 MB / 3.598 GB, free: 28.54 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006795/10.03, allocations: 0.731 MB / 3.598 GB, free: 27.79 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.793e-05/10.03, allocations: 0 / 3.598 GB, free: 27.79 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001576/10.03, allocations: 381.9 kB / 3.599 GB, free: 27.41 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00109/10.03, allocations: 0.827 MB / 3.599 GB, free: 26.59 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00125/10.03, allocations: 1.086 MB / 3.601 GB, free: 25.43 MB / 0.698 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: bouA.dynBal.medium.p = bouA.dynBal.p_start (bou.p = bouA.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: bouADis.dynBal.medium.p = bouADis.dynBal.p_start (bouDis.p = bouADis.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01102/10.04, allocations: 3.639 MB / 3.604 GB, free: 21.75 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.309e-05/10.04, allocations: 8 kB / 3.604 GB, free: 21.74 MB / 0.698 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.004421/10.04, allocations: 2.373 MB / 3.606 GB, free: 19.37 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/10.04, allocations: 12.06 kB / 3.606 GB, free: 19.36 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/10.04, allocations: 4 kB / 3.606 GB, free: 19.35 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.361e-05/10.05, allocations: 12 kB / 3.606 GB, free: 19.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001792/10.05, allocations: 427.3 kB / 3.607 GB, free: 18.92 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.767e-05/10.05, allocations: 15.98 kB / 3.607 GB, free: 18.91 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002517/10.05, allocations: 115.5 kB / 3.607 GB, free: 18.79 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001972/10.05, allocations: 79.98 kB / 3.607 GB, free: 18.71 MB / 0.698 GB Warning: Assuming redundant initial conditions for the following 2 initial equations: bouA.dynBal.medium.p = bouA.dynBal.p_start bouADis.dynBal.medium.p = bouADis.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (254): * Single equations (assignments): 254 * Array equations: 0 * Algorithm blocks: 0 * 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.000399/10.05, allocations: 144.5 kB / 3.607 GB, free: 18.57 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004677/10.05, allocations: 189.7 kB / 3.607 GB, free: 18.38 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004743/10.06, allocations: 2.537 MB / 3.61 GB, free: 15.83 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.662e-05/10.06, allocations: 20 kB / 3.61 GB, free: 15.81 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.388e-06/10.06, allocations: 4 kB / 3.61 GB, free: 15.81 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00311/10.06, allocations: 2.116 MB / 3.612 GB, free: 13.68 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008907/10.07, allocations: 5.116 MB / 3.617 GB, free: 8.496 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.12e-05/10.07, allocations: 4.094 kB / 3.617 GB, free: 8.492 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002157/10.07, allocations: 475.4 kB / 3.617 GB, free: 8.027 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.666e-05/10.07, allocations: 16 kB / 3.617 GB, free: 8.012 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001469/10.07, allocations: 27.98 kB / 3.617 GB, free: 7.984 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.715e-05/10.07, allocations: 19.94 kB / 3.617 GB, free: 7.965 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.077e-06/10.07, allocations: 8 kB / 3.617 GB, free: 7.957 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006087/10.08, allocations: 4.484 MB / 3.622 GB, free: 3.285 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00935/10.09, allocations: 6.433 MB / 3.628 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001767/10.09, allocations: 494.6 kB / 3.629 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004711/10.09, allocations: 23.98 kB / 3.629 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002101/10.09, allocations: 103.7 kB / 3.629 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002555/10.09, allocations: 129.7 kB / 3.629 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000191/10.09, allocations: 79.97 kB / 3.629 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.001368/10.09, allocations: 0.6767 MB / 3.63 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.004979/10.1, allocations: 1.117 MB / 3.631 GB, free: 10.02 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 12 (dooDis.mExcAB,dooDis.mExcBA,bouADis.dynBal.U,bouADis.dynBal.mXi[1],bouBDis.dynBal.U,bouBDis.dynBal.m,bouBDis.dynBal.mXi[1],bouA.dynBal.U,bouA.dynBal.mXi[1],bouB.dynBal.U,bouB.dynBal.m,bouB.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (230): * Single equations (assignments): 230 * Array equations: 0 * Algorithm blocks: 0 * 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.004659/10.1, allocations: 2.846 MB / 3.633 GB, free: 7.207 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004111/10.11, allocations: 2.099 MB / 3.636 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/10.11, allocations: 4 kB / 3.636 GB, free: 5.102 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001813/10.11, allocations: 1.128 MB / 3.637 GB, free: 3.973 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005605/10.11, allocations: 0.9333 MB / 3.638 GB, free: 3.07 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5243/10.64, allocations: 4.086 MB / 3.642 GB, free: 150.8 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002212/10.64, allocations: 1.941 MB / 3.643 GB, free: 150.1 MB / 0.7136 GB Notification: Performance of SimCode: time 9.81e-07/10.64, allocations: 0 / 3.643 GB, free: 150.1 MB / 0.7136 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_Validation_OpenDoorBuoyancyPressureDynamic_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Airflow_Multizone_Validation_OpenDoorBuoyancyPressureDynamic.fmu > IDEAS_IDEAS.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe 2>&1)