Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.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.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",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.394/1.394, allocations: 285.5 MB / 292.8 MB, free: 9.859 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.001053/0.001053, allocations: 195.5 kB / 361.1 MB, free: 384 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.146/1.146, allocations: 205.1 MB / 0.6195 GB, free: 2.918 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.0008637/0.0008637, allocations: 88.09 kB / 0.7326 GB, free: 1.102 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.4394/0.4402, allocations: 121.5 MB / 0.8512 GB, free: 151.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1838/0.6241, allocations: 115.3 MB / 0.9638 GB, free: 56.29 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7334/1.358, allocations: 430.1 MB / 1.384 GB, free: 9.777 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002905/1.358, allocations: 102.7 kB / 1.384 GB, free: 9.727 MB / 0.8855 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 3.292/4.65, allocations: 1.103 GB / 2.487 GB, free: 33.79 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/4.65, allocations: 8 kB / 2.487 GB, free: 33.78 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009687/4.651, allocations: 270.6 kB / 2.487 GB, free: 33.52 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004128/4.655, allocations: 1.638 MB / 2.489 GB, free: 31.8 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.612e-05/4.655, allocations: 40 kB / 2.489 GB, free: 31.77 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003352/4.655, allocations: 91.94 kB / 2.489 GB, free: 31.68 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001694/4.657, allocations: 0.9146 MB / 2.49 GB, free: 30.76 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001578/4.658, allocations: 0.9441 MB / 2.491 GB, free: 29.79 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.377e-05/4.658, allocations: 0 / 2.491 GB, free: 29.79 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.357e-05/4.659, allocations: 0 / 2.491 GB, free: 29.79 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.912e-05/4.659, allocations: 28 kB / 2.491 GB, free: 29.76 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008101/4.667, allocations: 5.988 MB / 2.496 GB, free: 23.34 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006873/4.667, allocations: 0.5629 MB / 2.497 GB, free: 22.76 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00039/4.668, allocations: 363.3 kB / 2.497 GB, free: 22.41 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003116/4.668, allocations: 0.503 MB / 2.498 GB, free: 21.79 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/4.668, allocations: 47.05 kB / 2.498 GB, free: 21.73 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=58): time 2.905e-06/4.668, allocations: 0 / 2.498 GB, free: 21.73 MB / 0.9636 GB Notification: Performance of matching and sorting (n=58): time 0.001523/4.67, allocations: 0.8497 MB / 2.499 GB, free: 20.88 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.454e-05/4.67, allocations: 63.84 kB / 2.499 GB, free: 20.8 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001647/4.671, allocations: 1.286 MB / 2.5 GB, free: 19.48 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001214/4.672, allocations: 25.7 kB / 2.5 GB, free: 19.45 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003776/4.672, allocations: 0.5989 MB / 2.501 GB, free: 18.84 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/4.672, allocations: 193.1 kB / 2.501 GB, free: 18.64 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.519e-05/4.672, allocations: 0 / 2.501 GB, free: 18.64 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.472e-05/4.672, allocations: 357.9 kB / 2.501 GB, free: 18.29 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005268/4.673, allocations: 394.5 kB / 2.502 GB, free: 17.9 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007181/4.673, allocations: 0.7126 MB / 2.502 GB, free: 17.07 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009221/4.674, allocations: 0.4925 MB / 2.503 GB, free: 16.57 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/4.674, allocations: 4 kB / 2.503 GB, free: 16.57 MB / 0.9636 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.001942/4.676, allocations: 1.269 MB / 2.504 GB, free: 15.29 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001321/4.676, allocations: 0.9252 MB / 2.505 GB, free: 14.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.188e-06/4.676, allocations: 7.938 kB / 2.505 GB, free: 14.29 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/4.677, allocations: 8 kB / 2.505 GB, free: 14.28 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/4.678, allocations: 284.9 kB / 2.505 GB, free: 14 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/4.678, allocations: 8 kB / 2.505 GB, free: 14 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001668/4.679, allocations: 190.8 kB / 2.505 GB, free: 13.81 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001106/4.68, allocations: 63.95 kB / 2.505 GB, free: 13.75 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 7.965e-06/4.68, allocations: 7.906 kB / 2.505 GB, free: 13.74 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001439/4.681, allocations: 1.008 MB / 2.506 GB, free: 12.73 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/4.681, allocations: 4 kB / 2.506 GB, free: 12.73 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.887e-06/4.681, allocations: 8 kB / 2.506 GB, free: 12.72 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/4.682, allocations: 279.8 kB / 2.507 GB, free: 12.45 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/4.682, allocations: 8 kB / 2.507 GB, free: 12.44 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00136/4.684, allocations: 163.1 kB / 2.507 GB, free: 12.28 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.831e-05/4.684, allocations: 63.94 kB / 2.507 GB, free: 12.21 MB / 0.9636 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.0001838/4.684, allocations: 129.3 kB / 2.507 GB, free: 12.08 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001898/4.684, allocations: 178.4 kB / 2.507 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001912/4.686, allocations: 1.049 MB / 2.508 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/4.686, allocations: 11.91 kB / 2.508 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/4.686, allocations: 0 / 2.508 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/4.686, allocations: 3.984 kB / 2.508 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002762/4.689, allocations: 2.211 MB / 2.51 GB, free: 8.547 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/4.689, allocations: 8 kB / 2.51 GB, free: 8.539 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005681/4.689, allocations: 131.8 kB / 2.51 GB, free: 8.41 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.134e-06/4.689, allocations: 4 kB / 2.51 GB, free: 8.406 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.033e-05/4.689, allocations: 15.98 kB / 2.511 GB, free: 8.391 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/4.689, allocations: 4 kB / 2.511 GB, free: 8.387 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/4.689, allocations: 0 / 2.511 GB, free: 8.387 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001175/4.691, allocations: 1.094 MB / 2.512 GB, free: 7.203 MB / 0.9636 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001491/4.692, allocations: 1.583 MB / 2.513 GB, free: 5.523 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004844/4.693, allocations: 346.5 kB / 2.513 GB, free: 5.164 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002107/4.693, allocations: 4 kB / 2.513 GB, free: 5.16 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009132/4.694, allocations: 103.6 kB / 2.514 GB, free: 5.059 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.599e-05/4.694, allocations: 44.53 kB / 2.514 GB, free: 5.016 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-05/4.694, allocations: 31.98 kB / 2.514 GB, free: 4.984 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.001047/4.695, allocations: 0.9362 MB / 2.515 GB, free: 4.027 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003698/4.699, allocations: 1.26 MB / 2.516 GB, free: 2.766 MB / 0.9636 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.001186/4.7, allocations: 0.9861 MB / 2.517 GB, free: 1.773 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002046/4.702, allocations: 1.586 MB / 2.518 GB, free: 192 kB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/4.702, allocations: 0 / 2.518 GB, free: 192 kB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.000535/4.703, allocations: 386.3 kB / 2.519 GB, free: 15.8 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004273/4.707, allocations: 0.9044 MB / 2.52 GB, free: 14.91 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004798/4.712, allocations: 2.238 MB / 2.522 GB, free: 12.61 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001387/4.713, allocations: 1.604 MB / 2.523 GB, free: 10.97 MB / 0.9792 GB Notification: Performance of SimCode: time 7.42e-07/4.713, allocations: 0 / 2.523 GB, free: 10.97 MB / 0.9792 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)