Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.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.Fluid.HeatExchangers.Validation.PrescribedOutlet,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_Validation_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_Validation_PrescribedOutlet",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.00443/0.00443, allocations: 184.3 kB / 7.462 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.732/0.732, 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.501/1.501, allocations: 221.3 MB / 395 MB, free: 10.17 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.001018/0.001019, allocations: 98.77 kB / 477.8 MB, free: 10.78 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4785/0.4796, allocations: 88.42 MB / 0.5529 GB, free: 89.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1828/0.6624, allocations: 82.3 MB / 0.6333 GB, free: 13.99 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.238/1.9, allocations: 362.7 MB / 0.9875 GB, free: 263.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002538/1.901, allocations: 88.48 kB / 0.9876 GB, free: 263.2 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 3.352/5.253, allocations: 0.9549 GB / 1.943 GB, free: 72.18 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.883e-05/5.253, allocations: 10.91 kB / 1.943 GB, free: 72.18 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004216/5.257, allocations: 0.6671 MB / 1.943 GB, free: 71.92 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005836/5.263, allocations: 1.465 MB / 1.945 GB, free: 70.94 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.125e-05/5.263, allocations: 31.78 kB / 1.945 GB, free: 70.94 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002559/5.264, allocations: 71.16 kB / 1.945 GB, free: 70.94 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002262/5.266, allocations: 0.859 MB / 1.946 GB, free: 70.56 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002095/5.268, allocations: 1.049 MB / 1.947 GB, free: 69.92 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.935e-05/5.268, allocations: 1.344 kB / 1.947 GB, free: 69.92 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.802e-05/5.268, allocations: 3.281 kB / 1.947 GB, free: 69.92 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.874e-05/5.268, allocations: 28.23 kB / 1.947 GB, free: 69.92 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01015/5.278, allocations: 6.462 MB / 1.953 GB, free: 64.33 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001529/5.28, allocations: 0.864 MB / 1.954 GB, free: 63.94 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009398/5.281, allocations: 0.5028 MB / 1.954 GB, free: 63.71 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002/5.283, allocations: 2.266 MB / 1.956 GB, free: 61.08 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001284/5.284, allocations: 0.6449 MB / 1.957 GB, free: 60.66 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=100): time 4.659e-06/5.284, allocations: 0 / 1.957 GB, free: 60.66 MB / 0.6823 GB Notification: Performance of matching and sorting (n=100): time 0.004488/5.289, allocations: 1.376 MB / 1.958 GB, free: 59.98 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.7e-05/5.289, allocations: 145.7 kB / 1.959 GB, free: 59.82 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001271/5.29, allocations: 0.8819 MB / 1.959 GB, free: 58.93 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.551e-05/5.29, allocations: 33.11 kB / 1.959 GB, free: 58.89 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003359/5.29, allocations: 445.8 kB / 1.96 GB, free: 58.45 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002972/5.291, allocations: 311.4 kB / 1.96 GB, free: 58.14 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.222e-05/5.291, allocations: 4 kB / 1.96 GB, free: 58.14 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.778e-05/5.291, allocations: 345.8 kB / 1.961 GB, free: 57.79 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005727/5.292, allocations: 405.9 kB / 1.961 GB, free: 57.39 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007145/5.292, allocations: 0.6387 MB / 1.962 GB, free: 56.67 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002086/5.294, allocations: 0.7253 MB / 1.962 GB, free: 55.96 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.259e-06/5.294, allocations: 0 / 1.962 GB, free: 55.96 MB / 0.6823 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003315/5.298, allocations: 1.479 MB / 1.964 GB, free: 54.46 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004077/5.298, allocations: 1.618 MB / 1.965 GB, free: 52.78 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/5.298, allocations: 4 kB / 1.965 GB, free: 52.77 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.888e-05/5.298, allocations: 8 kB / 1.965 GB, free: 52.77 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001361/5.3, allocations: 290.2 kB / 1.966 GB, free: 52.49 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.564e-05/5.3, allocations: 11.98 kB / 1.966 GB, free: 52.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001864/5.301, allocations: 215.6 kB / 1.966 GB, free: 52.29 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001544/5.302, allocations: 63.97 kB / 1.966 GB, free: 52.23 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.518e-06/5.302, allocations: 6.344 kB / 1.966 GB, free: 52.22 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003027/5.305, allocations: 1.283 MB / 1.967 GB, free: 50.94 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/5.305, allocations: 7.906 kB / 1.967 GB, free: 50.93 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/5.305, allocations: 8 kB / 1.967 GB, free: 50.93 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/5.306, allocations: 299 kB / 1.967 GB, free: 50.65 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/5.306, allocations: 11.94 kB / 1.967 GB, free: 50.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001898/5.308, allocations: 210.2 kB / 1.968 GB, free: 50.45 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001289/5.308, allocations: 63.88 kB / 1.968 GB, free: 50.39 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,$PRE.TSetHeat.nextEvent,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,$PRE.TSetCool.nextEvent,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,$PRE.TSetCoolHeat.nextEvent,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 3 * 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.0003653/5.308, allocations: 227.6 kB / 1.968 GB, free: 50.14 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002897/5.309, allocations: 154.1 kB / 1.968 GB, free: 49.98 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00484/5.314, allocations: 2.115 MB / 1.97 GB, free: 47.88 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.632e-05/5.314, allocations: 19.89 kB / 1.97 GB, free: 47.86 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/5.314, allocations: 0 / 1.97 GB, free: 47.86 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.414e-05/5.314, allocations: 3.984 kB / 1.97 GB, free: 47.86 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007027/5.321, allocations: 3.213 MB / 1.973 GB, free: 44.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.217e-05/5.321, allocations: 4 kB / 1.973 GB, free: 44.61 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001244/5.322, allocations: 239.8 kB / 1.973 GB, free: 44.38 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.3e-05/5.322, allocations: 8 kB / 1.974 GB, free: 44.37 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001202/5.322, allocations: 35.97 kB / 1.974 GB, free: 44.33 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-05/5.322, allocations: 7.938 kB / 1.974 GB, free: 44.32 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.886e-06/5.322, allocations: 7.984 kB / 1.974 GB, free: 44.32 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005132/5.327, allocations: 2.658 MB / 1.976 GB, free: 41.59 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006257/5.334, allocations: 3.936 MB / 1.98 GB, free: 37.57 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001242/5.335, allocations: 403.9 kB / 1.98 GB, free: 37.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005524/5.335, allocations: 15.12 kB / 1.98 GB, free: 37.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001817/5.337, allocations: 167.8 kB / 1.981 GB, free: 36.98 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001616/5.337, allocations: 68.8 kB / 1.981 GB, free: 36.91 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001391/5.338, allocations: 55.97 kB / 1.981 GB, free: 36.86 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.001325/5.339, allocations: 0.6678 MB / 1.981 GB, free: 36.19 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.005609/5.345, allocations: 1.15 MB / 1.982 GB, free: 35.04 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (heaHigPowOut.T,cooLimPowOut.T,heaCooUnlOut.T,heaHigPowIn.T,cooLimPowIn.T,heaCooUnlIn.T) * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 18 (TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.nextEventScaled,TSetCoolHeat.b,TSetCoolHeat.a,$whenCondition3,TSetCool.nextEvent,TSetCool.last,TSetCool.nextEventScaled,TSetCool.b,TSetCool.a,$whenCondition2,TSetHeat.nextEvent,TSetHeat.last,TSetHeat.nextEventScaled,TSetHeat.b,TSetHeat.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 19 * 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.002343/5.347, allocations: 0.9784 MB / 1.983 GB, free: 34.19 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002881/5.35, allocations: 1.923 MB / 1.985 GB, free: 32.23 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/5.35, allocations: 4.438 kB / 1.985 GB, free: 32.23 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001025/5.351, allocations: 0.8173 MB / 1.986 GB, free: 31.39 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002931/5.354, allocations: 0.4971 MB / 1.987 GB, free: 30.92 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005537/5.359, allocations: 2.497 MB / 1.989 GB, free: 28.42 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001179/5.361, allocations: 1.495 MB / 1.99 GB, free: 26.89 MB / 0.6823 GB Notification: Performance of SimCode: time 1.503e-06/5.361, allocations: 0 / 1.99 GB, free: 26.89 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_Validation_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_Validation_PrescribedOutlet.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe 2>&1)