Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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 7.0.1/package.mo): time 2.324/2.324, allocations: 253.1 MB / 260.4 MB, free: 7.574 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001651/0.001651, allocations: 181.2 kB / 319.6 MB, free: 3.316 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.88/1.88, allocations: 205.4 MB / 0.5704 GB, free: 15.07 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001288/0.001287, allocations: 82.41 kB / 0.6746 GB, free: 4.441 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.557e-06/9.888e-06, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1952/0.1953, allocations: 106.2 MB / 0.888 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.63/1.825, allocations: 423.3 MB / 1.301 GB, free: 254.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003581/1.825, allocations: 102.1 kB / 1.302 GB, free: 254.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 5.214/7.039, allocations: 1.069 GB / 2.37 GB, free: 96.97 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0004936/7.04, allocations: 65.58 kB / 2.371 GB, free: 96.96 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 0.009222/7.049, allocations: 2.307 MB / 2.373 GB, free: 96.02 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/7.049, allocations: 9.938 kB / 2.373 GB, free: 96.02 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001452/7.051, allocations: 259.9 kB / 2.373 GB, free: 95.89 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007629/7.058, allocations: 1.65 MB / 2.375 GB, free: 95.44 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.151e-05/7.058, allocations: 39.09 kB / 2.375 GB, free: 95.44 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006638/7.059, allocations: 87.5 kB / 2.375 GB, free: 95.44 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003821/7.063, allocations: 0.9084 MB / 2.376 GB, free: 95.43 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003611/7.067, allocations: 0.9346 MB / 2.377 GB, free: 95.36 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.456e-05/7.067, allocations: 0 / 2.377 GB, free: 95.36 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001528/7.067, allocations: 0 / 2.377 GB, free: 95.36 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.832e-05/7.067, allocations: 29.59 kB / 2.377 GB, free: 95.36 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0153/7.082, allocations: 5.981 MB / 2.382 GB, free: 92.72 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001458/7.084, allocations: 0.5522 MB / 2.383 GB, free: 92.68 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008122/7.085, allocations: 368.6 kB / 2.383 GB, free: 92.67 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005331/7.085, allocations: 0.5122 MB / 2.384 GB, free: 92.11 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/7.085, allocations: 33.25 kB / 2.384 GB, free: 92.07 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=58): time 3.927e-06/7.085, allocations: 0 / 2.384 GB, free: 92.07 MB / 0.8855 GB Notification: Performance of matching and sorting (n=58): time 0.003115/7.088, allocations: 0.8473 MB / 2.385 GB, free: 91.93 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/7.088, allocations: 59.81 kB / 2.385 GB, free: 91.87 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00314/7.091, allocations: 1.28 MB / 2.386 GB, free: 91.65 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0004366/7.092, allocations: 32.27 kB / 2.386 GB, free: 91.62 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005958/7.093, allocations: 0.5935 MB / 2.387 GB, free: 91.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002666/7.093, allocations: 195.9 kB / 2.387 GB, free: 91.18 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/7.093, allocations: 0 / 2.387 GB, free: 91.18 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001172/7.093, allocations: 354.3 kB / 2.387 GB, free: 90.87 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001115/7.094, allocations: 394.9 kB / 2.388 GB, free: 90.86 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00144/7.096, allocations: 0.7119 MB / 2.388 GB, free: 90.52 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001745/7.097, allocations: 0.496 MB / 2.389 GB, free: 90.51 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/7.098, allocations: 3.5 kB / 2.389 GB, free: 90.51 MB / 0.8855 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.004189/7.102, allocations: 1.26 MB / 2.39 GB, free: 90.36 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002909/7.102, allocations: 0.9188 MB / 2.391 GB, free: 89.41 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.752e-05/7.102, allocations: 5.812 kB / 2.391 GB, free: 89.41 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.605e-05/7.102, allocations: 7.5 kB / 2.391 GB, free: 89.41 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002801/7.105, allocations: 291.3 kB / 2.391 GB, free: 89.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.352e-05/7.105, allocations: 12.28 kB / 2.391 GB, free: 89.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003939/7.109, allocations: 185.4 kB / 2.391 GB, free: 89.35 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004457/7.109, allocations: 60.48 kB / 2.391 GB, free: 89.35 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/7.109, allocations: 2.781 kB / 2.391 GB, free: 89.35 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003111/7.113, allocations: 0.9953 MB / 2.392 GB, free: 89.32 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/7.113, allocations: 2.875 kB / 2.392 GB, free: 89.32 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/7.113, allocations: 12.09 kB / 2.392 GB, free: 89.32 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002657/7.115, allocations: 275.5 kB / 2.393 GB, free: 89.32 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.96e-05/7.115, allocations: 11.88 kB / 2.393 GB, free: 89.32 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003699/7.119, allocations: 166.8 kB / 2.393 GB, free: 89.29 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004258/7.12, allocations: 62.05 kB / 2.393 GB, free: 89.29 MB / 0.8855 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.0004189/7.12, allocations: 133.9 kB / 2.393 GB, free: 89.18 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006564/7.121, allocations: 171 kB / 2.393 GB, free: 89.08 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00388/7.125, allocations: 1.035 MB / 2.394 GB, free: 88.98 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.968e-05/7.125, allocations: 14.72 kB / 2.394 GB, free: 88.98 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/7.125, allocations: 0 / 2.394 GB, free: 88.98 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.478e-05/7.125, allocations: 6.516 kB / 2.394 GB, free: 88.98 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006524/7.131, allocations: 2.196 MB / 2.396 GB, free: 88.61 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.346e-05/7.131, allocations: 3.906 kB / 2.396 GB, free: 88.61 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001266/7.133, allocations: 136.3 kB / 2.396 GB, free: 88.61 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.656e-05/7.133, allocations: 6.812 kB / 2.396 GB, free: 88.61 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.929e-05/7.133, allocations: 11.02 kB / 2.396 GB, free: 88.61 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.598e-06/7.133, allocations: 6.312 kB / 2.396 GB, free: 88.61 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/7.133, allocations: 3.906 kB / 2.396 GB, free: 88.61 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002714/7.135, allocations: 1.09 MB / 2.398 GB, free: 88.15 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001212/7.137, allocations: 338.9 kB / 2.398 GB, free: 87.95 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004458/7.137, allocations: 3.906 kB / 2.398 GB, free: 87.95 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00224/7.139, allocations: 98.8 kB / 2.398 GB, free: 87.95 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001794/7.14, allocations: 52.17 kB / 2.398 GB, free: 87.94 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.924e-05/7.14, allocations: 25.94 kB / 2.398 GB, free: 87.94 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.002126/7.142, allocations: 0.9328 MB / 2.399 GB, free: 87.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.004899/7.147, allocations: 0.9755 MB / 2.4 GB, free: 87.67 MB / 0.8855 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.002178/7.149, allocations: 0.9937 MB / 2.401 GB, free: 87.41 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004372/7.154, allocations: 1.574 MB / 2.402 GB, free: 87.38 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/7.154, allocations: 0 / 2.402 GB, free: 87.38 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0009589/7.155, allocations: 382 kB / 2.403 GB, free: 87.38 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009602/7.164, allocations: 0.8995 MB / 2.404 GB, free: 87.37 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008349/7.173, allocations: 2.243 MB / 2.406 GB, free: 86.67 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00225/7.175, allocations: 1.613 MB / 2.407 GB, free: 85.93 MB / 0.8855 GB Notification: Performance of SimCode: time 1.463e-06/7.175, allocations: 0 / 2.407 GB, free: 85.93 MB / 0.8855 GB Notification: Performance of Templates: time 0.1129/7.288, allocations: 41.69 MB / 2.448 GB, free: 84.23 MB / 0.8855 GB