Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") [: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.227/2.227, allocations: 253.1 MB / 260.4 MB, free: 7.531 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.0016/0.0016, allocations: 177.3 kB / 319.6 MB, free: 3.254 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.831/1.831, allocations: 205.4 MB / 0.5704 GB, free: 14.98 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.001245/0.001245, allocations: 91.28 kB / 0.6746 GB, free: 4.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.007e-06/9.037e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2083/0.2084, allocations: 106.3 MB / 0.8881 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.659/0.8675, allocations: 133.4 MB / 1.018 GB, free: 4.863 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002718/0.8678, allocations: 82.62 kB / 1.018 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.02774/0.8955, allocations: 4.951 MB / 1.023 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.167e-06/0.8956, allocations: 0 / 1.023 GB, free: 0.7617 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005226/0.8961, allocations: 364.7 kB / 1.024 GB, free: 372 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.8962, allocations: 8.031 kB / 1.024 GB, free: 364 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.609e-05/0.8962, allocations: 0 / 1.024 GB, free: 364 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001798/0.8964, allocations: 159.1 kB / 1.024 GB, free: 164 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.8965, allocations: 8 kB / 1.024 GB, free: 156 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/0.8965, allocations: 3.906 kB / 1.024 GB, free: 152 kB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.478e-05/0.8966, allocations: 19.42 kB / 1.024 GB, free: 136 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.595e-05/0.8967, allocations: 36.89 kB / 1.024 GB, free: 96 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.8967, allocations: 3.938 kB / 1.024 GB, free: 92 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.8967, allocations: 3.984 kB / 1.024 GB, free: 88 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.8967, allocations: 0 / 1.024 GB, free: 88 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004121/0.8972, allocations: 223.6 kB / 1.024 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000251/0.8974, allocations: 43.94 kB / 1.024 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.892e-05/0.8975, allocations: 16.55 kB / 1.024 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.459e-05/0.8976, allocations: 7.438 kB / 1.024 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.8976, allocations: 34.64 kB / 1.024 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=4): time 1.733e-06/0.8976, allocations: 0 / 1.024 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of matching and sorting (n=4): time 0.0001979/0.8978, allocations: 45.5 kB / 1.024 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.8979, allocations: 55.41 kB / 1.024 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.841e-05/0.898, allocations: 104.8 kB / 1.024 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.898, allocations: 25.7 kB / 1.024 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.839e-05/0.8981, allocations: 83.95 kB / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.654e-05/0.8981, allocations: 11.81 kB / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.412e-06/0.8981, allocations: 0 / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.8982, allocations: 314.8 kB / 1.025 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.551e-05/0.8983, allocations: 7.188 kB / 1.025 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.231e-05/0.8983, allocations: 25.52 kB / 1.025 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.589e-05/0.8984, allocations: 8 kB / 1.025 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.8984, allocations: 0 / 1.025 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001272/0.8985, allocations: 53.5 kB / 1.025 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.8985, allocations: 7.906 kB / 1.025 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.8986, allocations: 0 / 1.025 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.8986, allocations: 0 / 1.025 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.389e-05/0.8987, allocations: 8 kB / 1.025 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.8987, allocations: 3.984 kB / 1.025 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.261e-05/0.8988, allocations: 8.031 kB / 1.025 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.8988, allocations: 0 / 1.025 GB, free: 14.94 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 7.764e-05/0.8989, allocations: 101 kB / 1.025 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.907e-05/0.8989, allocations: 11.66 kB / 1.025 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001938/0.8991, allocations: 61.12 kB / 1.025 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.8991, allocations: 0 / 1.025 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.8991, allocations: 0 / 1.025 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.8992, allocations: 4 kB / 1.025 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001851/0.8993, allocations: 137.5 kB / 1.025 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.8994, allocations: 0 / 1.025 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.054e-05/0.8994, allocations: 12.11 kB / 1.025 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/0.8995, allocations: 4 kB / 1.025 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.8995, allocations: 0 / 1.025 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.8995, allocations: 0 / 1.025 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.8995, allocations: 0 / 1.025 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001702/0.8997, allocations: 154.6 kB / 1.025 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.944e-05/0.8997, allocations: 81.05 kB / 1.025 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.747e-05/0.8998, allocations: 0 / 1.025 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.548e-05/0.8999, allocations: 0 / 1.025 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.934e-05/0.8999, allocations: 7.906 kB / 1.025 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.77e-06/0.8999, allocations: 0 / 1.025 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.338e-05/0.8999, allocations: 83.27 kB / 1.025 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003609/0.9003, allocations: 16 kB / 1.025 GB, free: 14.21 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0002666/0.9006, allocations: 138.8 kB / 1.026 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001127/0.9007, allocations: 23.45 kB / 1.026 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.9007, allocations: 0 / 1.026 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.315e-05/0.9008, allocations: 11.94 kB / 1.026 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001747/0.901, allocations: 5.312 kB / 1.026 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000255/0.9012, allocations: 67.45 kB / 1.026 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003409/0.9016, allocations: 0.6876 MB / 1.026 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of SimCode: time 8.01e-07/0.9016, allocations: 0 / 1.026 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of Templates: time 0.003446/0.9051, allocations: 0.5548 MB / 1.027 GB, free: 12.7 MB / 0.6511 GB