Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,fileNamePrefix="Buildings_8_Buildings_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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.613/1.613, allocations: 289.8 MB / 297.1 MB, free: 6.727 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001171/0.001171, allocations: 185.2 kB / 366.3 MB, free: 1.992 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.518/1.518, allocations: 205.1 MB / 0.6256 GB, free: 5.828 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009159/0.0009158, allocations: 85.97 kB / 0.7395 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2937/0.2946, allocations: 122.4 MB / 0.8591 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7094/1.004, allocations: 116.3 MB / 0.9726 GB, free: 68.68 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.039/2.043, allocations: 454.8 MB / 1.417 GB, free: 34.98 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002352/2.043, allocations: 91.14 kB / 1.417 GB, free: 34.94 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 4.039/6.082, allocations: 1.17 GB / 2.587 GB, free: 72.95 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/6.082, allocations: 8 kB / 2.587 GB, free: 72.95 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00207/6.084, allocations: 489 kB / 2.588 GB, free: 72.46 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005267/6.09, allocations: 2.329 MB / 2.59 GB, free: 70.13 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.554e-05/6.09, allocations: 36 kB / 2.59 GB, free: 70.09 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002273/6.09, allocations: 75.91 kB / 2.59 GB, free: 70.02 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001613/6.091, allocations: 0.7854 MB / 2.591 GB, free: 69.23 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001527/6.093, allocations: 1.094 MB / 2.592 GB, free: 68.03 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.194e-05/6.093, allocations: 0 / 2.592 GB, free: 68.03 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.483e-05/6.093, allocations: 7.875 kB / 2.592 GB, free: 68.02 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.166e-05/6.093, allocations: 31.98 kB / 2.592 GB, free: 67.99 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007573/6.101, allocations: 6.918 MB / 2.599 GB, free: 60.63 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008904/6.102, allocations: 0.6156 MB / 2.599 GB, free: 60.01 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003831/6.102, allocations: 323 kB / 2.6 GB, free: 59.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004001/6.106, allocations: 2.814 MB / 2.602 GB, free: 56.58 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004533/6.107, allocations: 347 kB / 2.603 GB, free: 56.23 MB / 0.948 GB Notification: Performance of pre-optimization done (n=64): time 2.875e-06/6.107, allocations: 0 / 2.603 GB, free: 56.23 MB / 0.948 GB Notification: Performance of matching and sorting (n=64): time 0.002307/6.109, allocations: 0.8578 MB / 2.604 GB, free: 55.36 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.827e-05/6.109, allocations: 162.9 kB / 2.604 GB, free: 55.16 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001645/6.111, allocations: 1.244 MB / 2.605 GB, free: 53.92 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.163e-05/6.111, allocations: 29.69 kB / 2.605 GB, free: 53.89 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004141/6.111, allocations: 0.5871 MB / 2.606 GB, free: 53.29 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001848/6.111, allocations: 220.8 kB / 2.606 GB, free: 53.07 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.464e-05/6.111, allocations: 0 / 2.606 GB, free: 53.07 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.2e-05/6.111, allocations: 341.9 kB / 2.606 GB, free: 52.73 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003884/6.112, allocations: 278.2 kB / 2.606 GB, free: 52.46 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000532/6.112, allocations: 0.7008 MB / 2.607 GB, free: 51.55 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001608/6.114, allocations: 0.5525 MB / 2.608 GB, free: 51 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/6.114, allocations: 0 / 2.608 GB, free: 51 MB / 0.948 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002448/6.116, allocations: 1.205 MB / 2.609 GB, free: 49.79 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001083/6.118, allocations: 4.503 MB / 2.613 GB, free: 44.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.098e-05/6.118, allocations: 15.98 kB / 2.613 GB, free: 44.88 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.374e-05/6.118, allocations: 19.94 kB / 2.613 GB, free: 44.86 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009876/6.119, allocations: 255.6 kB / 2.613 GB, free: 44.61 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.548e-05/6.119, allocations: 23.92 kB / 2.613 GB, free: 44.59 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/6.12, allocations: 158.9 kB / 2.614 GB, free: 44.43 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/6.12, allocations: 51.98 kB / 2.614 GB, free: 44.38 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.484e-06/6.12, allocations: 4 kB / 2.614 GB, free: 44.38 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0021/6.122, allocations: 0.9671 MB / 2.615 GB, free: 43.41 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.608e-05/6.122, allocations: 20.23 kB / 2.615 GB, free: 43.39 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/6.122, allocations: 19.91 kB / 2.615 GB, free: 43.38 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009146/6.123, allocations: 251.6 kB / 2.615 GB, free: 43.13 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/6.123, allocations: 31.86 kB / 2.615 GB, free: 43.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001217/6.125, allocations: 139.1 kB / 2.615 GB, free: 42.96 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.841e-05/6.125, allocations: 55.97 kB / 2.615 GB, free: 42.91 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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 (125): * Single equations (assignments): 121 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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.0002196/6.125, allocations: 140.7 kB / 2.615 GB, free: 42.76 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002075/6.125, allocations: 165.8 kB / 2.615 GB, free: 42.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002673/6.128, allocations: 1.125 MB / 2.617 GB, free: 41.46 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.374e-05/6.128, allocations: 8 kB / 2.617 GB, free: 41.45 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/6.128, allocations: 4 kB / 2.617 GB, free: 41.45 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001566/6.129, allocations: 0.9182 MB / 2.617 GB, free: 40.48 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003936/6.133, allocations: 2.122 MB / 2.619 GB, free: 38.32 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/6.133, allocations: 0 / 2.619 GB, free: 38.32 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007415/6.134, allocations: 147.9 kB / 2.62 GB, free: 38.18 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000178/6.134, allocations: 40.09 kB / 2.62 GB, free: 38.14 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.488e-05/6.134, allocations: 15.98 kB / 2.62 GB, free: 38.12 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008524/6.135, allocations: 1.263 MB / 2.621 GB, free: 36.75 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/6.135, allocations: 0 / 2.621 GB, free: 36.75 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002332/6.138, allocations: 1.438 MB / 2.622 GB, free: 35.27 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002922/6.14, allocations: 2.271 MB / 2.625 GB, free: 32.96 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000682/6.141, allocations: 338.7 kB / 2.625 GB, free: 32.61 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002468/6.141, allocations: 0 / 2.625 GB, free: 32.61 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009247/6.142, allocations: 83.81 kB / 2.625 GB, free: 32.52 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/6.142, allocations: 48.58 kB / 2.625 GB, free: 32.48 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.515e-05/6.143, allocations: 27.98 kB / 2.625 GB, free: 32.45 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.00127/6.144, allocations: 0.9312 MB / 2.626 GB, free: 31.53 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005351/6.149, allocations: 1.31 MB / 2.627 GB, free: 30.21 MB / 0.948 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.x[1],mov.filter.x[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 (74): * Single equations (assignments): 65 * 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.002382/6.152, allocations: 1.243 MB / 2.628 GB, free: 29.13 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002297/6.154, allocations: 1.364 MB / 2.63 GB, free: 27.74 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/6.154, allocations: 2.438 kB / 2.63 GB, free: 27.74 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006082/6.155, allocations: 456 kB / 2.63 GB, free: 27.29 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002814/6.157, allocations: 0.6065 MB / 2.631 GB, free: 26.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00487/6.162, allocations: 2.381 MB / 2.633 GB, free: 24.28 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001177/6.163, allocations: 1.573 MB / 2.635 GB, free: 22.68 MB / 0.948 GB Notification: Performance of SimCode: time 1.052e-06/6.163, allocations: 0 / 2.635 GB, free: 22.68 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)