Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.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.FixedResistances.Validation.PressureDropsSeries,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_PressureDropsSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_PressureDropsSeries",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.272/1.272, allocations: 249.4 MB / 256.7 MB, free: 6.98 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.00103/0.00103, allocations: 184.4 kB / 316 MB, free: 3.562 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.134/1.134, allocations: 205.1 MB / 0.5667 GB, free: 15.68 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.000893/0.0008932, allocations: 96.5 kB / 0.671 GB, free: 4.812 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3185/0.3195, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.4768, allocations: 106.3 MB / 0.8847 GB, free: 12.58 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.577/4.054, allocations: 2.181 GB / 3.065 GB, free: 225.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001909/4.054, allocations: 83.95 kB / 3.065 GB, free: 225 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 2.669/6.722, allocations: 0.9267 GB / 3.992 GB, free: 242.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/6.722, allocations: 9.594 kB / 3.992 GB, free: 242.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007029/6.723, allocations: 188.1 kB / 3.992 GB, free: 242.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001744/6.725, allocations: 1.082 MB / 3.993 GB, free: 241.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/6.725, allocations: 20.28 kB / 3.993 GB, free: 241.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.565e-05/6.725, allocations: 36.38 kB / 3.993 GB, free: 241.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005992/6.726, allocations: 0.4909 MB / 3.994 GB, free: 241.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006806/6.726, allocations: 0.5742 MB / 3.994 GB, free: 241.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/6.726, allocations: 7.812 kB / 3.994 GB, free: 241.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.993e-05/6.726, allocations: 3.891 kB / 3.994 GB, free: 241.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/6.726, allocations: 10.34 kB / 3.994 GB, free: 241.9 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002607/6.729, allocations: 3.32 MB / 3.998 GB, free: 239.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000417/6.729, allocations: 444.5 kB / 3.998 GB, free: 239.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002129/6.73, allocations: 248 kB / 3.998 GB, free: 239.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002312/6.73, allocations: 192.5 kB / 3.999 GB, free: 239.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.932e-05/6.73, allocations: 40.95 kB / 3.999 GB, free: 239.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=28): time 1.443e-06/6.73, allocations: 0 / 3.999 GB, free: 239.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=28): time 0.001456/6.731, allocations: 0.7625 MB / 3.999 GB, free: 239.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.691e-05/6.731, allocations: 55.19 kB / 3.999 GB, free: 239.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006773/6.732, allocations: 0.7844 MB / 4 GB, free: 239.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.024e-05/6.732, allocations: 28.89 kB / 4 GB, free: 239.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/6.732, allocations: 286.4 kB / 4 GB, free: 239 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.45e-05/6.732, allocations: 100 kB / 4.001 GB, free: 238.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.347e-05/6.732, allocations: 0 / 4.001 GB, free: 238.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.171e-05/6.732, allocations: 320.6 kB / 4.001 GB, free: 238.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001525/6.733, allocations: 144.2 kB / 4.001 GB, free: 238.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002403/6.733, allocations: 344.4 kB / 4.001 GB, free: 238.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001877/6.733, allocations: 192.8 kB / 4.001 GB, free: 238.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/6.733, allocations: 0 / 4.001 GB, free: 238.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001219/6.734, allocations: 0.7395 MB / 4.002 GB, free: 238.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 8.972e-05/6.734, allocations: 360.7 kB / 4.003 GB, free: 237.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/6.734, allocations: 3 kB / 4.003 GB, free: 237.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003755/6.735, allocations: 224.7 kB / 4.003 GB, free: 237.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/6.735, allocations: 21.56 kB / 4.003 GB, free: 237.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008095/6.736, allocations: 1.135 MB / 4.004 GB, free: 237.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005343/6.736, allocations: 62.64 kB / 4.004 GB, free: 237.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.899e-05/6.736, allocations: 15.39 kB / 4.004 GB, free: 237.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 6.061e-06/6.736, allocations: 6.406 kB / 4.004 GB, free: 237.4 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007746/6.737, allocations: 459.6 kB / 4.004 GB, free: 237.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/6.737, allocations: 3.797 kB / 4.004 GB, free: 237.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004645/6.738, allocations: 202.1 kB / 4.005 GB, free: 237.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.8e-05/6.738, allocations: 26.62 kB / 4.005 GB, free: 237.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002524/6.74, allocations: 2.761 MB / 4.007 GB, free: 236 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004694/6.741, allocations: 74.36 kB / 4.007 GB, free: 236 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.44e-05/6.741, allocations: 10.8 kB / 4.007 GB, free: 236 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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 19} Notification: Performance of prepare postOptimizeDAE: time 8.856e-05/6.741, allocations: 118.8 kB / 4.008 GB, free: 235.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.298e-05/6.741, allocations: 85.75 kB / 4.008 GB, free: 235.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008708/6.742, allocations: 0.6696 MB / 4.008 GB, free: 235.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/6.742, allocations: 0 / 4.008 GB, free: 235.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/6.742, allocations: 3.281 kB / 4.008 GB, free: 235.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/6.742, allocations: 3.844 kB / 4.008 GB, free: 235.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001667/6.744, allocations: 1.368 MB / 4.01 GB, free: 235.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/6.744, allocations: 8.859 kB / 4.01 GB, free: 235.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/6.744, allocations: 31.27 kB / 4.01 GB, free: 235.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000265/6.744, allocations: 179.3 kB / 4.01 GB, free: 235.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.866e-05/6.744, allocations: 8.062 kB / 4.01 GB, free: 235.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006313/6.745, allocations: 1.023 MB / 4.011 GB, free: 234.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/6.745, allocations: 3.906 kB / 4.011 GB, free: 234.9 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007728/6.745, allocations: 0.83 MB / 4.012 GB, free: 234.5 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009108/6.746, allocations: 1.257 MB / 4.013 GB, free: 233.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000225/6.747, allocations: 204.2 kB / 4.013 GB, free: 233.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.696e-05/6.747, allocations: 0 / 4.013 GB, free: 233.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000442/6.747, allocations: 59.31 kB / 4.013 GB, free: 233.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.106e-05/6.747, allocations: 27.14 kB / 4.013 GB, free: 233.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.939e-05/6.747, allocations: 13.73 kB / 4.013 GB, free: 233.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0005526/6.748, allocations: 0.6253 MB / 4.014 GB, free: 233.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002519/6.75, allocations: 0.622 MB / 4.014 GB, free: 233.4 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001037/6.751, allocations: 1.032 MB / 4.015 GB, free: 233.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0009259/6.752, allocations: 0.6752 MB / 4.016 GB, free: 233.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/6.752, allocations: 2.906 kB / 4.016 GB, free: 233.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002679/6.753, allocations: 188.6 kB / 4.016 GB, free: 233.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001477/6.754, allocations: 369.5 kB / 4.017 GB, free: 233.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001714/6.756, allocations: 1.353 MB / 4.018 GB, free: 232.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005292/6.756, allocations: 1.25 MB / 4.019 GB, free: 232 MB / 0.8698 GB Notification: Performance of SimCode: time 2.7e-07/6.756, allocations: 0 / 4.019 GB, free: 232 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_PressureDropsSeries_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_PressureDropsSeries.fmu > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe 2>&1)