Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.Pump_stratos.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Movers.Validation.Pump_stratos,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_Pump_stratos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Movers.Validation.Pump_stratos,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_Pump_stratos",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/BuildSysPro 3.5.0/package.mo): time 0.7444/0.7444, allocations: 127.4 MB / 134.6 MB, free: 4.133 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001527/0.001526, allocations: 181.3 kB / 164.4 MB, free: 6.887 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.734/1.734, allocations: 205.1 MB / 399.1 MB, free: 6.102 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001027/0.001027, allocations: 89.7 kB / 476.3 MB, free: 8.844 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3552/0.3563, allocations: 82.87 MB / 0.546 GB, free: 42.68 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1907/0.547, allocations: 76.75 MB / 0.621 GB, free: 13.85 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.673/6.22, allocations: 2.435 GB / 3.056 GB, free: 14.26 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002991/6.22, allocations: 93.59 kB / 3.056 GB, free: 14.17 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 3.625/9.845, allocations: 0.8559 GB / 3.912 GB, free: 67.56 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.589e-05/9.846, allocations: 8.781 kB / 3.912 GB, free: 67.56 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005751/9.851, allocations: 0.6668 MB / 3.912 GB, free: 67.4 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05104/9.902, allocations: 17.49 MB / 3.93 GB, free: 66.24 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000121/9.903, allocations: 36.22 kB / 3.93 GB, free: 66.24 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006805/9.903, allocations: 81.62 kB / 3.93 GB, free: 66.24 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003246/9.907, allocations: 1.242 MB / 3.931 GB, free: 66.23 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003265/9.91, allocations: 1.38 MB / 3.932 GB, free: 66.03 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.737e-05/9.91, allocations: 4.5 kB / 3.932 GB, free: 66.03 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002176/9.91, allocations: 3.406 kB / 3.932 GB, free: 66.03 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.937e-05/9.91, allocations: 27.22 kB / 3.932 GB, free: 66.03 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0144/9.925, allocations: 8.533 MB / 3.941 GB, free: 61.97 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001554/9.926, allocations: 1.176 MB / 3.942 GB, free: 61.92 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008994/9.927, allocations: 0.647 MB / 3.942 GB, free: 61.91 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004956/9.932, allocations: 2.727 MB / 3.945 GB, free: 60.95 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/9.932, allocations: 37.34 kB / 3.945 GB, free: 60.91 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=58): time 2.825e-06/9.932, allocations: 0 / 3.945 GB, free: 60.91 MB / 0.6511 GB Notification: Performance of matching and sorting (n=58): time 0.005939/9.938, allocations: 1.923 MB / 3.947 GB, free: 60.7 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.757e-05/9.938, allocations: 59.47 kB / 3.947 GB, free: 60.63 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004888/9.943, allocations: 2.789 MB / 3.95 GB, free: 60.16 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002986/9.943, allocations: 28.8 kB / 3.95 GB, free: 60.12 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004855/9.944, allocations: 0.6846 MB / 3.95 GB, free: 59.68 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002518/9.944, allocations: 196.1 kB / 3.951 GB, free: 59.52 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.905e-05/9.944, allocations: 0 / 3.951 GB, free: 59.52 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.491e-05/9.944, allocations: 352 kB / 3.951 GB, free: 59.2 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008082/9.945, allocations: 0.6131 MB / 3.952 GB, free: 58.97 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001055/9.946, allocations: 1.16 MB / 3.953 GB, free: 58.01 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002011/9.948, allocations: 0.8385 MB / 3.953 GB, free: 57.73 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.2e-05/9.948, allocations: 10.41 kB / 3.953 GB, free: 57.73 MB / 0.6511 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.004882/9.953, allocations: 2.26 MB / 3.956 GB, free: 56.92 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.001929/9.955, allocations: 6.282 MB / 3.962 GB, free: 50.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.646e-05/9.955, allocations: 16.09 kB / 3.962 GB, free: 50.29 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001451/9.957, allocations: 0.4963 MB / 3.962 GB, free: 50.14 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/9.958, allocations: 242 kB / 3.963 GB, free: 50.11 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002846/9.961, allocations: 2.614 MB / 3.965 GB, free: 48.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002896/9.964, allocations: 201.1 kB / 3.965 GB, free: 48.11 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003305/9.964, allocations: 115.5 kB / 3.965 GB, free: 48.1 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/9.964, allocations: 7.125 kB / 3.965 GB, free: 48.1 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004616/9.969, allocations: 1.745 MB / 3.967 GB, free: 47.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.641e-05/9.969, allocations: 14.66 kB / 3.967 GB, free: 47.54 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001555/9.97, allocations: 0.5744 MB / 3.968 GB, free: 47.38 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009622/9.971, allocations: 224.3 kB / 3.968 GB, free: 47.36 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01289/9.984, allocations: 7.962 MB / 3.976 GB, free: 42.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003022/9.987, allocations: 152.3 kB / 3.976 GB, free: 42.59 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005191/9.988, allocations: 103.7 kB / 3.976 GB, free: 42.58 MB / 0.6511 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: floMacSta.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: 66 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (110): * Single equations (assignments): 105 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 7,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0008239/9.988, allocations: 145.5 kB / 3.976 GB, free: 42.45 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00105/9.99, allocations: 240.1 kB / 3.976 GB, free: 42.31 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006472/9.996, allocations: 1.778 MB / 3.978 GB, free: 41.8 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.976e-05/9.996, allocations: 11.09 kB / 3.978 GB, free: 41.8 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/9.996, allocations: 1.125 kB / 3.978 GB, free: 41.8 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003939/10, allocations: 1.48 MB / 3.98 GB, free: 41.11 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003862/10, allocations: 1.788 MB / 3.981 GB, free: 40.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/10, allocations: 3.094 kB / 3.981 GB, free: 40.31 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007116/10, allocations: 117.9 kB / 3.981 GB, free: 40.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007004/10.01, allocations: 275.9 kB / 3.982 GB, free: 40.21 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.861e-05/10.01, allocations: 10.8 kB / 3.982 GB, free: 40.21 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001698/10.01, allocations: 2.088 MB / 3.984 GB, free: 38.44 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/10.01, allocations: 0 / 3.984 GB, free: 38.44 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005617/10.01, allocations: 2.114 MB / 3.986 GB, free: 37.57 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008838/10.02, allocations: 3.146 MB / 3.989 GB, free: 36.02 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002795/10.02, allocations: 0.5555 MB / 3.989 GB, free: 35.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008431/10.03, allocations: 8.125 kB / 3.989 GB, free: 35.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001652/10.03, allocations: 99.08 kB / 3.989 GB, free: 35.63 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001485/10.03, allocations: 42.66 kB / 3.989 GB, free: 35.63 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001191/10.03, allocations: 49.28 kB / 3.99 GB, free: 35.62 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.003695/10.03, allocations: 2.1 MB / 3.992 GB, free: 34.72 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.007967/10.04, allocations: 1.616 MB / 3.993 GB, free: 34.14 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (floMacDyn.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 45 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 8,1 4,1 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.002903/10.04, allocations: 1.341 MB / 3.994 GB, free: 33.79 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.004807/10.05, allocations: 2.422 MB / 3.997 GB, free: 32.81 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/10.05, allocations: 0 / 3.997 GB, free: 32.81 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007737/10.05, allocations: 472 kB / 3.997 GB, free: 32.43 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005315/10.05, allocations: 1.127 MB / 3.998 GB, free: 31.57 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007137/10.06, allocations: 3.333 MB / 4.002 GB, free: 28.51 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001992/10.06, allocations: 2.059 MB / 4.004 GB, free: 26.86 MB / 0.6511 GB Notification: Performance of SimCode: time 1.944e-06/10.06, allocations: 0 / 4.004 GB, free: 26.86 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.Pump_stratos.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.Pump_stratos.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.Pump_stratos.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.Pump_stratos.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_Pump_stratos_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Validation_Pump_stratos.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Validation.Pump_stratos.pipe 2>&1)