Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.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.Examples.WaterCooler_T,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_Examples_WaterCooler_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_Examples_WaterCooler_T",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.003945/0.003944, allocations: 182.6 kB / 7.458 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.7682/0.7682, 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.542/1.542, allocations: 221.3 MB / 395 MB, free: 10.18 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.0009821/0.0009821, allocations: 107.3 kB / 477.8 MB, free: 10.78 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4256/0.4267, allocations: 88.43 MB / 0.5529 GB, free: 89.13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.6013, allocations: 82.3 MB / 0.6333 GB, free: 13.98 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.364/1.966, allocations: 414.4 MB / 1.038 GB, free: 193.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003735/1.966, allocations: 98.62 kB / 1.038 GB, free: 193.3 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 4.274/6.24, allocations: 1.186 GB / 2.224 GB, free: 74.22 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/6.24, allocations: 8.656 kB / 2.224 GB, free: 74.21 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002637/6.243, allocations: 486.9 kB / 2.225 GB, free: 73.75 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006851/6.25, allocations: 2.291 MB / 2.227 GB, free: 71.47 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.081e-05/6.25, allocations: 38.47 kB / 2.227 GB, free: 71.44 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001993/6.25, allocations: 76 kB / 2.227 GB, free: 71.36 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002346/6.253, allocations: 0.7854 MB / 2.228 GB, free: 70.57 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001685/6.254, allocations: 1.057 MB / 2.229 GB, free: 69.42 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.17e-05/6.254, allocations: 2.344 kB / 2.229 GB, free: 69.42 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.697e-05/6.254, allocations: 4 kB / 2.229 GB, free: 69.42 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.209e-05/6.254, allocations: 49.97 kB / 2.229 GB, free: 69.37 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01029/6.265, allocations: 6.964 MB / 2.236 GB, free: 62.02 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006066/6.265, allocations: 446.3 kB / 2.236 GB, free: 61.58 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004365/6.266, allocations: 351.9 kB / 2.237 GB, free: 61.23 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006009/6.272, allocations: 2.93 MB / 2.239 GB, free: 58.02 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005215/6.272, allocations: 339.1 kB / 2.24 GB, free: 57.68 MB / 0.698 GB Notification: Performance of pre-optimization done (n=66): time 3.396e-06/6.272, allocations: 0 / 2.24 GB, free: 57.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=66): time 0.002758/6.275, allocations: 0.8753 MB / 2.241 GB, free: 56.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.488e-05/6.275, allocations: 111.5 kB / 2.241 GB, free: 56.66 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002672/6.278, allocations: 1.227 MB / 2.242 GB, free: 55.44 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001263/6.278, allocations: 25.7 kB / 2.242 GB, free: 55.41 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006696/6.279, allocations: 0.5677 MB / 2.242 GB, free: 54.83 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002784/6.279, allocations: 228.6 kB / 2.243 GB, free: 54.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.051e-05/6.279, allocations: 0 / 2.243 GB, free: 54.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.426e-05/6.279, allocations: 348.9 kB / 2.243 GB, free: 54.26 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004567/6.28, allocations: 261.9 kB / 2.243 GB, free: 54 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006114/6.28, allocations: 0.6552 MB / 2.244 GB, free: 53.17 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001849/6.282, allocations: 0.5278 MB / 2.244 GB, free: 52.66 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.474e-05/6.282, allocations: 6.875 kB / 2.244 GB, free: 52.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003069/6.285, allocations: 1.159 MB / 2.246 GB, free: 51.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001333/6.287, allocations: 4.413 MB / 2.25 GB, free: 46.75 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.099e-05/6.287, allocations: 11.94 kB / 2.25 GB, free: 46.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.437e-05/6.287, allocations: 20 kB / 2.25 GB, free: 46.71 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/6.288, allocations: 254.9 kB / 2.25 GB, free: 46.47 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.344e-05/6.288, allocations: 23.94 kB / 2.25 GB, free: 46.45 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001804/6.29, allocations: 151.4 kB / 2.25 GB, free: 46.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001683/6.29, allocations: 65.56 kB / 2.25 GB, free: 46.25 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/6.29, allocations: 4 kB / 2.25 GB, free: 46.24 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00232/6.292, allocations: 0.9409 MB / 2.251 GB, free: 45.32 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.28e-05/6.292, allocations: 12 kB / 2.251 GB, free: 45.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/6.292, allocations: 16 kB / 2.251 GB, free: 45.29 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009755/6.293, allocations: 254.6 kB / 2.252 GB, free: 45.04 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.875e-05/6.293, allocations: 27.91 kB / 2.252 GB, free: 45.02 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001685/6.295, allocations: 125.3 kB / 2.252 GB, free: 44.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001376/6.295, allocations: 51.98 kB / 2.252 GB, free: 44.85 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (124): * Single equations (assignments): 122 * Array equations: 1 * Algorithm blocks: 1 * 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.000332/6.295, allocations: 143.5 kB / 2.252 GB, free: 44.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005215/6.296, allocations: 165.8 kB / 2.252 GB, free: 44.54 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003107/6.299, allocations: 1.142 MB / 2.253 GB, free: 43.41 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.885e-05/6.299, allocations: 14.23 kB / 2.253 GB, free: 43.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/6.299, allocations: 0 / 2.253 GB, free: 43.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001746/6.301, allocations: 0.92 MB / 2.254 GB, free: 42.43 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005879/6.307, allocations: 2.178 MB / 2.256 GB, free: 40.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/6.307, allocations: 0 / 2.256 GB, free: 40.23 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008312/6.308, allocations: 147.8 kB / 2.256 GB, free: 40.08 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000243/6.308, allocations: 24.84 kB / 2.256 GB, free: 40.05 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-05/6.308, allocations: 19.97 kB / 2.256 GB, free: 40.04 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009956/6.309, allocations: 1.266 MB / 2.258 GB, free: 38.66 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/6.309, allocations: 3.938 kB / 2.258 GB, free: 38.66 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002893/6.312, allocations: 1.447 MB / 2.259 GB, free: 37.18 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003654/6.316, allocations: 2.281 MB / 2.261 GB, free: 34.85 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001157/6.317, allocations: 342.7 kB / 2.262 GB, free: 34.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005599/6.317, allocations: 4 kB / 2.262 GB, free: 34.49 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001336/6.319, allocations: 83.77 kB / 2.262 GB, free: 34.41 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/6.319, allocations: 44.58 kB / 2.262 GB, free: 34.37 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.461e-05/6.319, allocations: 35.97 kB / 2.262 GB, free: 34.33 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.001999/6.321, allocations: 0.9188 MB / 2.263 GB, free: 33.42 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00689/6.328, allocations: 1.232 MB / 2.264 GB, free: 32.19 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (vol.dynBal.U,mov.filter.s[1],mov.filter.s[2],conPI.I.y,THeaOut.T,coo.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003119/6.331, allocations: 1.185 MB / 2.265 GB, free: 31.23 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002467/6.334, allocations: 1.285 MB / 2.266 GB, free: 29.94 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.788e-06/6.334, allocations: 0 / 2.266 GB, free: 29.94 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008019/6.334, allocations: 460.4 kB / 2.267 GB, free: 29.48 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003604/6.338, allocations: 0.591 MB / 2.267 GB, free: 28.91 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007787/6.346, allocations: 2.34 MB / 2.27 GB, free: 26.54 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00187/6.348, allocations: 1.573 MB / 2.271 GB, free: 24.94 MB / 0.698 GB Notification: Performance of SimCode: time 1.092e-06/6.348, allocations: 0 / 2.271 GB, free: 24.94 MB / 0.698 GB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_Examples_WaterCooler_T_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Fluid_HeatExchangers_Examples_WaterCooler_T.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)