Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example3,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example3,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.252/1.252, allocations: 249.4 MB / 256.7 MB, free: 7.098 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001019/0.001019, allocations: 181.2 kB / 316 MB, free: 3.523 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.108/1.108, allocations: 205.2 MB / 0.5667 GB, free: 15.67 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008719/0.0008719, allocations: 94.69 kB / 0.671 GB, free: 4.789 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3297/0.3306, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.4825, allocations: 106.3 MB / 0.8846 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9001/1.383, allocations: 398.3 MB / 1.274 GB, free: 278.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001969/1.383, allocations: 93.7 kB / 1.274 GB, free: 278.1 MB / 0.8698 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 1.787/3.17, allocations: 0.6881 GB / 1.962 GB, free: 185.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/3.17, allocations: 11.66 kB / 1.962 GB, free: 185.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001045/3.171, allocations: 294 kB / 1.962 GB, free: 185.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004494/3.175, allocations: 2.552 MB / 1.965 GB, free: 184.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.98e-05/3.175, allocations: 29.12 kB / 1.965 GB, free: 184.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000123/3.175, allocations: 62.41 kB / 1.965 GB, free: 184.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001212/3.177, allocations: 0.8605 MB / 1.966 GB, free: 184.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/3.178, allocations: 1.085 MB / 1.967 GB, free: 184.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.576e-05/3.178, allocations: 3.594 kB / 1.967 GB, free: 184.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.03e-05/3.178, allocations: 3.906 kB / 1.967 GB, free: 184.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.705e-05/3.178, allocations: 24.91 kB / 1.967 GB, free: 184.5 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005617/3.184, allocations: 6.57 MB / 1.973 GB, free: 180.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007028/3.184, allocations: 0.5699 MB / 1.974 GB, free: 180.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003817/3.185, allocations: 380 kB / 1.974 GB, free: 180.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002143/3.187, allocations: 1.666 MB / 1.976 GB, free: 179.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004452/3.187, allocations: 322.7 kB / 1.976 GB, free: 179.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=47): time 2.675e-06/3.187, allocations: 0 / 1.976 GB, free: 179.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=47): time 0.002108/3.19, allocations: 0.8367 MB / 1.977 GB, free: 179.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.983e-05/3.19, allocations: 55.72 kB / 1.977 GB, free: 179.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001632/3.191, allocations: 1.382 MB / 1.978 GB, free: 179.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.325e-05/3.191, allocations: 29.64 kB / 1.978 GB, free: 179.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003038/3.192, allocations: 0.5404 MB / 1.979 GB, free: 179 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/3.192, allocations: 159.1 kB / 1.979 GB, free: 178.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.718e-05/3.192, allocations: 0 / 1.979 GB, free: 178.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.551e-05/3.192, allocations: 339.7 kB / 1.979 GB, free: 178.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003167/3.192, allocations: 260.5 kB / 1.979 GB, free: 178.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005102/3.193, allocations: 0.6866 MB / 1.98 GB, free: 178.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009158/3.194, allocations: 431.2 kB / 1.98 GB, free: 178.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/3.194, allocations: 3.969 kB / 1.98 GB, free: 178.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001874/3.195, allocations: 1.14 MB / 1.982 GB, free: 177.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005394/3.196, allocations: 4.067 MB / 1.986 GB, free: 173.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/3.196, allocations: 11.28 kB / 1.986 GB, free: 173.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000253/3.196, allocations: 122.7 kB / 1.986 GB, free: 173.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006397/3.197, allocations: 185.3 kB / 1.986 GB, free: 173.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005076/3.197, allocations: 0.8013 MB / 1.987 GB, free: 173.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/3.199, allocations: 130.2 kB / 1.987 GB, free: 173.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.56e-05/3.199, allocations: 51.55 kB / 1.987 GB, free: 173.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.931e-06/3.199, allocations: 6.938 kB / 1.987 GB, free: 173.1 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001525/3.2, allocations: 0.9345 MB / 1.988 GB, free: 173 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/3.2, allocations: 14.58 kB / 1.988 GB, free: 173 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001758/3.2, allocations: 111.1 kB / 1.988 GB, free: 173 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005489/3.201, allocations: 175.7 kB / 1.988 GB, free: 173 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001527/3.203, allocations: 1.986 MB / 1.99 GB, free: 171.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009904/3.204, allocations: 102.9 kB / 1.99 GB, free: 171.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.705e-05/3.204, allocations: 50.06 kB / 1.99 GB, free: 171.7 MB / 0.8698 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.0001965/3.204, allocations: 141 kB / 1.99 GB, free: 171.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001637/3.204, allocations: 160.9 kB / 1.99 GB, free: 171.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001822/3.206, allocations: 0.9864 MB / 1.991 GB, free: 171.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/3.206, allocations: 3.938 kB / 1.991 GB, free: 171.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/3.206, allocations: 7.125 kB / 1.991 GB, free: 171.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001045/3.207, allocations: 0.8927 MB / 1.992 GB, free: 171 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002652/3.21, allocations: 1.937 MB / 1.994 GB, free: 170.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/3.21, allocations: 0 / 1.994 GB, free: 170.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004682/3.21, allocations: 102.8 kB / 1.994 GB, free: 170.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001837/3.21, allocations: 99.14 kB / 1.994 GB, free: 170.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.737e-05/3.21, allocations: 19.14 kB / 1.994 GB, free: 170.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004058/3.211, allocations: 0.7471 MB / 1.995 GB, free: 170.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/3.211, allocations: 0 / 1.995 GB, free: 170.2 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001511/3.212, allocations: 1.302 MB / 1.996 GB, free: 169.9 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001975/3.214, allocations: 2.094 MB / 1.998 GB, free: 169.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004759/3.215, allocations: 310 kB / 1.999 GB, free: 169 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001973/3.215, allocations: 10.64 kB / 1.999 GB, free: 169 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007232/3.216, allocations: 68.47 kB / 1.999 GB, free: 169 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.931e-05/3.216, allocations: 41.89 kB / 1.999 GB, free: 169 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.035e-05/3.216, allocations: 22.55 kB / 1.999 GB, free: 169 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001056/3.217, allocations: 1.067 MB / 2 GB, free: 168.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003548/3.22, allocations: 1.027 MB / 2.001 GB, free: 168.7 MB / 0.8698 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.001209/3.222, allocations: 0.7621 MB / 2.002 GB, free: 168.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002065/3.224, allocations: 1.309 MB / 2.003 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/3.224, allocations: 3.875 kB / 2.003 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003971/3.224, allocations: 299.6 kB / 2.003 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002402/3.227, allocations: 0.5893 MB / 2.004 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003379/3.23, allocations: 2.282 MB / 2.006 GB, free: 167.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000975/3.231, allocations: 1.669 MB / 2.008 GB, free: 167.1 MB / 0.8698 GB Notification: Performance of SimCode: time 5.21e-07/3.231, allocations: 7.031 kB / 2.008 GB, free: 167.1 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example3_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example3.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1)