Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 102.1 kB / 15.71 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 173.8 kB / 16.58 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.817/1.817, allocations: 205.4 MB / 222.8 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.999/1.999, allocations: 292.7 MB / 0.5505 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005936/0.0005937, allocations: 18.34 kB / 0.6744 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.2915, allocations: 116.3 MB / 0.7879 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.001458/0.2931, allocations: 1.049 MB / 0.789 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.7692/1.062, allocations: 134.3 MB / 0.9201 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.559e-05/1.062, allocations: 0 / 0.9201 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.376e-05/1.062, allocations: 8.953 kB / 0.9201 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00022/1.063, allocations: 40.77 kB / 0.9201 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001128/1.064, allocations: 259.7 kB / 0.9204 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002157/1.064, allocations: 134.1 kB / 0.9205 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.037e-05/1.064, allocations: 4.922 kB / 0.9205 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.255e-05/1.064, allocations: 35.69 kB / 0.9206 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001561/1.064, allocations: 58 kB / 0.9206 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/1.064, allocations: 2.094 kB / 0.9206 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000775/1.065, allocations: 305.3 kB / 0.9209 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.031e-05/1.065, allocations: 27.66 kB / 0.9209 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.515e-05/1.065, allocations: 36.17 kB / 0.921 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003543/1.066, allocations: 171.9 kB / 0.9211 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/1.066, allocations: 0 / 0.9211 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.194e-06/1.066, allocations: 3.438 kB / 0.9211 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.519e-06/1.066, allocations: 4 kB / 0.9211 GB, free: 5.73 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007489/1.066, allocations: 391.7 kB / 0.9215 GB, free: 21.34 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/1.066, allocations: 9.719 kB / 0.9215 GB, free: 21.34 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.334e-05/1.066, allocations: 3.984 kB / 0.9215 GB, free: 21.34 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/1.067, allocations: 169.2 kB / 0.9217 GB, free: 21.14 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/1.067, allocations: 3.25 kB / 0.9217 GB, free: 21.14 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.381e-05/1.067, allocations: 2.078 kB / 0.9217 GB, free: 21.14 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002191/1.067, allocations: 96.72 kB / 0.9218 GB, free: 21.11 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/1.067, allocations: 4 kB / 0.9218 GB, free: 21.1 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/1.067, allocations: 6.953 kB / 0.9218 GB, free: 21.1 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.124e-05/1.067, allocations: 14.11 kB / 0.9218 GB, free: 21.1 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00016/1.067, allocations: 76.03 kB / 0.9219 GB, free: 21.1 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004863/1.068, allocations: 334.9 kB / 0.9222 GB, free: 20.83 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001918/1.068, allocations: 100.7 kB / 0.9223 GB, free: 20.81 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.469e-05/1.068, allocations: 51.84 kB / 0.9223 GB, free: 20.8 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008434/1.069, allocations: 484.6 kB / 0.9228 GB, free: 20.33 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/1.069, allocations: 39.5 kB / 0.9228 GB, free: 20.29 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 1.463e-06/1.069, allocations: 0 / 0.9228 GB, free: 20.29 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.0002769/1.069, allocations: 130.3 kB / 0.923 GB, free: 20.25 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/1.069, allocations: 54 kB / 0.923 GB, free: 20.18 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/1.069, allocations: 116.7 kB / 0.9231 GB, free: 20.08 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/1.069, allocations: 32.08 kB / 0.9232 GB, free: 20.05 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.193e-05/1.069, allocations: 102.9 kB / 0.9233 GB, free: 19.95 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.702e-05/1.069, allocations: 37.05 kB / 0.9233 GB, free: 19.93 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.242e-06/1.069, allocations: 2.562 kB / 0.9233 GB, free: 19.93 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001191/1.07, allocations: 323.4 kB / 0.9236 GB, free: 19.61 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.212e-05/1.07, allocations: 26.55 kB / 0.9236 GB, free: 19.61 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.542e-05/1.07, allocations: 72.08 kB / 0.9237 GB, free: 19.57 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.636e-05/1.07, allocations: 45.7 kB / 0.9237 GB, free: 19.56 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/1.07, allocations: 2.75 kB / 0.9237 GB, free: 19.56 MB / 0.7325 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001934/1.07, allocations: 139.2 kB / 0.9239 GB, free: 19.53 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/1.07, allocations: 5.594 kB / 0.9239 GB, free: 19.53 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/1.07, allocations: 0.75 kB / 0.9239 GB, free: 19.53 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/1.07, allocations: 6.641 kB / 0.9239 GB, free: 19.52 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/1.07, allocations: 28.61 kB / 0.9239 GB, free: 19.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/1.07, allocations: 3.391 kB / 0.9239 GB, free: 19.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.529e-05/1.07, allocations: 21.12 kB / 0.9239 GB, free: 19.51 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/1.07, allocations: 3.984 kB / 0.9239 GB, free: 19.51 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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 9.164e-05/1.07, allocations: 125.9 kB / 0.9241 GB, free: 19.4 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.615e-05/1.07, allocations: 6.906 kB / 0.9241 GB, free: 19.39 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002231/1.071, allocations: 122.8 kB / 0.9242 GB, free: 19.35 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/1.071, allocations: 4.562 kB / 0.9242 GB, free: 19.34 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/1.071, allocations: 5.766 kB / 0.9242 GB, free: 19.34 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/1.071, allocations: 0.5625 kB / 0.9242 GB, free: 19.34 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001842/1.071, allocations: 181.1 kB / 0.9244 GB, free: 19.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/1.071, allocations: 0 / 0.9244 GB, free: 19.15 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.113e-05/1.071, allocations: 24.28 kB / 0.9244 GB, free: 19.15 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/1.071, allocations: 0 / 0.9244 GB, free: 19.15 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/1.071, allocations: 0.6562 kB / 0.9244 GB, free: 19.15 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/1.071, allocations: 2.844 kB / 0.9244 GB, free: 19.15 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/1.071, allocations: 0 / 0.9244 GB, free: 19.15 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001788/1.071, allocations: 209.8 kB / 0.9246 GB, free: 19.01 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.113e-05/1.071, allocations: 93.22 kB / 0.9247 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.726e-05/1.071, allocations: 0.7969 kB / 0.9247 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.252e-05/1.071, allocations: 4.312 kB / 0.9247 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.553e-05/1.071, allocations: 5.422 kB / 0.9247 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/1.071, allocations: 6.797 kB / 0.9247 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.702e-05/1.071, allocations: 90.14 kB / 0.9248 GB, free: 18.83 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/1.071, allocations: 0 / 0.9248 GB, free: 18.83 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003513/1.072, allocations: 81.73 kB / 0.9249 GB, free: 18.81 MB / 0.7325 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0003421/1.072, allocations: 179 kB / 0.925 GB, free: 18.71 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001697/1.072, allocations: 84.09 kB / 0.9251 GB, free: 18.71 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/1.072, allocations: 320 / 0.9251 GB, free: 18.71 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 5.331e-05/1.072, allocations: 52.48 kB / 0.9252 GB, free: 18.7 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/1.073, allocations: 11.47 kB / 0.9252 GB, free: 18.7 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003793/1.073, allocations: 221.4 kB / 0.9254 GB, free: 18.54 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002793/1.073, allocations: 0.6956 MB / 0.9261 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.72e-05/1.073, allocations: 14.06 kB / 0.9261 GB, free: 17.83 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/1.073, allocations: 0 / 0.9261 GB, free: 17.83 MB / 0.7325 GB Notification: Performance of Templates: time 0.004218/1.077, allocations: 1.836 MB / 0.9279 GB, free: 17.65 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.makefile make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacityCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacityCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacityCalcHelperMain.o] Error 1