Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_HeatExchangers_Examples_WaterCooler_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T,fileNamePrefix="IDEAS_dev_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.00332/0.00332, allocations: 179.8 kB / 7.458 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.7089/0.7089, 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.443/1.443, allocations: 221.3 MB / 395 MB, free: 10.27 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.0009975/0.0009975, allocations: 98.14 kB / 477.8 MB, free: 10.9 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4468/0.4478, allocations: 88.43 MB / 0.5529 GB, free: 89.15 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.6416, allocations: 82.31 MB / 0.6333 GB, free: 14.08 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.312/1.954, allocations: 414.4 MB / 1.038 GB, free: 219.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000285/1.954, allocations: 87.95 kB / 1.038 GB, free: 219.5 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.218/6.172, allocations: 1.186 GB / 2.224 GB, free: 83.3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 7.473e-05/6.172, allocations: 9.281 kB / 2.224 GB, free: 83.3 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003669/6.176, allocations: 489.3 kB / 2.225 GB, free: 83.1 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008704/6.184, allocations: 2.297 MB / 2.227 GB, free: 81.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001503/6.185, allocations: 35.88 kB / 2.227 GB, free: 81.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003703/6.185, allocations: 74.48 kB / 2.227 GB, free: 81.59 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001885/6.187, allocations: 0.7863 MB / 2.228 GB, free: 80.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001751/6.189, allocations: 1.059 MB / 2.229 GB, free: 79.75 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.532e-05/6.189, allocations: 7.938 kB / 2.229 GB, free: 79.74 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.343e-05/6.189, allocations: 6.656 kB / 2.229 GB, free: 79.73 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.026e-05/6.189, allocations: 45.98 kB / 2.229 GB, free: 79.69 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01048/6.199, allocations: 6.969 MB / 2.236 GB, free: 72.33 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006521/6.2, allocations: 442.9 kB / 2.236 GB, free: 71.89 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004507/6.201, allocations: 347.4 kB / 2.237 GB, free: 71.55 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005339/6.206, allocations: 2.927 MB / 2.239 GB, free: 68.33 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000527/6.206, allocations: 346.5 kB / 2.24 GB, free: 67.99 MB / 0.698 GB Notification: Performance of pre-optimization done (n=66): time 3.546e-06/6.206, allocations: 0 / 2.24 GB, free: 67.99 MB / 0.698 GB Notification: Performance of matching and sorting (n=66): time 0.002836/6.209, allocations: 0.8684 MB / 2.241 GB, free: 67.12 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.558e-05/6.209, allocations: 119.5 kB / 2.241 GB, free: 66.97 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002319/6.212, allocations: 1.223 MB / 2.242 GB, free: 65.75 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.781e-05/6.212, allocations: 25.7 kB / 2.242 GB, free: 65.72 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004858/6.212, allocations: 0.5638 MB / 2.242 GB, free: 65.14 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002579/6.213, allocations: 231.5 kB / 2.243 GB, free: 64.92 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.202e-05/6.213, allocations: 0 / 2.243 GB, free: 64.92 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001113/6.213, allocations: 349.9 kB / 2.243 GB, free: 64.57 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000412/6.213, allocations: 258 kB / 2.243 GB, free: 64.32 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000602/6.214, allocations: 0.6642 MB / 2.244 GB, free: 63.48 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001707/6.215, allocations: 0.5289 MB / 2.244 GB, free: 62.97 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.16e-05/6.215, allocations: 4 kB / 2.244 GB, free: 62.97 MB / 0.698 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003219/6.219, allocations: 1.161 MB / 2.246 GB, free: 61.81 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001284/6.22, allocations: 4.419 MB / 2.25 GB, free: 57.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.161e-05/6.22, allocations: 8 kB / 2.25 GB, free: 57.04 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.805e-05/6.22, allocations: 20 kB / 2.25 GB, free: 57.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001198/6.221, allocations: 250.4 kB / 2.25 GB, free: 56.78 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.375e-05/6.221, allocations: 23.92 kB / 2.25 GB, free: 56.76 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002347/6.224, allocations: 155.8 kB / 2.25 GB, free: 56.61 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002057/6.224, allocations: 55.98 kB / 2.25 GB, free: 56.56 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/6.224, allocations: 4 kB / 2.25 GB, free: 56.55 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003076/6.227, allocations: 0.938 MB / 2.251 GB, free: 55.63 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.141e-05/6.227, allocations: 12 kB / 2.251 GB, free: 55.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.715e-05/6.227, allocations: 16 kB / 2.251 GB, free: 55.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001059/6.228, allocations: 265 kB / 2.252 GB, free: 55.35 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.853e-05/6.228, allocations: 22.78 kB / 2.252 GB, free: 55.33 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002282/6.231, allocations: 129.3 kB / 2.252 GB, free: 55.21 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001547/6.231, allocations: 51.98 kB / 2.252 GB, free: 55.16 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.0003802/6.231, allocations: 146.1 kB / 2.252 GB, free: 55.02 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000798/6.232, allocations: 165.8 kB / 2.252 GB, free: 54.85 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003686/6.236, allocations: 1.144 MB / 2.253 GB, free: 53.73 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.775e-05/6.236, allocations: 8 kB / 2.253 GB, free: 53.72 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/6.236, allocations: 0 / 2.253 GB, free: 53.72 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001798/6.237, allocations: 0.921 MB / 2.254 GB, free: 52.75 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006264/6.244, allocations: 2.175 MB / 2.256 GB, free: 50.55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/6.244, allocations: 0 / 2.256 GB, free: 50.55 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008551/6.245, allocations: 146.4 kB / 2.256 GB, free: 50.41 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002602/6.245, allocations: 24.84 kB / 2.256 GB, free: 50.38 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.47e-05/6.245, allocations: 18.8 kB / 2.256 GB, free: 50.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00119/6.246, allocations: 1.261 MB / 2.258 GB, free: 49 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/6.246, allocations: 0 / 2.258 GB, free: 49 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003812/6.25, allocations: 1.451 MB / 2.259 GB, free: 47.52 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004068/6.254, allocations: 2.274 MB / 2.261 GB, free: 45.21 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001347/6.256, allocations: 346.7 kB / 2.262 GB, free: 44.85 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006675/6.256, allocations: 0 / 2.262 GB, free: 44.85 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001486/6.258, allocations: 89.41 kB / 2.262 GB, free: 44.77 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/6.258, allocations: 52.52 kB / 2.262 GB, free: 44.72 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.299e-05/6.258, allocations: 27.98 kB / 2.262 GB, free: 44.69 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.002071/6.26, allocations: 0.9188 MB / 2.263 GB, free: 43.78 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.007057/6.267, allocations: 1.238 MB / 2.264 GB, free: 42.54 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.003083/6.27, allocations: 1.174 MB / 2.265 GB, free: 41.66 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002464/6.273, allocations: 1.28 MB / 2.266 GB, free: 40.38 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/6.273, allocations: 4.188 kB / 2.266 GB, free: 40.37 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007704/6.274, allocations: 467.9 kB / 2.267 GB, free: 39.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003901/6.277, allocations: 0.5833 MB / 2.267 GB, free: 39.34 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007309/6.285, allocations: 2.35 MB / 2.27 GB, free: 36.98 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002243/6.287, allocations: 1.566 MB / 2.271 GB, free: 35.38 MB / 0.698 GB Notification: Performance of SimCode: time 1.723e-06/6.287, allocations: 0 / 2.271 GB, free: 35.38 MB / 0.698 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_WaterCooler_T_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_WaterCooler_T.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)