Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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 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.Correlations.Examples.YorkCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TApp_Wat|TApp_Air",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TApp_Wat|TApp_Air",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 102.9 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.002704/0.002704, allocations: 174.6 kB / 16.58 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.591/1.591, allocations: 223.2 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.57/2.57, allocations: 390.4 MB / 0.6662 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003756/0.0003757, allocations: 12 kB / 0.8155 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8905/0.8909, allocations: 142.3 MB / 0.9544 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.001214/0.8922, allocations: 1.007 MB / 0.9554 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009298/0.8931, allocations: 0.6996 MB / 0.9561 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.64e-05/0.8931, allocations: 0 / 0.9561 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.407e-05/0.8931, allocations: 1.344 kB / 0.9561 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.793e-05/0.8932, allocations: 3.984 kB / 0.9561 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002752/0.8935, allocations: 70.52 kB / 0.9562 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.24e-05/0.8936, allocations: 18.98 kB / 0.9562 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.454e-05/0.8936, allocations: 5.016 kB / 0.9562 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.239e-05/0.8936, allocations: 7.906 kB / 0.9562 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.369e-05/0.8937, allocations: 3.781 kB / 0.9562 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.8937, allocations: 5.094 kB / 0.9562 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000312/0.894, allocations: 151.8 kB / 0.9563 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.141e-05/0.8941, allocations: 9.031 kB / 0.9564 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.1e-05/0.8941, allocations: 26.8 kB / 0.9564 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001329/0.8942, allocations: 72.86 kB / 0.9565 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.8942, allocations: 0 / 0.9565 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.963e-06/0.8942, allocations: 4.938 kB / 0.9565 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.8943, allocations: 0 / 0.9565 GB, free: 6.586 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002576/0.8945, allocations: 335.8 kB / 0.9568 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.8946, allocations: 8.719 kB / 0.9568 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.931e-05/0.8946, allocations: 9.359 kB / 0.9568 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.68e-05/0.8947, allocations: 159.1 kB / 0.9569 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.8947, allocations: 1.125 kB / 0.9569 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.307e-06/0.8947, allocations: 1.094 kB / 0.9569 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.146e-05/0.8948, allocations: 38.56 kB / 0.957 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.8948, allocations: 0 / 0.957 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.8948, allocations: 3.938 kB / 0.957 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.8948, allocations: 1.094 kB / 0.957 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.96e-05/0.8949, allocations: 13.95 kB / 0.957 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001229/0.895, allocations: 157.8 kB / 0.9572 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.922e-05/0.8951, allocations: 33.73 kB / 0.9572 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.719e-05/0.8951, allocations: 13.95 kB / 0.9572 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002082/0.8972, allocations: 1.032 MB / 0.9582 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.8972, allocations: 31.44 kB / 0.9582 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.893e-06/0.8973, allocations: 1.344 kB / 0.9582 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.000148/0.8974, allocations: 50.25 kB / 0.9583 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.657e-05/0.8974, allocations: 56.78 kB / 0.9583 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.343e-05/0.8975, allocations: 95.34 kB / 0.9584 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.005e-06/0.8975, allocations: 27.33 kB / 0.9585 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.931e-05/0.8975, allocations: 84.27 kB / 0.9585 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.6e-05/0.8976, allocations: 9.219 kB / 0.9585 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.616e-06/0.8976, allocations: 4 kB / 0.9586 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.61e-05/0.8976, allocations: 316.2 kB / 0.9589 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.247e-05/0.8977, allocations: 2.844 kB / 0.9589 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.146e-05/0.8977, allocations: 10.44 kB / 0.9589 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.119e-05/0.8977, allocations: 7.875 kB / 0.9589 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.8977, allocations: 0 / 0.9589 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.868e-05/0.8978, allocations: 45.33 kB / 0.9589 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.8978, allocations: 8.203 kB / 0.9589 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.8978, allocations: 5.219 kB / 0.9589 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.799e-06/0.8978, allocations: 0 / 0.9589 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.106e-05/0.8979, allocations: 4.625 kB / 0.9589 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.8979, allocations: 1.156 kB / 0.9589 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.392e-05/0.8979, allocations: 3.938 kB / 0.9589 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.8979, allocations: 1.344 kB / 0.9589 GB, free: 4.254 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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 5.367e-05/0.898, allocations: 111.1 kB / 0.959 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.484e-06/0.898, allocations: 2.219 kB / 0.959 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001086/0.8981, allocations: 64.34 kB / 0.9591 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.8981, allocations: 5.641 kB / 0.9591 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.8981, allocations: 0 / 0.9591 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.8981, allocations: 0 / 0.9591 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.834e-05/0.8982, allocations: 154.3 kB / 0.9593 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.8982, allocations: 3.984 kB / 0.9593 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.232e-05/0.8982, allocations: 4.156 kB / 0.9593 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.217e-06/0.8982, allocations: 1.219 kB / 0.9593 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.8982, allocations: 3.938 kB / 0.9593 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.8982, allocations: 1.062 kB / 0.9593 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.8983, allocations: 4 kB / 0.9593 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.027e-05/0.8983, allocations: 81.52 kB / 0.9594 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.816e-05/0.8984, allocations: 78.36 kB / 0.9594 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.082e-05/0.8984, allocations: 0 / 0.9594 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.144e-05/0.8984, allocations: 1.5 kB / 0.9594 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.366e-05/0.8984, allocations: 5.297 kB / 0.9594 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.8984, allocations: 4 kB / 0.9594 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.777e-05/0.8984, allocations: 81.84 kB / 0.9595 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8984, allocations: 0 / 0.9595 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002242/0.8987, allocations: 31.56 kB / 0.9595 GB, free: 3.59 MB / 0.7169 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 (3): * Single equations (assignments): 3 * 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.000214/0.8989, allocations: 123.4 kB / 0.9597 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.464e-05/0.899, allocations: 23.25 kB / 0.9597 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.899, allocations: 0 / 0.9597 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.338e-05/0.899, allocations: 8.438 kB / 0.9597 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001832/0.8992, allocations: 8.281 kB / 0.9597 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002313/0.8994, allocations: 134.9 kB / 0.9598 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001141/0.8995, allocations: 0.6752 MB / 0.9605 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.594e-05/0.8996, allocations: 11.42 kB / 0.9605 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of SimCode: time 8.91e-07/0.8996, allocations: 4 kB / 0.9605 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of Templates: time 0.002237/0.9018, allocations: 0.9006 MB / 0.9614 GB, free: 2.172 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.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_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalcCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalcCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalcCalcHelperMain.o] Error 1