Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example3,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example3,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.257/2.257, allocations: 284.8 MB / 292.1 MB, free: 10.82 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.001668/0.001668, allocations: 177.3 kB / 360.3 MB, free: 7.57 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.849/1.849, allocations: 205.1 MB / 0.6187 GB, free: 13.25 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.001343/0.001343, allocations: 87.05 kB / 0.7317 GB, free: 45.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3047/0.3061, allocations: 121.4 MB / 0.8502 GB, free: 3.965 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7057/1.012, allocations: 115.2 MB / 0.9627 GB, free: 78.37 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.174/2.186, allocations: 403.3 MB / 1.357 GB, free: 163.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002772/2.186, allocations: 90.94 kB / 1.357 GB, free: 163.6 MB / 0.8542 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 3.44/5.626, allocations: 0.6882 GB / 2.045 GB, free: 183.2 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/5.626, allocations: 7.438 kB / 2.045 GB, free: 183.2 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002552/5.629, allocations: 296 kB / 2.045 GB, free: 183.1 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0106/5.639, allocations: 2.537 MB / 2.048 GB, free: 182.7 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.396e-05/5.639, allocations: 29.44 kB / 2.048 GB, free: 182.7 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003137/5.64, allocations: 65.44 kB / 2.048 GB, free: 182.7 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00252/5.642, allocations: 0.8593 MB / 2.049 GB, free: 182.7 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002632/5.645, allocations: 1.09 MB / 2.05 GB, free: 182.5 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.285e-05/5.645, allocations: 2.438 kB / 2.05 GB, free: 182.5 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001499/5.645, allocations: 7.016 kB / 2.05 GB, free: 182.5 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.9e-05/5.645, allocations: 26.14 kB / 2.05 GB, free: 182.5 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01187/5.657, allocations: 6.562 MB / 2.056 GB, free: 178.5 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001511/5.659, allocations: 0.5613 MB / 2.057 GB, free: 178.5 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007828/5.66, allocations: 371 kB / 2.057 GB, free: 178.5 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004533/5.664, allocations: 1.663 MB / 2.059 GB, free: 177.6 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006945/5.665, allocations: 314.3 kB / 2.059 GB, free: 177.6 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=47): time 4.137e-06/5.665, allocations: 3.406 kB / 2.059 GB, free: 177.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=47): time 0.003273/5.668, allocations: 0.8334 MB / 2.06 GB, free: 177.4 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/5.668, allocations: 58.09 kB / 2.06 GB, free: 177.4 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00297/5.671, allocations: 1.386 MB / 2.061 GB, free: 177.2 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0002227/5.672, allocations: 29.45 kB / 2.061 GB, free: 177.2 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005603/5.672, allocations: 0.5524 MB / 2.062 GB, free: 176.9 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002565/5.672, allocations: 154.6 kB / 2.062 GB, free: 176.8 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.011e-05/5.672, allocations: 0 / 2.062 GB, free: 176.8 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.546e-05/5.673, allocations: 336.2 kB / 2.062 GB, free: 176.5 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006474/5.673, allocations: 266.2 kB / 2.062 GB, free: 176.5 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009028/5.674, allocations: 0.6854 MB / 2.063 GB, free: 175.9 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001667/5.676, allocations: 432.2 kB / 2.063 GB, free: 175.9 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.049e-05/5.676, allocations: 3.875 kB / 2.063 GB, free: 175.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003888/5.68, allocations: 1.134 MB / 2.065 GB, free: 175.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.001322/5.681, allocations: 4.069 MB / 2.069 GB, free: 171.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.311e-05/5.681, allocations: 11 kB / 2.069 GB, free: 171.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001199/5.683, allocations: 130.4 kB / 2.069 GB, free: 171.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001464/5.684, allocations: 178.5 kB / 2.069 GB, free: 171.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001082/5.685, allocations: 0.8041 MB / 2.07 GB, free: 171 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002396/5.688, allocations: 128.6 kB / 2.07 GB, free: 170.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002195/5.688, allocations: 49.12 kB / 2.07 GB, free: 170.9 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/5.688, allocations: 7.484 kB / 2.07 GB, free: 170.9 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003104/5.691, allocations: 0.9305 MB / 2.071 GB, free: 170.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.02e-05/5.691, allocations: 11.28 kB / 2.071 GB, free: 170.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003779/5.691, allocations: 120.6 kB / 2.071 GB, free: 170.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/5.693, allocations: 167.9 kB / 2.071 GB, free: 170.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00297/5.696, allocations: 1.99 MB / 2.073 GB, free: 169.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002027/5.698, allocations: 106.8 kB / 2.073 GB, free: 169.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001322/5.698, allocations: 49.47 kB / 2.073 GB, free: 169.5 MB / 0.9323 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.0003226/5.698, allocations: 136.3 kB / 2.073 GB, free: 169.4 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003384/5.699, allocations: 160.2 kB / 2.073 GB, free: 169.3 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00354/5.702, allocations: 0.9842 MB / 2.074 GB, free: 169.2 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.876e-05/5.702, allocations: 9.594 kB / 2.074 GB, free: 169.2 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/5.702, allocations: 0 / 2.074 GB, free: 169.2 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002069/5.704, allocations: 0.8917 MB / 2.075 GB, free: 168.8 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005563/5.71, allocations: 1.946 MB / 2.077 GB, free: 168.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/5.71, allocations: 0 / 2.077 GB, free: 168.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009364/5.711, allocations: 101.9 kB / 2.077 GB, free: 168.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003565/5.711, allocations: 97.62 kB / 2.077 GB, free: 168.5 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.695e-05/5.711, allocations: 17.55 kB / 2.077 GB, free: 168.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007785/5.712, allocations: 0.7522 MB / 2.078 GB, free: 168 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/5.712, allocations: 0 / 2.078 GB, free: 168 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003317/5.716, allocations: 1.304 MB / 2.079 GB, free: 167.6 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00413/5.72, allocations: 2.083 MB / 2.081 GB, free: 166.9 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00101/5.721, allocations: 314.9 kB / 2.082 GB, free: 166.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003279/5.721, allocations: 7.703 kB / 2.082 GB, free: 166.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001471/5.723, allocations: 66.8 kB / 2.082 GB, free: 166.8 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001457/5.723, allocations: 44.86 kB / 2.082 GB, free: 166.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.852e-05/5.723, allocations: 27.2 kB / 2.082 GB, free: 166.8 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.002064/5.725, allocations: 1.063 MB / 2.083 GB, free: 166.6 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.006121/5.731, allocations: 1.021 MB / 2.084 GB, free: 166.5 MB / 0.9323 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.001899/5.733, allocations: 0.7702 MB / 2.085 GB, free: 166.3 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.003174/5.736, allocations: 1.307 MB / 2.086 GB, free: 166.1 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/5.736, allocations: 0 / 2.086 GB, free: 166.1 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.000754/5.737, allocations: 309.2 kB / 2.086 GB, free: 166.1 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004936/5.742, allocations: 0.6061 MB / 2.087 GB, free: 166.1 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006962/5.749, allocations: 2.283 MB / 2.089 GB, free: 165.6 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001966/5.751, allocations: 1.666 MB / 2.091 GB, free: 164.8 MB / 0.9323 GB Notification: Performance of SimCode: time 1.362e-06/5.751, allocations: 0 / 2.091 GB, free: 164.8 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example3_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example3.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1)