Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001979/0.001979, allocations: 183.1 kB / 7.802 MB, free: 2.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.476/0.476, allocations: 90.86 MB / 99.08 MB, free: 14.91 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 221.4 MB / 342.8 MB, free: 5.168 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009717/0.0009717, allocations: 92.66 kB / 415.5 MB, free: 9.824 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 6.332e-06/6.362e-06, allocations: 0 / 493.9 MB, free: 11.54 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3322, allocations: 72.3 MB / 0.5529 GB, free: 44.77 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.124/0.4563, allocations: 102.5 MB / 0.653 GB, free: 6.172 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002299/0.4565, allocations: 76.61 kB / 0.653 GB, free: 6.098 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.01609/0.4727, allocations: 5.04 MB / 0.658 GB, free: 1.066 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.112e-05/0.4727, allocations: 4 kB / 0.658 GB, free: 1.062 MB / 474.7 MB 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.0003913/0.4731, allocations: 354.4 kB / 0.6583 GB, free: 0.6719 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.4732, allocations: 12.03 kB / 0.6583 GB, free: 0.6602 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.495e-05/0.4732, allocations: 7.906 kB / 0.6583 GB, free: 0.6523 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.4734, allocations: 159.1 kB / 0.6585 GB, free: 468 kB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.4734, allocations: 0 / 0.6585 GB, free: 468 kB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.437e-06/0.4734, allocations: 4 kB / 0.6585 GB, free: 464 kB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.636e-05/0.4735, allocations: 15.91 kB / 0.6585 GB, free: 448 kB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.465e-05/0.4736, allocations: 45.62 kB / 0.6585 GB, free: 396 kB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.4736, allocations: 0 / 0.6585 GB, free: 396 kB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.4736, allocations: 2.156 kB / 0.6585 GB, free: 396 kB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.4737, allocations: 0 / 0.6585 GB, free: 396 kB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003553/0.474, allocations: 241.5 kB / 0.6588 GB, free: 116 kB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001996/0.4742, allocations: 38.62 kB / 0.6588 GB, free: 68 kB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.946e-05/0.4743, allocations: 16.86 kB / 0.6588 GB, free: 48 kB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.4743, allocations: 0 / 0.6588 GB, free: 48 kB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.4743, allocations: 38.5 kB / 0.6588 GB, free: 0 / 474.7 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.4743, allocations: 0 / 0.6588 GB, free: 0 / 474.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001794/0.4745, allocations: 49.83 kB / 0.6589 GB, free: 15.94 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.356e-05/0.4746, allocations: 51.41 kB / 0.6589 GB, free: 15.88 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.571e-05/0.4747, allocations: 96.94 kB / 0.659 GB, free: 15.78 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.4747, allocations: 25.7 kB / 0.6591 GB, free: 15.75 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.186e-05/0.4748, allocations: 84.05 kB / 0.6591 GB, free: 15.66 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.399e-05/0.4748, allocations: 15.8 kB / 0.6592 GB, free: 15.64 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.556e-06/0.4748, allocations: 0 / 0.6592 GB, free: 15.64 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.4749, allocations: 314.8 kB / 0.6595 GB, free: 15.33 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.673e-05/0.4749, allocations: 8 kB / 0.6595 GB, free: 15.32 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.733e-05/0.475, allocations: 17.72 kB / 0.6595 GB, free: 15.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.447e-05/0.475, allocations: 7.984 kB / 0.6595 GB, free: 15.29 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.475, allocations: 3.938 kB / 0.6595 GB, free: 15.29 MB / 490.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.592e-05/0.4751, allocations: 57.62 kB / 0.6595 GB, free: 15.22 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.4751, allocations: 6.031 kB / 0.6596 GB, free: 15.22 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.4752, allocations: 0 / 0.6596 GB, free: 15.22 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.4752, allocations: 5.406 kB / 0.6596 GB, free: 15.21 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.848e-05/0.4752, allocations: 12.03 kB / 0.6596 GB, free: 15.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.4752, allocations: 0 / 0.6596 GB, free: 15.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.492e-05/0.4753, allocations: 0 / 0.6596 GB, free: 15.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.4753, allocations: 4 kB / 0.6596 GB, free: 15.2 MB / 490.7 MB 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.451e-05/0.4754, allocations: 108.9 kB / 0.6597 GB, free: 15.09 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.775e-05/0.4754, allocations: 7.906 kB / 0.6597 GB, free: 15.08 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001467/0.4755, allocations: 57.39 kB / 0.6597 GB, free: 15.02 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.4756, allocations: 8 kB / 0.6597 GB, free: 15.01 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.4756, allocations: 0 / 0.6597 GB, free: 15.01 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.4756, allocations: 0 / 0.6597 GB, free: 15.01 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001307/0.4757, allocations: 138.1 kB / 0.6599 GB, free: 14.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.4757, allocations: 0 / 0.6599 GB, free: 14.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.35e-05/0.4758, allocations: 4 kB / 0.6599 GB, free: 14.83 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.4758, allocations: 4 kB / 0.6599 GB, free: 14.83 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.4758, allocations: 0 / 0.6599 GB, free: 14.83 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.4758, allocations: 0.75 kB / 0.6599 GB, free: 14.83 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.4758, allocations: 0 / 0.6599 GB, free: 14.83 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001741/0.476, allocations: 151.4 kB / 0.66 GB, free: 14.66 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.024e-05/0.476, allocations: 81.05 kB / 0.6601 GB, free: 14.57 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.4761, allocations: 3.984 kB / 0.6601 GB, free: 14.56 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.951e-05/0.4761, allocations: 0 / 0.6601 GB, free: 14.56 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.641e-05/0.4761, allocations: 8 kB / 0.6601 GB, free: 14.55 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-06/0.4762, allocations: 3.906 kB / 0.6601 GB, free: 14.55 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.317e-05/0.4762, allocations: 76.03 kB / 0.6602 GB, free: 14.48 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002454/0.4764, allocations: 20 kB / 0.6602 GB, free: 14.46 MB / 490.7 MB 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.000204/0.4767, allocations: 131.2 kB / 0.6603 GB, free: 14.32 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.949e-05/0.4767, allocations: 23.94 kB / 0.6604 GB, free: 14.29 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.4768, allocations: 0 / 0.6604 GB, free: 14.29 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.088e-05/0.4768, allocations: 12 kB / 0.6604 GB, free: 14.28 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001367/0.4769, allocations: 7.078 kB / 0.6604 GB, free: 14.28 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000232/0.4772, allocations: 63.78 kB / 0.6604 GB, free: 14.19 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003147/0.4775, allocations: 0.6876 MB / 0.6611 GB, free: 13.48 MB / 490.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4775, allocations: 4.062 kB / 0.6611 GB, free: 13.48 MB / 490.7 MB Notification: Performance of Templates: time 0.002449/0.4799, allocations: 0.5651 MB / 0.6617 GB, free: 12.94 MB / 490.7 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)