Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Examples_Carnot_TEva",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Examples_Carnot_TEva",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 10.0.0-master/package.mo): time 2.167/2.167, allocations: 390.4 MB / 397.7 MB, free: 11.21 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 170.8 kB / 490.8 MB, free: 1.902 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 221.3 MB / 0.7863 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 88.62 kB / 0.9264 GB, free: 14.23 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.7072/0.7083, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2688/0.9771, allocations: 143 MB / 1.212 GB, free: 40 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.165/2.142, allocations: 434.5 MB / 1.636 GB, free: 13.23 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002882/2.142, allocations: 90.97 kB / 1.636 GB, free: 13.18 MB / 1.057 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 2.743/4.885, allocations: 0.6515 GB / 2.288 GB, free: 265.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/4.885, allocations: 11.16 kB / 2.288 GB, free: 265.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002864/4.888, allocations: 486.3 kB / 2.288 GB, free: 265 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004275/4.892, allocations: 1.309 MB / 2.289 GB, free: 264.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003817/4.893, allocations: 110.3 kB / 2.289 GB, free: 264.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002964/4.893, allocations: 50.38 kB / 2.289 GB, free: 264.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001782/4.895, allocations: 0.6202 MB / 2.29 GB, free: 264.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001649/4.897, allocations: 0.7687 MB / 2.291 GB, free: 264.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.021e-05/4.897, allocations: 3.281 kB / 2.291 GB, free: 264.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001105/4.897, allocations: 0 / 2.291 GB, free: 264.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.346e-05/4.897, allocations: 32.08 kB / 2.291 GB, free: 264.5 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008838/4.906, allocations: 4.77 MB / 2.296 GB, free: 262 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002416/4.908, allocations: 0.6776 MB / 2.296 GB, free: 262 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002931/4.909, allocations: 189.9 kB / 2.296 GB, free: 262 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005048/4.909, allocations: 0.9121 MB / 2.297 GB, free: 260.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/4.909, allocations: 47.69 kB / 2.297 GB, free: 260.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=42): time 2.725e-06/4.909, allocations: 0 / 2.297 GB, free: 260.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=42): time 0.00324/4.912, allocations: 0.7808 MB / 2.298 GB, free: 260.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.854e-05/4.912, allocations: 58 kB / 2.298 GB, free: 260.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001482/4.914, allocations: 0.7464 MB / 2.299 GB, free: 260.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001045/4.914, allocations: 25.7 kB / 2.299 GB, free: 260.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003455/4.914, allocations: 388 kB / 2.299 GB, free: 260.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001348/4.914, allocations: 145.9 kB / 2.299 GB, free: 260.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/4.915, allocations: 0 / 2.299 GB, free: 260.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.142e-05/4.915, allocations: 327.7 kB / 2.3 GB, free: 260 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002956/4.915, allocations: 173.2 kB / 2.3 GB, free: 260 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004245/4.915, allocations: 415.5 kB / 2.3 GB, free: 259.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007727/4.916, allocations: 259.5 kB / 2.3 GB, free: 259.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.171e-06/4.916, allocations: 3.312 kB / 2.301 GB, free: 259.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001721/4.918, allocations: 0.7002 MB / 2.301 GB, free: 259.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005/4.918, allocations: 1.664 MB / 2.303 GB, free: 257.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/4.918, allocations: 7.875 kB / 2.303 GB, free: 257.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007329/4.919, allocations: 226.7 kB / 2.303 GB, free: 257.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00053/4.92, allocations: 123.5 kB / 2.303 GB, free: 257.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001031/4.921, allocations: 0.8908 MB / 2.304 GB, free: 257.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/4.922, allocations: 177.6 kB / 2.304 GB, free: 257.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.877e-05/4.922, allocations: 33.86 kB / 2.304 GB, free: 257.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.216e-06/4.922, allocations: 3.719 kB / 2.304 GB, free: 257.3 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001308/4.924, allocations: 0.5679 MB / 2.305 GB, free: 257.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/4.924, allocations: 7.531 kB / 2.305 GB, free: 257.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006078/4.924, allocations: 230.9 kB / 2.305 GB, free: 257.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005043/4.925, allocations: 125.5 kB / 2.305 GB, free: 257.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009475/4.926, allocations: 0.8764 MB / 2.306 GB, free: 256.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001372/4.927, allocations: 141.9 kB / 2.306 GB, free: 256.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.042e-05/4.927, allocations: 32.81 kB / 2.306 GB, free: 256.7 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 15} Notification: Performance of prepare postOptimizeDAE: time 0.000205/4.927, allocations: 126.5 kB / 2.306 GB, free: 256.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00025/4.928, allocations: 103.6 kB / 2.306 GB, free: 256.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001873/4.93, allocations: 0.7367 MB / 2.307 GB, free: 256.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.43e-05/4.93, allocations: 7.578 kB / 2.307 GB, free: 256.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/4.93, allocations: 0 / 2.307 GB, free: 256.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/4.93, allocations: 3.938 kB / 2.307 GB, free: 256.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004772/4.934, allocations: 1.907 MB / 2.309 GB, free: 256.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/4.934, allocations: 3.562 kB / 2.309 GB, free: 256.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002815/4.935, allocations: 68.14 kB / 2.309 GB, free: 256.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006402/4.935, allocations: 247.6 kB / 2.309 GB, free: 256.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.574e-05/4.935, allocations: 11.45 kB / 2.309 GB, free: 256.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009763/4.936, allocations: 0.9117 MB / 2.31 GB, free: 255.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/4.936, allocations: 5.531 kB / 2.31 GB, free: 255.6 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003026/4.94, allocations: 1.105 MB / 2.311 GB, free: 255.2 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003386/4.943, allocations: 1.554 MB / 2.313 GB, free: 254.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007991/4.944, allocations: 268.9 kB / 2.313 GB, free: 254.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003149/4.944, allocations: 3.438 kB / 2.313 GB, free: 254.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00117/4.945, allocations: 109.4 kB / 2.313 GB, free: 254.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/4.945, allocations: 41.31 kB / 2.313 GB, free: 254.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.007e-05/4.945, allocations: 21.62 kB / 2.313 GB, free: 254.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.001147/4.947, allocations: 0.5684 MB / 2.314 GB, free: 254.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.004641/4.951, allocations: 0.8025 MB / 2.315 GB, free: 254 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * 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: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.001671/4.953, allocations: 0.6872 MB / 2.315 GB, free: 253.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002195/4.955, allocations: 0.8076 MB / 2.316 GB, free: 253.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/4.955, allocations: 0 / 2.316 GB, free: 253.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006553/4.956, allocations: 269.7 kB / 2.316 GB, free: 253.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002116/4.958, allocations: 369.3 kB / 2.317 GB, free: 253.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005675/4.964, allocations: 1.63 MB / 2.318 GB, free: 253.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001027/4.965, allocations: 1.162 MB / 2.319 GB, free: 252.7 MB / 1.151 GB Notification: Performance of SimCode: time 1.533e-06/4.965, allocations: 3.156 kB / 2.319 GB, free: 252.7 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Examples_Carnot_TEva_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Examples_Carnot_TEva.fmu > Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)