Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Airflow_AHU_Validation_IehSummer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.AHU.Validation.IehSummer,fileNamePrefix="IDEAS_dev_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.004038/0.004038, allocations: 178.7 kB / 7.457 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.7242/0.7242, allocations: 133.5 MB / 141.4 MB, free: 15.7 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.577/1.577, allocations: 221.3 MB / 395 MB, free: 10.23 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.001158/0.001158, allocations: 96.33 kB / 477.8 MB, free: 10.88 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.502/0.5032, allocations: 88.42 MB / 0.5529 GB, free: 89.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.7206, allocations: 82.31 MB / 0.6333 GB, free: 14.06 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.158/4.878, allocations: 1.919 GB / 2.552 GB, free: 27.21 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002101/4.879, allocations: 87.42 kB / 2.552 GB, free: 27.13 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 5.977/10.86, allocations: 1.469 GB / 4.021 GB, free: 79.59 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/10.86, allocations: 9.969 kB / 4.021 GB, free: 79.59 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01101/10.87, allocations: 1.255 MB / 4.022 GB, free: 79.46 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005599/10.87, allocations: 1.563 MB / 4.023 GB, free: 79.13 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.955e-05/10.87, allocations: 50.81 kB / 4.023 GB, free: 79.13 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000416/10.87, allocations: 89.81 kB / 4.024 GB, free: 79.13 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003108/10.88, allocations: 1.524 MB / 4.025 GB, free: 79.12 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003055/10.88, allocations: 1.708 MB / 4.027 GB, free: 78.92 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.586e-05/10.88, allocations: 5.219 kB / 4.027 GB, free: 78.92 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001701/10.88, allocations: 12.53 kB / 4.027 GB, free: 78.92 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.465e-05/10.88, allocations: 71.55 kB / 4.027 GB, free: 78.91 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01488/10.89, allocations: 7.765 MB / 4.034 GB, free: 75.88 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002594/10.9, allocations: 1.353 MB / 4.036 GB, free: 75.84 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001023/10.9, allocations: 0.6629 MB / 4.036 GB, free: 75.82 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001082/10.9, allocations: 0.7505 MB / 4.037 GB, free: 75.07 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.742e-05/10.9, allocations: 47.69 kB / 4.037 GB, free: 75.04 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=116): time 6.091e-06/10.9, allocations: 0 / 4.037 GB, free: 75.04 MB / 0.7292 GB Notification: Performance of matching and sorting (n=120): time 0.01438/10.91, allocations: 3.971 MB / 4.041 GB, free: 74.35 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/10.91, allocations: 72.44 kB / 4.041 GB, free: 74.29 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001813/10.92, allocations: 0.9711 MB / 4.042 GB, free: 74.14 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002441/10.92, allocations: 29.67 kB / 4.042 GB, free: 74.11 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003703/10.92, allocations: 0.5764 MB / 4.043 GB, free: 73.77 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004471/10.92, allocations: 396.7 kB / 4.043 GB, free: 73.51 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.244e-05/10.92, allocations: 0 / 4.043 GB, free: 73.51 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001178/10.92, allocations: 357.7 kB / 4.043 GB, free: 73.2 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008202/10.92, allocations: 0.5064 MB / 4.044 GB, free: 73.2 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000935/10.92, allocations: 0.7414 MB / 4.045 GB, free: 72.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.01596/10.93, allocations: 4.05 MB / 4.048 GB, free: 72.73 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-05/10.93, allocations: 1.969 kB / 4.048 GB, free: 72.73 MB / 0.7292 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.005237/10.94, allocations: 1.82 MB / 4.05 GB, free: 72.58 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.7e-05/10.94, allocations: 10.61 kB / 4.05 GB, free: 72.58 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.93e-05/10.94, allocations: 3.062 kB / 4.05 GB, free: 72.58 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001294/10.94, allocations: 214.5 kB / 4.05 GB, free: 72.56 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001909/10.94, allocations: 338.8 kB / 4.051 GB, free: 72.56 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003952/10.95, allocations: 3.099 MB / 4.054 GB, free: 70.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003726/10.95, allocations: 246.4 kB / 4.054 GB, free: 70.1 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002367/10.95, allocations: 55.22 kB / 4.054 GB, free: 70.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.0004726/10.95, allocations: 131.7 kB / 4.054 GB, free: 70 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004121/10.95, allocations: 161.6 kB / 4.054 GB, free: 69.91 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005591/10.96, allocations: 1.908 MB / 4.056 GB, free: 69.81 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.391e-05/10.96, allocations: 14.28 kB / 4.056 GB, free: 69.81 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/10.96, allocations: 0 / 4.056 GB, free: 69.81 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003687/10.96, allocations: 1.688 MB / 4.058 GB, free: 69.52 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009838/10.97, allocations: 4.644 MB / 4.062 GB, free: 68.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.418e-05/10.97, allocations: 10.31 kB / 4.062 GB, free: 68.63 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001766/10.97, allocations: 332 kB / 4.063 GB, free: 68.63 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001161/10.97, allocations: 223.2 kB / 4.063 GB, free: 68.61 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001603/10.97, allocations: 35.12 kB / 4.063 GB, free: 68.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003445/10.98, allocations: 3.144 MB / 4.066 GB, free: 66.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.536e-05/10.98, allocations: 14.91 kB / 4.066 GB, free: 66.16 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007552/10.99, allocations: 3.475 MB / 4.07 GB, free: 64.66 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008562/10.99, allocations: 4.839 MB / 4.074 GB, free: 62.76 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001762/11, allocations: 408.3 kB / 4.075 GB, free: 62.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004254/11, allocations: 22.06 kB / 4.075 GB, free: 62.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002424/11, allocations: 224.3 kB / 4.075 GB, free: 62.58 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001758/11, allocations: 101.9 kB / 4.075 GB, free: 62.57 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001535/11, allocations: 67.77 kB / 4.075 GB, free: 62.57 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.001246/11, allocations: 0.7431 MB / 4.076 GB, free: 62.46 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.005069/11.01, allocations: 1.1 MB / 4.077 GB, free: 62.44 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.005441/11.01, allocations: 3.699 MB / 4.08 GB, free: 61.07 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003094/11.01, allocations: 1.476 MB / 4.082 GB, free: 60.86 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.455e-05/11.01, allocations: 3.125 kB / 4.082 GB, free: 60.86 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001499/11.02, allocations: 0.8877 MB / 4.083 GB, free: 60.66 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004409/11.02, allocations: 0.7584 MB / 4.083 GB, free: 60.64 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008034/11.03, allocations: 3.036 MB / 4.086 GB, free: 59.68 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002411/11.03, allocations: 1.718 MB / 4.088 GB, free: 58.95 MB / 0.7292 GB Notification: Performance of SimCode: time 1.744e-06/11.03, allocations: 2.078 kB / 4.088 GB, free: 58.95 MB / 0.7292 GB (rm -f IDEAS_dev_IDEAS.Airflow.AHU.Validation.IehSummer.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.AHU.Validation.IehSummer.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.AHU.Validation.IehSummer.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.AHU.Validation.IehSummer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_AHU_Validation_IehSummer_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_AHU_Validation_IehSummer.fmu > IDEAS_dev_IDEAS.Airflow.AHU.Validation.IehSummer.pipe 2>&1)