Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Airflow.AHU.Validation.IehWinter.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.IehWinter,fileNamePrefix="IDEAS_IDEAS_Airflow_AHU_Validation_IehWinter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.AHU.Validation.IehWinter,fileNamePrefix="IDEAS_IDEAS_Airflow_AHU_Validation_IehWinter",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.003808/0.003808, allocations: 178.3 kB / 7.454 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7349/0.7349, allocations: 133.5 MB / 141.4 MB, free: 15.69 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.64/1.64, 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.001127/0.001127, allocations: 93.28 kB / 477.8 MB, free: 10.88 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5867/0.5879, allocations: 88.42 MB / 0.5529 GB, free: 89.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2201/0.8081, allocations: 82.3 MB / 0.6333 GB, free: 14.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.091/4.9, allocations: 1.919 GB / 2.552 GB, free: 41.54 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002696/4.9, allocations: 83.2 kB / 2.552 GB, free: 41.46 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 8.507/13.41, allocations: 2.194 GB / 4.746 GB, free: 30.04 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/13.41, allocations: 8 kB / 4.746 GB, free: 30.04 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01003/13.42, allocations: 1.253 MB / 4.747 GB, free: 28.78 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004016/13.42, allocations: 1.571 MB / 4.748 GB, free: 27.15 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.167e-05/13.42, allocations: 55.94 kB / 4.748 GB, free: 27.1 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003354/13.42, allocations: 91.91 kB / 4.749 GB, free: 27.01 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002785/13.42, allocations: 1.525 MB / 4.75 GB, free: 25.48 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002633/13.43, allocations: 1.702 MB / 4.752 GB, free: 23.71 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.256e-05/13.43, allocations: 7.938 kB / 4.752 GB, free: 23.7 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001785/13.43, allocations: 0 / 4.752 GB, free: 23.7 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.47e-05/13.43, allocations: 74.94 kB / 4.752 GB, free: 23.63 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01243/13.44, allocations: 7.777 MB / 4.759 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002552/13.44, allocations: 1.356 MB / 4.761 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008771/13.44, allocations: 0.6555 MB / 4.761 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000985/13.44, allocations: 0.7517 MB / 4.762 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.635e-05/13.44, allocations: 47.56 kB / 4.762 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=116): time 5.751e-06/13.44, allocations: 3.844 kB / 4.762 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of matching and sorting (n=120): time 0.01182/13.46, allocations: 3.977 MB / 4.766 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/13.46, allocations: 64.41 kB / 4.766 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001471/13.46, allocations: 0.9805 MB / 4.767 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0002158/13.46, allocations: 25.7 kB / 4.767 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002773/13.46, allocations: 0.5712 MB / 4.768 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003523/13.46, allocations: 409.8 kB / 4.768 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.604e-05/13.46, allocations: 0 / 4.768 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.646e-05/13.46, allocations: 353.9 kB / 4.768 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007664/13.46, allocations: 0.5063 MB / 4.769 GB, free: 5.57 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008778/13.46, allocations: 0.7474 MB / 4.77 GB, free: 4.73 MB / 0.7448 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.01475/13.48, allocations: 3.966 MB / 4.773 GB, free: 0.7305 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/13.48, allocations: 8 kB / 4.773 GB, free: 0.7227 MB / 0.7448 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.4162/13.89, allocations: 1.817 MB / 4.775 GB, free: 140.3 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/13.89, allocations: 6.969 kB / 4.775 GB, free: 140.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/13.89, allocations: 7.609 kB / 4.775 GB, free: 140.3 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001251/13.89, allocations: 215 kB / 4.775 GB, free: 140.3 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001827/13.89, allocations: 338.9 kB / 4.776 GB, free: 140.3 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003499/13.9, allocations: 3.089 MB / 4.779 GB, free: 137.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003023/13.9, allocations: 239.4 kB / 4.779 GB, free: 137.9 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001968/13.9, allocations: 61.2 kB / 4.779 GB, free: 137.9 MB / 0.7448 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.000371/13.9, allocations: 135.4 kB / 4.779 GB, free: 137.8 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003313/13.9, allocations: 160.2 kB / 4.779 GB, free: 137.8 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005143/13.91, allocations: 1.903 MB / 4.781 GB, free: 137.7 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.244e-05/13.91, allocations: 10.59 kB / 4.781 GB, free: 137.7 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/13.91, allocations: 2.656 kB / 4.781 GB, free: 137.7 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003589/13.91, allocations: 1.7 MB / 4.783 GB, free: 137.4 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009207/13.92, allocations: 4.635 MB / 4.787 GB, free: 136.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/13.92, allocations: 11.25 kB / 4.787 GB, free: 136.6 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001769/13.92, allocations: 330.6 kB / 4.788 GB, free: 136.6 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001144/13.92, allocations: 222.5 kB / 4.788 GB, free: 136.6 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001806/13.92, allocations: 38.28 kB / 4.788 GB, free: 136.6 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003866/13.93, allocations: 3.145 MB / 4.791 GB, free: 134.1 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.199e-05/13.93, allocations: 10.97 kB / 4.791 GB, free: 134.1 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006357/13.93, allocations: 3.48 MB / 4.794 GB, free: 132.6 MB / 0.7448 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007397/13.94, allocations: 4.831 MB / 4.799 GB, free: 130.8 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001378/13.94, allocations: 410.7 kB / 4.8 GB, free: 130.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003909/13.94, allocations: 20.55 kB / 4.8 GB, free: 130.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002259/13.95, allocations: 222.6 kB / 4.8 GB, free: 130.6 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001596/13.95, allocations: 103.2 kB / 4.8 GB, free: 130.6 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001426/13.95, allocations: 65.02 kB / 4.8 GB, free: 130.6 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.001102/13.95, allocations: 0.7418 MB / 4.801 GB, free: 130.5 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.004377/13.95, allocations: 1.102 MB / 4.802 GB, free: 130.5 MB / 0.7448 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.00473/13.96, allocations: 3.702 MB / 4.805 GB, free: 129.2 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002801/13.96, allocations: 1.484 MB / 4.807 GB, free: 128.9 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/13.96, allocations: 0 / 4.807 GB, free: 128.9 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001395/13.96, allocations: 0.8852 MB / 4.808 GB, free: 128.7 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004357/13.96, allocations: 0.7595 MB / 4.808 GB, free: 128.7 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008889/13.97, allocations: 3.044 MB / 4.811 GB, free: 127.8 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002385/13.98, allocations: 1.711 MB / 4.813 GB, free: 127 MB / 0.7448 GB Notification: Performance of SimCode: time 2.294e-06/13.98, allocations: 0 / 4.813 GB, free: 127 MB / 0.7448 GB (rm -f IDEAS_IDEAS.Airflow.AHU.Validation.IehWinter.pipe ; mkfifo IDEAS_IDEAS.Airflow.AHU.Validation.IehWinter.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.AHU.Validation.IehWinter.pipe >> ../files/IDEAS_IDEAS.Airflow.AHU.Validation.IehWinter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_AHU_Validation_IehWinter_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_AHU_Validation_IehWinter.fmu > IDEAS_IDEAS.Airflow.AHU.Validation.IehWinter.pipe 2>&1)