Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Airflow_AHU_Validation_IehWinter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.AHU.Validation.IehWinter,fileNamePrefix="IDEAS_dev_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.004386/0.004386, allocations: 182.9 kB / 7.461 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.7138/0.7138, allocations: 133.5 MB / 141.4 MB, free: 15.68 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.741/1.741, allocations: 221.3 MB / 395 MB, free: 10.21 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.001027/0.001027, allocations: 93.16 kB / 477.8 MB, free: 10.87 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4871/0.4881, allocations: 88.43 MB / 0.5529 GB, free: 89.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2029/0.691, allocations: 82.3 MB / 0.6333 GB, free: 14.03 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.243/4.934, allocations: 1.919 GB / 2.552 GB, free: 41.67 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000258/4.934, allocations: 79.95 kB / 2.552 GB, free: 41.59 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.548/13.48, allocations: 2.194 GB / 4.746 GB, free: 30.27 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/13.48, allocations: 8 kB / 4.746 GB, free: 30.26 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01057/13.49, allocations: 1.257 MB / 4.747 GB, free: 29 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004372/13.5, allocations: 1.564 MB / 4.748 GB, free: 27.38 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.842e-05/13.5, allocations: 52 kB / 4.748 GB, free: 27.33 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003491/13.5, allocations: 95.91 kB / 4.749 GB, free: 27.24 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003273/13.5, allocations: 1.533 MB / 4.75 GB, free: 25.7 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002852/13.5, allocations: 1.702 MB / 4.752 GB, free: 23.93 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.967e-05/13.5, allocations: 7.938 kB / 4.752 GB, free: 23.93 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001723/13.5, allocations: 0 / 4.752 GB, free: 23.93 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.794e-05/13.5, allocations: 74.94 kB / 4.752 GB, free: 23.85 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01281/13.52, allocations: 7.766 MB / 4.759 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002387/13.52, allocations: 1.353 MB / 4.761 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008346/13.52, allocations: 0.6555 MB / 4.761 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001033/13.52, allocations: 0.7517 MB / 4.762 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/13.52, allocations: 51.5 kB / 4.762 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=116): time 4.208e-06/13.52, allocations: 0 / 4.762 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of matching and sorting (n=120): time 0.01328/13.53, allocations: 3.975 MB / 4.766 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/13.54, allocations: 64.41 kB / 4.766 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001757/13.54, allocations: 0.9765 MB / 4.767 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0002378/13.54, allocations: 25.7 kB / 4.767 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003578/13.54, allocations: 0.5828 MB / 4.768 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.000461/13.54, allocations: 401.7 kB / 4.768 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.342e-05/13.54, allocations: 0 / 4.768 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001511/13.54, allocations: 353.9 kB / 4.768 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007732/13.54, allocations: 0.5063 MB / 4.769 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008513/13.54, allocations: 0.7474 MB / 4.77 GB, free: 4.98 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.0153/13.56, allocations: 3.966 MB / 4.773 GB, free: 0.9766 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.235e-06/13.56, allocations: 0 / 4.773 GB, free: 0.9766 MB / 0.7448 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.5186/14.07, allocations: 1.821 MB / 4.775 GB, free: 138.4 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/14.07, allocations: 15.06 kB / 4.775 GB, free: 138.4 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.82e-05/14.07, allocations: 3.781 kB / 4.775 GB, free: 138.4 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001243/14.08, allocations: 209.9 kB / 4.775 GB, free: 138.4 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002028/14.08, allocations: 341.3 kB / 4.776 GB, free: 138.4 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003507/14.08, allocations: 3.091 MB / 4.779 GB, free: 136 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003237/14.08, allocations: 239.2 kB / 4.779 GB, free: 136 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002575/14.08, allocations: 58.02 kB / 4.779 GB, free: 136 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.000382/14.08, allocations: 139.1 kB / 4.779 GB, free: 135.8 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003616/14.08, allocations: 160.4 kB / 4.779 GB, free: 135.8 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005666/14.09, allocations: 1.901 MB / 4.781 GB, free: 135.8 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.59e-05/14.09, allocations: 12.47 kB / 4.781 GB, free: 135.8 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/14.09, allocations: 7.547 kB / 4.781 GB, free: 135.8 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003765/14.09, allocations: 1.694 MB / 4.783 GB, free: 135.5 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01154/14.11, allocations: 4.642 MB / 4.787 GB, free: 134.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.66e-05/14.11, allocations: 10 kB / 4.787 GB, free: 134.6 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002059/14.11, allocations: 327.6 kB / 4.788 GB, free: 134.6 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001224/14.11, allocations: 230 kB / 4.788 GB, free: 134.6 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002353/14.11, allocations: 30.17 kB / 4.788 GB, free: 134.6 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003593/14.11, allocations: 3.138 MB / 4.791 GB, free: 132.2 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.899e-05/14.11, allocations: 17.12 kB / 4.791 GB, free: 132.2 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007103/14.12, allocations: 3.478 MB / 4.794 GB, free: 130.7 MB / 0.7448 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008452/14.13, allocations: 4.831 MB / 4.799 GB, free: 128.9 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001857/14.13, allocations: 417.5 kB / 4.8 GB, free: 128.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006476/14.13, allocations: 20.25 kB / 4.8 GB, free: 128.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002805/14.13, allocations: 228.8 kB / 4.8 GB, free: 128.7 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001973/14.13, allocations: 96.11 kB / 4.8 GB, free: 128.7 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002009/14.13, allocations: 63.97 kB / 4.8 GB, free: 128.7 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.001786/14.14, allocations: 0.7451 MB / 4.801 GB, free: 128.6 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.005588/14.14, allocations: 1.102 MB / 4.802 GB, free: 128.6 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.006386/14.15, allocations: 3.697 MB / 4.805 GB, free: 127.3 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.003993/14.15, allocations: 1.488 MB / 4.807 GB, free: 127 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.729e-05/14.15, allocations: 3.875 kB / 4.807 GB, free: 127 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.00206/14.15, allocations: 0.8833 MB / 4.808 GB, free: 126.8 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004978/14.16, allocations: 0.7577 MB / 4.808 GB, free: 126.8 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01009/14.17, allocations: 3.044 MB / 4.811 GB, free: 125.9 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003307/14.17, allocations: 1.713 MB / 4.813 GB, free: 125.1 MB / 0.7448 GB Notification: Performance of SimCode: time 1.162e-06/14.17, allocations: 0 / 4.813 GB, free: 125.1 MB / 0.7448 GB (rm -f IDEAS_dev_IDEAS.Airflow.AHU.Validation.IehWinter.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.AHU.Validation.IehWinter.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.AHU.Validation.IehWinter.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.AHU.Validation.IehWinter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_AHU_Validation_IehWinter_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_AHU_Validation_IehWinter.fmu > IDEAS_dev_IDEAS.Airflow.AHU.Validation.IehWinter.pipe 2>&1)