Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves",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.1-maint.8.0.x/package.mo): time 1.432/1.432, allocations: 285.5 MB / 292.8 MB, free: 9.906 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.0009986/0.0009986, allocations: 187.6 kB / 361.1 MB, free: 396 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.148/1.148, allocations: 205.1 MB / 0.6195 GB, free: 2.879 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008355/0.0008353, allocations: 83.83 kB / 0.7325 GB, free: 1.051 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.4494/0.4503, allocations: 121.4 MB / 0.8511 GB, free: 151.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1826/0.6329, allocations: 115.3 MB / 0.9638 GB, free: 56.28 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7759/1.409, allocations: 442.2 MB / 1.396 GB, free: 13.39 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002362/1.409, allocations: 90.39 kB / 1.396 GB, free: 13.35 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 529 * Number of variables: 529 Notification: Performance of Generate backend data structure: time 4.162/5.572, allocations: 1.443 GB / 2.839 GB, free: 50.45 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/5.572, allocations: 8.5 kB / 2.839 GB, free: 50.44 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006817/5.578, allocations: 1.216 MB / 2.84 GB, free: 49.21 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06037/5.639, allocations: 28.57 MB / 2.868 GB, free: 20.49 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001386/5.639, allocations: 72 kB / 2.868 GB, free: 20.42 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008404/5.64, allocations: 148 kB / 2.868 GB, free: 20.28 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004292/5.644, allocations: 1.914 MB / 2.87 GB, free: 18.36 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003744/5.648, allocations: 2.296 MB / 2.873 GB, free: 15.92 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.006e-05/5.648, allocations: 7.938 kB / 2.873 GB, free: 15.91 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001883/5.648, allocations: 0 / 2.873 GB, free: 15.91 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.141e-05/5.648, allocations: 52 kB / 2.873 GB, free: 15.86 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0142/5.662, allocations: 12.06 MB / 2.884 GB, free: 3.023 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00207/5.665, allocations: 1.951 MB / 2.886 GB, free: 1.07 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000892/5.665, allocations: 0.8411 MB / 2.887 GB, free: 240 kB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005898/5.671, allocations: 3.985 MB / 2.891 GB, free: 11.93 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/5.671, allocations: 47.55 kB / 2.891 GB, free: 11.87 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=119): time 3.717e-06/5.671, allocations: 4 kB / 2.891 GB, free: 11.87 MB / 0.9792 GB Notification: Performance of matching and sorting (n=119): time 0.006855/5.678, allocations: 2.798 MB / 2.894 GB, free: 9.031 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/5.678, allocations: 64.41 kB / 2.894 GB, free: 8.953 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003533/5.682, allocations: 2.604 MB / 2.896 GB, free: 6.336 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0003457/5.682, allocations: 29.7 kB / 2.896 GB, free: 6.301 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006671/5.683, allocations: 1.028 MB / 2.897 GB, free: 5.258 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004644/5.683, allocations: 398 kB / 2.898 GB, free: 4.863 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/5.683, allocations: 0 / 2.898 GB, free: 4.863 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001305/5.684, allocations: 381.8 kB / 2.898 GB, free: 4.484 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001259/5.685, allocations: 0.8474 MB / 2.899 GB, free: 3.637 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001556/5.686, allocations: 1.632 MB / 2.901 GB, free: 1.645 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003365/5.69, allocations: 1.276 MB / 2.902 GB, free: 384 kB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.808e-06/5.69, allocations: 11.94 kB / 2.902 GB, free: 372 kB / 0.9792 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.006973/5.697, allocations: 3.38 MB / 2.905 GB, free: 12.95 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002062/5.699, allocations: 8.049 MB / 2.913 GB, free: 4.355 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.174e-05/5.699, allocations: 16 kB / 2.913 GB, free: 4.34 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001875/5.701, allocations: 0.8694 MB / 2.914 GB, free: 3.445 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001651/5.702, allocations: 403.2 kB / 2.914 GB, free: 3.051 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3798/6.082, allocations: 5.937 MB / 2.92 GB, free: 183.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00377/6.086, allocations: 310 kB / 2.92 GB, free: 183.1 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004252/6.087, allocations: 183.3 kB / 2.921 GB, free: 183.1 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/6.087, allocations: 3.375 kB / 2.921 GB, free: 183.1 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006783/6.093, allocations: 2.823 MB / 2.923 GB, free: 183 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.033e-05/6.093, allocations: 22 kB / 2.923 GB, free: 183 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002554/6.096, allocations: 1.028 MB / 2.924 GB, free: 182.9 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001415/6.097, allocations: 370.8 kB / 2.925 GB, free: 182.9 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01645/6.114, allocations: 13.88 MB / 2.938 GB, free: 175.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003217/6.117, allocations: 258 kB / 2.938 GB, free: 175.5 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002576/6.117, allocations: 152.5 kB / 2.939 GB, free: 175.5 MB / 0.9948 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum3.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum2.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum1.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (191): * Single equations (assignments): 179 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 4,1 5,1 4,1 5,1 4,1 5,1 4,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0006362/6.118, allocations: 179.1 kB / 2.939 GB, free: 175.4 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004721/6.119, allocations: 342.9 kB / 2.939 GB, free: 175.3 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006599/6.125, allocations: 2.955 MB / 2.942 GB, free: 175.1 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.33e-05/6.125, allocations: 25.3 kB / 2.942 GB, free: 175.1 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/6.125, allocations: 0 / 2.942 GB, free: 175.1 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.387e-05/6.125, allocations: 6.703 kB / 2.942 GB, free: 175.1 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009689/6.135, allocations: 4.854 MB / 2.947 GB, free: 174.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.475e-06/6.135, allocations: 2.219 kB / 2.947 GB, free: 174.6 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001079/6.136, allocations: 220.2 kB / 2.947 GB, free: 174.6 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001112/6.137, allocations: 0.5568 MB / 2.948 GB, free: 174.5 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000111/6.137, allocations: 37.16 kB / 2.948 GB, free: 174.5 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003008/6.14, allocations: 5.19 MB / 2.953 GB, free: 170.4 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/6.14, allocations: 6.375 kB / 2.953 GB, free: 170.4 MB / 0.9948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005727/6.146, allocations: 2.678 MB / 2.955 GB, free: 169.7 MB / 0.9948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006155/6.152, allocations: 3.252 MB / 2.958 GB, free: 168.7 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001915/6.154, allocations: 0.6156 MB / 2.959 GB, free: 168.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008189/6.155, allocations: 5.594 kB / 2.959 GB, free: 168.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002185/6.157, allocations: 178.9 kB / 2.959 GB, free: 168.4 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001536/6.157, allocations: 88.48 kB / 2.959 GB, free: 168.4 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001674/6.158, allocations: 78 kB / 2.959 GB, free: 168.4 MB / 0.9948 GB Notification: Performance of sort global known variables: time 0.002866/6.16, allocations: 1.948 MB / 2.961 GB, free: 168.3 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0103/6.171, allocations: 2.511 MB / 2.964 GB, free: 168.2 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 4,1 4,1 4,1 4,1 6,1 6,1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.004228/6.175, allocations: 2.317 MB / 2.966 GB, free: 167.7 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.006979/6.182, allocations: 3.907 MB / 2.97 GB, free: 167.2 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/6.182, allocations: 0 / 2.97 GB, free: 167.2 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.00141/6.183, allocations: 0.8669 MB / 2.971 GB, free: 167.2 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007009/6.19, allocations: 1.511 MB / 2.972 GB, free: 167.2 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009437/6.2, allocations: 4.73 MB / 2.977 GB, free: 166 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002238/6.202, allocations: 2.606 MB / 2.979 GB, free: 165.2 MB / 0.9948 GB Notification: Performance of SimCode: time 9.52e-07/6.202, allocations: 0 / 2.979 GB, free: 165.2 MB / 0.9948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1)