Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Airflow.AHU.Validation.IehSummer.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.AHU.Validation.IehSummer,fileNamePrefix="IDEAS_IDEAS_Airflow_AHU_Validation_IehSummer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.AHU.Validation.IehSummer,fileNamePrefix="IDEAS_IDEAS_Airflow_AHU_Validation_IehSummer",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.004984/0.004984, allocations: 186 kB / 7.457 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.8843/0.8843, allocations: 133.5 MB / 141.4 MB, free: 15.66 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.737/1.737, allocations: 221.3 MB / 395 MB, free: 10.15 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.001247/0.001247, allocations: 103.5 kB / 477.8 MB, free: 10.79 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4628/0.4642, allocations: 88.41 MB / 0.5529 GB, free: 89.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1834/0.6476, allocations: 82.31 MB / 0.6333 GB, free: 14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.295/4.942, allocations: 1.919 GB / 2.552 GB, free: 43.32 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002416/4.942, allocations: 79.97 kB / 2.552 GB, free: 43.24 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Interfaces.mo:202:5-202:64:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System TRetOut.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Modelica.Fluid.Sensors.TemperatureTwoPort$TRetOut. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 391 * Number of variables: 391 Notification: Performance of Generate backend data structure: time 6.103/11.05, allocations: 1.469 GB / 4.021 GB, free: 81.54 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/11.05, allocations: 6.969 kB / 4.021 GB, free: 81.54 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01043/11.06, allocations: 1.265 MB / 4.022 GB, free: 81.42 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00486/11.06, allocations: 1.561 MB / 4.023 GB, free: 81.1 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.962e-05/11.06, allocations: 51.19 kB / 4.023 GB, free: 81.1 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003013/11.06, allocations: 92.25 kB / 4.024 GB, free: 81.1 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002921/11.06, allocations: 1.524 MB / 4.025 GB, free: 81.09 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003005/11.07, allocations: 1.717 MB / 4.027 GB, free: 80.89 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.768e-05/11.07, allocations: 9.156 kB / 4.027 GB, free: 80.89 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001735/11.07, allocations: 0 / 4.027 GB, free: 80.89 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.119e-05/11.07, allocations: 72.06 kB / 4.027 GB, free: 80.88 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01396/11.08, allocations: 7.774 MB / 4.034 GB, free: 77.87 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002577/11.08, allocations: 1.347 MB / 4.036 GB, free: 77.84 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001069/11.09, allocations: 0.6548 MB / 4.036 GB, free: 77.82 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009246/11.09, allocations: 0.7579 MB / 4.037 GB, free: 77.07 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.741e-05/11.09, allocations: 46.66 kB / 4.037 GB, free: 77.03 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=116): time 3.847e-06/11.09, allocations: 0 / 4.037 GB, free: 77.03 MB / 0.7292 GB Notification: Performance of matching and sorting (n=120): time 0.01273/11.1, allocations: 3.976 MB / 4.041 GB, free: 76.34 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/11.1, allocations: 64.25 kB / 4.041 GB, free: 76.28 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00176/11.1, allocations: 0.9798 MB / 4.042 GB, free: 76.13 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001743/11.1, allocations: 29.52 kB / 4.042 GB, free: 76.1 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002969/11.1, allocations: 0.5757 MB / 4.043 GB, free: 75.77 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003685/11.1, allocations: 401.8 kB / 4.043 GB, free: 75.5 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.64e-05/11.1, allocations: 3.531 kB / 4.043 GB, free: 75.5 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.952e-05/11.1, allocations: 356.9 kB / 4.043 GB, free: 75.2 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007495/11.1, allocations: 0.5035 MB / 4.044 GB, free: 75.2 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008623/11.1, allocations: 0.7382 MB / 4.045 GB, free: 74.95 MB / 0.7292 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: IEH.volBot.dynBal.medium.p = IEH.volBot.dynBal.p_start (bui.p = IEH.volBot.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: IEH.volTop.dynBal.medium.p = IEH.volTop.dynBal.p_start (bou2.p = IEH.volTop.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01512/11.12, allocations: 4.057 MB / 4.048 GB, free: 74.72 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/11.12, allocations: 2.344 kB / 4.048 GB, free: 74.72 MB / 0.7292 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.004955/11.12, allocations: 1.819 MB / 4.05 GB, free: 74.57 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/11.12, allocations: 10.75 kB / 4.05 GB, free: 74.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/11.12, allocations: 3.781 kB / 4.05 GB, free: 74.57 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001245/11.13, allocations: 215.7 kB / 4.05 GB, free: 74.55 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001805/11.13, allocations: 332.8 kB / 4.051 GB, free: 74.55 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003557/11.13, allocations: 3.086 MB / 4.054 GB, free: 72.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003078/11.13, allocations: 244.1 kB / 4.054 GB, free: 72.1 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002398/11.13, allocations: 62.33 kB / 4.054 GB, free: 72.1 MB / 0.7292 GB Warning: Assuming redundant initial conditions for the following 2 initial equations: IEH.volBot.dynBal.medium.p = IEH.volBot.dynBal.p_start IEH.volTop.dynBal.medium.p = IEH.volTop.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (143): * Single equations (assignments): 141 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003564/11.13, allocations: 138.4 kB / 4.054 GB, free: 71.99 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003889/11.13, allocations: 164 kB / 4.054 GB, free: 71.91 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00546/11.14, allocations: 1.908 MB / 4.056 GB, free: 71.8 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.594e-05/11.14, allocations: 12.09 kB / 4.056 GB, free: 71.8 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/11.14, allocations: 0 / 4.056 GB, free: 71.8 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003754/11.14, allocations: 1.691 MB / 4.058 GB, free: 71.52 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01019/11.15, allocations: 4.643 MB / 4.062 GB, free: 70.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.494e-05/11.15, allocations: 11.47 kB / 4.062 GB, free: 70.62 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001771/11.16, allocations: 327.1 kB / 4.063 GB, free: 70.62 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001161/11.16, allocations: 226.3 kB / 4.063 GB, free: 70.61 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001287/11.16, allocations: 30.59 kB / 4.063 GB, free: 70.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003541/11.16, allocations: 3.147 MB / 4.066 GB, free: 68.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.065e-05/11.16, allocations: 14.69 kB / 4.066 GB, free: 68.16 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006971/11.17, allocations: 3.471 MB / 4.069 GB, free: 66.65 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008076/11.18, allocations: 4.836 MB / 4.074 GB, free: 64.76 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001283/11.18, allocations: 415.6 kB / 4.075 GB, free: 64.58 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003363/11.18, allocations: 18.2 kB / 4.075 GB, free: 64.58 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002201/11.18, allocations: 225.4 kB / 4.075 GB, free: 64.57 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001611/11.18, allocations: 103.2 kB / 4.075 GB, free: 64.57 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001421/11.18, allocations: 64.94 kB / 4.075 GB, free: 64.57 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.001117/11.18, allocations: 0.7419 MB / 4.076 GB, free: 64.46 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.004618/11.19, allocations: 1.113 MB / 4.077 GB, free: 64.43 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 4 (IEH.volBot.dynBal.U,IEH.volBot.dynBal.mXi[1],IEH.volTop.dynBal.U,IEH.volTop.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 118 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.006381/11.19, allocations: 3.7 MB / 4.08 GB, free: 63.06 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003346/11.2, allocations: 1.48 MB / 4.082 GB, free: 62.85 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-05/11.2, allocations: 0 / 4.082 GB, free: 62.85 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001544/11.2, allocations: 0.8828 MB / 4.083 GB, free: 62.65 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004695/11.2, allocations: 0.762 MB / 4.083 GB, free: 62.63 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006748/11.21, allocations: 3.036 MB / 4.086 GB, free: 61.66 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001711/11.21, allocations: 1.711 MB / 4.088 GB, free: 60.93 MB / 0.7292 GB Notification: Performance of SimCode: time 1.052e-06/11.21, allocations: 0 / 4.088 GB, free: 60.93 MB / 0.7292 GB (rm -f IDEAS_IDEAS.Airflow.AHU.Validation.IehSummer.pipe ; mkfifo IDEAS_IDEAS.Airflow.AHU.Validation.IehSummer.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.AHU.Validation.IehSummer.pipe >> ../files/IDEAS_IDEAS.Airflow.AHU.Validation.IehSummer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_AHU_Validation_IehSummer_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_AHU_Validation_IehSummer.fmu > IDEAS_IDEAS.Airflow.AHU.Validation.IehSummer.pipe 2>&1)