Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") translateModel(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.453/2.453, allocations: 284.9 MB / 292.2 MB, free: 10.73 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001612/0.001612, allocations: 177.3 kB / 360.4 MB, free: 7.523 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.763/1.763, allocations: 205.1 MB / 0.6188 GB, free: 12.43 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001738/0.001737, allocations: 95.92 kB / 0.7318 GB, free: 44.99 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.423e-05/1.437e-05, allocations: 4 kB / 0.8502 GB, free: 3.871 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6229/0.6229, allocations: 115.2 MB / 0.9628 GB, free: 78.19 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.095/1.718, allocations: 429.9 MB / 1.383 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002938/1.718, allocations: 100 kB / 1.383 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 5.041/6.759, allocations: 1.101 GB / 2.483 GB, free: 96.16 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0004238/6.76, allocations: 77.25 kB / 2.483 GB, free: 96.15 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.008278/6.768, allocations: 2.309 MB / 2.486 GB, free: 95.16 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/6.768, allocations: 7.281 kB / 2.486 GB, free: 95.16 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001275/6.769, allocations: 266.9 kB / 2.486 GB, free: 95.03 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007363/6.777, allocations: 1.643 MB / 2.487 GB, free: 94.56 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.019e-05/6.777, allocations: 37.22 kB / 2.487 GB, free: 94.56 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005367/6.777, allocations: 87.84 kB / 2.488 GB, free: 94.56 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00322/6.781, allocations: 0.9175 MB / 2.488 GB, free: 94.55 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003052/6.784, allocations: 0.9391 MB / 2.489 GB, free: 94.47 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.143e-05/6.784, allocations: 0.75 kB / 2.489 GB, free: 94.47 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001538/6.784, allocations: 0 / 2.489 GB, free: 94.47 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.62e-05/6.784, allocations: 27.03 kB / 2.489 GB, free: 94.47 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01442/6.799, allocations: 5.96 MB / 2.495 GB, free: 91.86 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001544/6.8, allocations: 0.5785 MB / 2.496 GB, free: 91.82 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001754/6.802, allocations: 366 kB / 2.496 GB, free: 91.8 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005101/6.803, allocations: 0.5116 MB / 2.497 GB, free: 91.24 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/6.803, allocations: 43.31 kB / 2.497 GB, free: 91.2 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=58): time 3.256e-06/6.803, allocations: 4.812 kB / 2.497 GB, free: 91.2 MB / 0.9792 GB Notification: Performance of matching and sorting (n=58): time 0.003101/6.806, allocations: 0.8436 MB / 2.498 GB, free: 91.07 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/6.806, allocations: 63.45 kB / 2.498 GB, free: 91 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003221/6.809, allocations: 1.284 MB / 2.499 GB, free: 90.78 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0003658/6.809, allocations: 25.7 kB / 2.499 GB, free: 90.75 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005835/6.81, allocations: 0.6016 MB / 2.499 GB, free: 90.43 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002681/6.81, allocations: 205.2 kB / 2.5 GB, free: 90.3 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/6.81, allocations: 0 / 2.5 GB, free: 90.3 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001048/6.811, allocations: 344.6 kB / 2.5 GB, free: 90 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001156/6.812, allocations: 397 kB / 2.5 GB, free: 89.99 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001433/6.813, allocations: 0.7171 MB / 2.501 GB, free: 89.66 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001682/6.815, allocations: 0.4965 MB / 2.502 GB, free: 89.64 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/6.815, allocations: 2.312 kB / 2.502 GB, free: 89.64 MB / 0.9792 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.006982/6.822, allocations: 1.271 MB / 2.503 GB, free: 89.48 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003138/6.822, allocations: 0.9219 MB / 2.504 GB, free: 88.53 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.388e-05/6.822, allocations: 7.047 kB / 2.504 GB, free: 88.53 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.573e-05/6.822, allocations: 10.83 kB / 2.504 GB, free: 88.53 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004432/6.827, allocations: 281.1 kB / 2.504 GB, free: 88.53 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.401e-05/6.827, allocations: 11.34 kB / 2.504 GB, free: 88.53 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005585/6.833, allocations: 189.9 kB / 2.504 GB, free: 88.47 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005547/6.833, allocations: 65.94 kB / 2.504 GB, free: 88.47 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/6.833, allocations: 4.031 kB / 2.504 GB, free: 88.47 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004718/6.838, allocations: 1.003 MB / 2.505 GB, free: 88.44 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.012e-05/6.838, allocations: 4.906 kB / 2.505 GB, free: 88.44 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.058e-05/6.838, allocations: 7.25 kB / 2.505 GB, free: 88.44 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00407/6.842, allocations: 283.8 kB / 2.505 GB, free: 88.44 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.493e-05/6.842, allocations: 8.438 kB / 2.505 GB, free: 88.44 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005079/6.847, allocations: 169.2 kB / 2.506 GB, free: 88.4 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004627/6.848, allocations: 57.39 kB / 2.506 GB, free: 88.4 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 146 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005729/6.848, allocations: 133.8 kB / 2.506 GB, free: 88.29 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000807/6.849, allocations: 180.1 kB / 2.506 GB, free: 88.19 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005852/6.855, allocations: 1.055 MB / 2.507 GB, free: 88.1 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.497e-05/6.855, allocations: 7.875 kB / 2.507 GB, free: 88.1 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/6.855, allocations: 0 / 2.507 GB, free: 88.1 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.875e-05/6.855, allocations: 3.609 kB / 2.507 GB, free: 88.1 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009071/6.864, allocations: 2.209 MB / 2.509 GB, free: 87.73 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.711e-05/6.865, allocations: 0 / 2.509 GB, free: 87.73 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00208/6.867, allocations: 138.2 kB / 2.509 GB, free: 87.73 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.403e-05/6.867, allocations: 3.781 kB / 2.509 GB, free: 87.73 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001312/6.867, allocations: 10.09 kB / 2.509 GB, free: 87.73 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.186e-05/6.867, allocations: 3.938 kB / 2.509 GB, free: 87.73 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.656e-06/6.867, allocations: 4.188 kB / 2.509 GB, free: 87.73 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003819/6.871, allocations: 1.095 MB / 2.51 GB, free: 87.28 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001728/6.873, allocations: 347 kB / 2.511 GB, free: 87.08 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008628/6.873, allocations: 3.797 kB / 2.511 GB, free: 87.08 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003531/6.877, allocations: 102 kB / 2.511 GB, free: 87.07 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003223/6.877, allocations: 42.12 kB / 2.511 GB, free: 87.07 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001356/6.878, allocations: 31.44 kB / 2.511 GB, free: 87.07 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.00263/6.88, allocations: 0.9383 MB / 2.512 GB, free: 86.93 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.004428/6.885, allocations: 0.9703 MB / 2.513 GB, free: 86.8 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002014/6.887, allocations: 0.9966 MB / 2.514 GB, free: 86.54 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.004236/6.891, allocations: 1.587 MB / 2.515 GB, free: 86.51 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 8.656e-06/6.891, allocations: 0 / 2.515 GB, free: 86.51 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0009226/6.892, allocations: 386.4 kB / 2.516 GB, free: 86.51 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008981/6.901, allocations: 0.9017 MB / 2.517 GB, free: 86.49 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007985/6.909, allocations: 2.252 MB / 2.519 GB, free: 85.79 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003033/6.912, allocations: 1.603 MB / 2.52 GB, free: 85.05 MB / 0.9792 GB Notification: Performance of SimCode: time 1.944e-06/6.912, allocations: 0 / 2.52 GB, free: 85.05 MB / 0.9792 GB Notification: Performance of Templates: time 0.1459/7.058, allocations: 41.81 MB / 2.561 GB, free: 83.15 MB / 0.9792 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)