Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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 8.0.0/package.mo): time 2.334/2.334, allocations: 284.9 MB / 292.2 MB, free: 10.77 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.001602/0.001601, allocations: 185.2 kB / 360.4 MB, free: 7.531 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.753/1.753, allocations: 205.1 MB / 0.6188 GB, free: 12.46 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.001252/0.001252, allocations: 83.88 kB / 0.7318 GB, free: 45.03 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.148e-05/1.163e-05, allocations: 0 / 0.8502 GB, free: 3.891 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5919/0.592, allocations: 115.2 MB / 0.9628 GB, free: 78.4 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2436/0.8356, allocations: 138.7 MB / 1.098 GB, free: 2.07 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002847/0.836, allocations: 84.64 kB / 1.098 GB, free: 1.988 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.02793/0.8639, allocations: 4.952 MB / 1.103 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.235e-06/0.8639, allocations: 0 / 1.103 GB, free: 13.12 MB / 0.7136 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.0004868/0.8645, allocations: 363.4 kB / 1.103 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.8645, allocations: 8.531 kB / 1.103 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.744e-05/0.8646, allocations: 3.906 kB / 1.103 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.8647, allocations: 163 kB / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.8647, allocations: 4 kB / 1.104 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.331e-05/0.8648, allocations: 0 / 1.104 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.953e-05/0.8649, allocations: 12 kB / 1.104 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.613e-05/0.865, allocations: 37.69 kB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.865, allocations: 0 / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.487e-06/0.865, allocations: 0 / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.865, allocations: 7.906 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003956/0.8654, allocations: 229.5 kB / 1.104 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000248/0.8657, allocations: 46.56 kB / 1.104 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.662e-05/0.8658, allocations: 16.92 kB / 1.104 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.02e-05/0.8658, allocations: 4 kB / 1.104 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.432e-05/0.8658, allocations: 42.45 kB / 1.104 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.843e-06/0.8659, allocations: 3.938 kB / 1.104 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001885/0.866, allocations: 45.78 kB / 1.104 GB, free: 12 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/0.8661, allocations: 51.41 kB / 1.104 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.6e-05/0.8662, allocations: 92.94 kB / 1.104 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.8662, allocations: 25.7 kB / 1.104 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.772e-05/0.8663, allocations: 88.05 kB / 1.104 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.785e-05/0.8663, allocations: 11.89 kB / 1.104 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-06/0.8663, allocations: 3.938 kB / 1.104 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001848/0.8665, allocations: 318.8 kB / 1.105 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.806e-05/0.8666, allocations: 8 kB / 1.105 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.01e-05/0.8666, allocations: 18.91 kB / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.125e-05/0.8667, allocations: 11.98 kB / 1.105 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.8667, allocations: 0 / 1.105 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001263/0.8668, allocations: 50.34 kB / 1.105 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.8668, allocations: 4 kB / 1.105 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.269e-06/0.8668, allocations: 4.031 kB / 1.105 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.8669, allocations: 0 / 1.105 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.198e-05/0.867, allocations: 11.94 kB / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.867, allocations: 0 / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.367e-05/0.867, allocations: 7.906 kB / 1.105 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.8671, allocations: 1.969 kB / 1.105 GB, free: 11.26 MB / 0.7136 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 8.25e-05/0.8671, allocations: 104.8 kB / 1.105 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.49e-05/0.8672, allocations: 4 kB / 1.105 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002097/0.8674, allocations: 65.27 kB / 1.105 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.8674, allocations: 5.938 kB / 1.105 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.8674, allocations: 0 / 1.105 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.8675, allocations: 0 / 1.105 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001815/0.8676, allocations: 138.2 kB / 1.105 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.8677, allocations: 0 / 1.105 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.432e-05/0.8677, allocations: 8 kB / 1.105 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.8677, allocations: 0 / 1.105 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.8678, allocations: 4.562 kB / 1.105 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-06/0.8678, allocations: 0 / 1.105 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.8678, allocations: 4 kB / 1.105 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001594/0.868, allocations: 139.5 kB / 1.105 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.418e-05/0.868, allocations: 84.95 kB / 1.105 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.975e-05/0.8681, allocations: 7.922 kB / 1.105 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.522e-05/0.8681, allocations: 1.812 kB / 1.105 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.335e-05/0.8682, allocations: 7.75 kB / 1.105 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.8682, allocations: 0 / 1.105 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.05e-05/0.8682, allocations: 87.66 kB / 1.105 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003609/0.8686, allocations: 16 kB / 1.105 GB, free: 10.52 MB / 0.7136 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.0002446/0.8689, allocations: 127.2 kB / 1.106 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001059/0.869, allocations: 23.98 kB / 1.106 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.869, allocations: 0 / 1.106 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.954e-05/0.869, allocations: 8 kB / 1.106 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002151/0.8693, allocations: 7.906 kB / 1.106 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002582/0.8695, allocations: 64.73 kB / 1.106 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003204/0.8699, allocations: 0.6947 MB / 1.106 GB, free: 9.543 MB / 0.7136 GB Notification: Performance of SimCode: time 7.01e-07/0.8699, allocations: 0 / 1.106 GB, free: 9.543 MB / 0.7136 GB Notification: Performance of Templates: time 0.003422/0.8733, allocations: 0.5506 MB / 1.107 GB, free: 9.023 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)