Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") [: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.158/2.158, allocations: 253.1 MB / 260.4 MB, free: 7.582 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.00174/0.001739, allocations: 177.3 kB / 319.6 MB, free: 3.328 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.95/1.95, allocations: 205.4 MB / 0.5704 GB, free: 15.06 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.001903/0.001903, allocations: 94.39 kB / 0.6746 GB, free: 4.426 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.305e-05/1.322e-05, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.2262, allocations: 106.2 MB / 0.888 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.411/1.637, allocations: 395.7 MB / 1.274 GB, free: 253.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000326/1.637, allocations: 101 kB / 1.275 GB, free: 253.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.5719/2.209, allocations: 169.9 MB / 1.44 GB, free: 161.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.474e-05/2.21, allocations: 16 kB / 1.44 GB, free: 161.4 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001595/2.211, allocations: 0.7785 MB / 1.441 GB, free: 160.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/2.211, allocations: 12.03 kB / 1.441 GB, free: 160.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002506/2.211, allocations: 55.34 kB / 1.441 GB, free: 160.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001178/2.213, allocations: 461.3 kB / 1.442 GB, free: 160 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/2.213, allocations: 11.91 kB / 1.442 GB, free: 160 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.058e-05/2.213, allocations: 23.94 kB / 1.442 GB, free: 160 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004852/2.213, allocations: 149 kB / 1.442 GB, free: 159.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005137/2.214, allocations: 234.6 kB / 1.442 GB, free: 159.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/2.214, allocations: 0 / 1.442 GB, free: 159.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.031e-05/2.214, allocations: 0 / 1.442 GB, free: 159.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/2.214, allocations: 4 kB / 1.442 GB, free: 159.6 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002745/2.217, allocations: 1.261 MB / 1.443 GB, free: 158.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003898/2.217, allocations: 155.2 kB / 1.443 GB, free: 158.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001811/2.217, allocations: 81.23 kB / 1.444 GB, free: 158 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002184/2.219, allocations: 1.372 MB / 1.445 GB, free: 156.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/2.22, allocations: 34.56 kB / 1.445 GB, free: 156.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=18): time 3.778e-06/2.22, allocations: 0 / 1.445 GB, free: 156.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=18): time 0.0008376/2.22, allocations: 224.8 kB / 1.445 GB, free: 156.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/2.22, allocations: 55.41 kB / 1.445 GB, free: 156.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008024/2.221, allocations: 469.2 kB / 1.446 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.888e-05/2.221, allocations: 25.7 kB / 1.446 GB, free: 155.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000129/2.221, allocations: 192.1 kB / 1.446 GB, free: 155.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.44e-05/2.222, allocations: 63.09 kB / 1.446 GB, free: 155.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.657e-05/2.222, allocations: 0 / 1.446 GB, free: 155.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001007/2.222, allocations: 358.7 kB / 1.446 GB, free: 155 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/2.222, allocations: 63.98 kB / 1.446 GB, free: 154.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002965/2.222, allocations: 194.6 kB / 1.447 GB, free: 154.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005618/2.223, allocations: 125 kB / 1.447 GB, free: 154.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/2.223, allocations: 0 / 1.447 GB, free: 154.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000939/2.224, allocations: 304.5 kB / 1.447 GB, free: 154.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001759/2.224, allocations: 0.7823 MB / 1.448 GB, free: 153.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/2.224, allocations: 3.906 kB / 1.448 GB, free: 153.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.446e-05/2.224, allocations: 4 kB / 1.448 GB, free: 153.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005303/2.224, allocations: 75.89 kB / 1.448 GB, free: 153.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/2.225, allocations: 7.984 kB / 1.448 GB, free: 153.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007247/2.225, allocations: 47.66 kB / 1.448 GB, free: 153.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-05/2.225, allocations: 16 kB / 1.448 GB, free: 153.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/2.225, allocations: 4 kB / 1.448 GB, free: 153.3 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007817/2.226, allocations: 211.5 kB / 1.448 GB, free: 153.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/2.226, allocations: 4 kB / 1.448 GB, free: 153.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/2.226, allocations: 4.188 kB / 1.448 GB, free: 153.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004867/2.227, allocations: 71.91 kB / 1.448 GB, free: 153 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/2.227, allocations: 7.984 kB / 1.448 GB, free: 153 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006577/2.227, allocations: 35.83 kB / 1.448 GB, free: 152.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.34e-05/2.227, allocations: 15.98 kB / 1.448 GB, free: 152.9 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.0001176/2.228, allocations: 112.8 kB / 1.448 GB, free: 152.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/2.228, allocations: 47.44 kB / 1.448 GB, free: 152.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001031/2.229, allocations: 283.6 kB / 1.449 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/2.229, allocations: 11.94 kB / 1.449 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.8e-06/2.229, allocations: 0 / 1.449 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/2.229, allocations: 3.984 kB / 1.449 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001631/2.23, allocations: 0.7187 MB / 1.449 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.799e-06/2.23, allocations: 8 kB / 1.449 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003342/2.231, allocations: 40.02 kB / 1.449 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.148e-06/2.231, allocations: 4 kB / 1.449 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.349e-05/2.231, allocations: 8.188 kB / 1.449 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.611e-06/2.231, allocations: 3.938 kB / 1.449 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/2.231, allocations: 7.984 kB / 1.449 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009851/2.232, allocations: 480.1 kB / 1.45 GB, free: 151.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000276/2.232, allocations: 164.3 kB / 1.45 GB, free: 150.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.501e-05/2.232, allocations: 0 / 1.45 GB, free: 150.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004178/2.233, allocations: 20.05 kB / 1.45 GB, free: 150.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.577e-05/2.233, allocations: 15.98 kB / 1.45 GB, free: 150.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.592e-05/2.233, allocations: 11.98 kB / 1.45 GB, free: 150.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0006096/2.233, allocations: 362.8 kB / 1.45 GB, free: 150.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001375/2.235, allocations: 275.5 kB / 1.451 GB, free: 150.3 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (senVolFlo.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001382/2.236, allocations: 0.5266 MB / 1.451 GB, free: 149.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0009153/2.237, allocations: 314.2 kB / 1.451 GB, free: 149.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/2.237, allocations: 0 / 1.451 GB, free: 149.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002066/2.237, allocations: 87.84 kB / 1.452 GB, free: 149.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002257/2.24, allocations: 212.5 kB / 1.452 GB, free: 149.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00196/2.242, allocations: 0.6479 MB / 1.452 GB, free: 148.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005726/2.242, allocations: 0.9015 MB / 1.453 GB, free: 147.6 MB / 0.8698 GB Notification: Performance of SimCode: time 1.162e-06/2.242, allocations: 4 kB / 1.453 GB, free: 147.6 MB / 0.8698 GB Notification: Performance of Templates: time 0.03347/2.276, allocations: 11.16 MB / 1.464 GB, free: 136.5 MB / 0.8698 GB