Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.Example3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example3,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_Example3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example3,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_Example3",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 9.1.1-maint.9.1.x/package.mo): time 2.134/2.134, allocations: 387.2 MB / 394.5 MB, free: 13.69 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.001286/0.001286, allocations: 181.3 kB / 487 MB, free: 5.371 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.33/1.33, allocations: 221.3 MB / 0.7819 GB, free: 1.434 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009209/0.0009208, allocations: 94.94 kB / 0.9213 GB, free: 2.672 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.5207/0.5216, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.767, allocations: 142.3 MB / 1.205 GB, free: 26.16 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7883/1.555, allocations: 402 MB / 1.598 GB, free: 4.656 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002426/1.556, allocations: 94.06 kB / 1.598 GB, free: 4.609 MB / 1.026 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 2.331/3.887, allocations: 0.7062 GB / 2.304 GB, free: 258.8 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/3.887, allocations: 8.406 kB / 2.304 GB, free: 258.8 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003054/3.89, allocations: 396.6 kB / 2.305 GB, free: 258.6 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01007/3.9, allocations: 2.593 MB / 2.307 GB, free: 257 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001074/3.9, allocations: 31 kB / 2.307 GB, free: 257 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005039/3.901, allocations: 66.19 kB / 2.307 GB, free: 257 MB / 1.135 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002494/3.903, allocations: 0.8745 MB / 2.308 GB, free: 256.3 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002276/3.906, allocations: 1.087 MB / 2.309 GB, free: 255.2 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.601e-05/3.906, allocations: 0 / 2.309 GB, free: 255.2 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001352/3.906, allocations: 4 kB / 2.309 GB, free: 255.2 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.181e-05/3.906, allocations: 24 kB / 2.309 GB, free: 255.1 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009541/3.915, allocations: 6.612 MB / 2.316 GB, free: 248.2 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008621/3.916, allocations: 0.5846 MB / 2.316 GB, free: 247.6 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000462/3.917, allocations: 379.1 kB / 2.316 GB, free: 247.2 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0034/3.92, allocations: 1.677 MB / 2.318 GB, free: 245.4 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000469/3.921, allocations: 331.1 kB / 2.318 GB, free: 245.1 MB / 1.135 GB Notification: Performance of pre-optimization done (n=47): time 6.072e-06/3.921, allocations: 7.453 kB / 2.318 GB, free: 245.1 MB / 1.135 GB Notification: Performance of matching and sorting (n=47): time 0.002235/3.923, allocations: 0.8541 MB / 2.319 GB, free: 244.2 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/3.923, allocations: 55.84 kB / 2.319 GB, free: 244.2 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002326/3.925, allocations: 1.387 MB / 2.321 GB, free: 242.8 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 8.033e-05/3.925, allocations: 29.7 kB / 2.321 GB, free: 242.8 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004396/3.926, allocations: 0.5413 MB / 2.321 GB, free: 242.2 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001791/3.926, allocations: 157.8 kB / 2.321 GB, free: 242 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.171e-05/3.926, allocations: 2.969 kB / 2.321 GB, free: 242 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 9.344e-05/3.926, allocations: 341.9 kB / 2.322 GB, free: 241.7 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003732/3.927, allocations: 265.7 kB / 2.322 GB, free: 241.4 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005587/3.927, allocations: 0.6971 MB / 2.323 GB, free: 240.5 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001068/3.928, allocations: 436.2 kB / 2.323 GB, free: 240.1 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.305e-06/3.928, allocations: 4 kB / 2.323 GB, free: 240.1 MB / 1.135 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002343/3.931, allocations: 1.146 MB / 2.324 GB, free: 239 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.001052/3.932, allocations: 4.066 MB / 2.328 GB, free: 234.6 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.456e-05/3.932, allocations: 8 kB / 2.328 GB, free: 234.6 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003167/3.932, allocations: 130.9 kB / 2.328 GB, free: 234.5 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00075/3.933, allocations: 186.8 kB / 2.328 GB, free: 234.3 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006189/3.933, allocations: 0.7978 MB / 2.329 GB, free: 233.5 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001554/3.935, allocations: 134 kB / 2.329 GB, free: 233.4 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/3.935, allocations: 55.92 kB / 2.329 GB, free: 233.3 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/3.935, allocations: 4 kB / 2.329 GB, free: 233.3 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001871/3.937, allocations: 0.9388 MB / 2.33 GB, free: 232.4 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.675e-05/3.937, allocations: 15.91 kB / 2.33 GB, free: 232.3 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002108/3.937, allocations: 112.7 kB / 2.33 GB, free: 232.2 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006731/3.938, allocations: 187 kB / 2.331 GB, free: 232.1 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001897/3.94, allocations: 1.981 MB / 2.333 GB, free: 230 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001394/3.941, allocations: 121.6 kB / 2.333 GB, free: 229.9 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.399e-05/3.941, allocations: 47.98 kB / 2.333 GB, free: 229.8 MB / 1.135 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002186/3.942, allocations: 142 kB / 2.333 GB, free: 229.7 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001883/3.942, allocations: 161.9 kB / 2.333 GB, free: 229.5 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001921/3.944, allocations: 1.002 MB / 2.334 GB, free: 228.5 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/3.944, allocations: 7.625 kB / 2.334 GB, free: 228.5 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/3.944, allocations: 0 / 2.334 GB, free: 228.5 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001137/3.945, allocations: 0.91 MB / 2.335 GB, free: 227.6 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003086/3.948, allocations: 1.971 MB / 2.337 GB, free: 225.6 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/3.948, allocations: 0 / 2.337 GB, free: 225.6 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005674/3.948, allocations: 110.5 kB / 2.337 GB, free: 225.4 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001932/3.949, allocations: 97.05 kB / 2.337 GB, free: 225.3 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.796e-05/3.949, allocations: 15.98 kB / 2.337 GB, free: 225.3 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000433/3.949, allocations: 0.7548 MB / 2.338 GB, free: 224.6 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/3.949, allocations: 0 / 2.338 GB, free: 224.6 MB / 1.135 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001691/3.951, allocations: 1.321 MB / 2.339 GB, free: 223.2 MB / 1.135 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002185/3.953, allocations: 2.112 MB / 2.341 GB, free: 221.1 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000595/3.954, allocations: 314.8 kB / 2.341 GB, free: 220.7 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002069/3.954, allocations: 0 / 2.341 GB, free: 220.7 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008188/3.955, allocations: 74.77 kB / 2.341 GB, free: 220.7 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/3.955, allocations: 44.36 kB / 2.342 GB, free: 220.6 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.69e-05/3.955, allocations: 23.98 kB / 2.342 GB, free: 220.6 MB / 1.135 GB Notification: Performance of sort global known variables: time 0.001241/3.956, allocations: 1.071 MB / 2.343 GB, free: 219.6 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.004443/3.961, allocations: 1.03 MB / 2.344 GB, free: 218.5 MB / 1.135 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.001689/3.962, allocations: 0.788 MB / 2.344 GB, free: 217.9 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.002057/3.964, allocations: 1.319 MB / 2.346 GB, free: 216.5 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/3.964, allocations: 7.688 kB / 2.346 GB, free: 216.5 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.0004552/3.965, allocations: 309.4 kB / 2.346 GB, free: 216.2 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002533/3.967, allocations: 0.5875 MB / 2.347 GB, free: 215.7 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004616/3.972, allocations: 2.314 MB / 2.349 GB, free: 213.3 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001355/3.973, allocations: 1.672 MB / 2.35 GB, free: 211.6 MB / 1.135 GB Notification: Performance of SimCode: time 6.11e-07/3.973, allocations: 0 / 2.35 GB, free: 211.6 MB / 1.135 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.Performance.Example3_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_Performance_Example3_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_Performance_Example3.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1)