Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|criSol.G_TC|criSol.TEnv|criSol.TIn",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") translateModel(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|criSol.G_TC|criSol.TEnv|criSol.TIn",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007963/0.0007962, allocations: 99.44 kB / 15.71 MB, free: 452 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.001022/0.001022, allocations: 179.9 kB / 16.58 MB, free: 6.422 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.402/1.402, allocations: 223.2 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.888/2.888, allocations: 436.7 MB / 0.7113 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004261/0.0004261, allocations: 8.219 kB / 0.8717 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7669/0.7673, allocations: 153.7 MB / 1.022 GB, free: 1.254 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.001754/0.7692, allocations: 1.22 MB / 1.023 GB, free: 24 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0006172/0.7698, allocations: 391.4 kB / 1.023 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.896e-05/0.7698, allocations: 0 / 1.023 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.906e-05/0.7699, allocations: 3.938 kB / 1.023 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.045e-05/0.7699, allocations: 3.938 kB / 1.023 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001671/0.7701, allocations: 15.98 kB / 1.023 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.332e-05/0.7702, allocations: 43.78 kB / 1.023 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.7703, allocations: 11.98 kB / 1.023 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.777e-05/0.7704, allocations: 23.86 kB / 1.023 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.946e-05/0.7705, allocations: 19.92 kB / 1.023 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.7705, allocations: 0 / 1.023 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.105e-05/0.7706, allocations: 0 / 1.023 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.714e-05/0.7706, allocations: 8 kB / 1.023 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.417e-05/0.7706, allocations: 41.62 kB / 1.023 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 7.563e-05/0.7707, allocations: 34.05 kB / 1.023 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.7707, allocations: 0 / 1.023 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7707, allocations: 0 / 1.023 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.501e-06/0.7707, allocations: 0 / 1.023 GB, free: 15.43 MB / 0.7794 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.0005067/0.7712, allocations: 353 kB / 1.024 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.7713, allocations: 15.98 kB / 1.024 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.696e-05/0.7714, allocations: 7.906 kB / 1.024 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.7715, allocations: 171 kB / 1.024 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.7715, allocations: 4 kB / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.7715, allocations: 0 / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001902/0.7717, allocations: 61.62 kB / 1.024 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.7718, allocations: 3.938 kB / 1.024 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.7718, allocations: 0 / 1.024 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.7718, allocations: 4 kB / 1.024 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001322/0.7719, allocations: 43.97 kB / 1.024 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004161/0.7724, allocations: 272.8 kB / 1.024 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.7725, allocations: 46.56 kB / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.393e-05/0.7726, allocations: 28.94 kB / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.594e-05/0.7726, allocations: 3.938 kB / 1.024 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/0.7726, allocations: 30.56 kB / 1.024 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.7726, allocations: 3.938 kB / 1.024 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0003041/0.773, allocations: 101.7 kB / 1.025 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.773, allocations: 55.39 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.306e-05/0.7731, allocations: 117.8 kB / 1.025 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.7731, allocations: 29.7 kB / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.338e-05/0.7732, allocations: 84.14 kB / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.213e-05/0.7732, allocations: 19.73 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-06/0.7732, allocations: 4 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.7734, allocations: 310.8 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.804e-05/0.7734, allocations: 23.92 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.867e-05/0.7735, allocations: 31.92 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.645e-05/0.7736, allocations: 19.98 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.7736, allocations: 3.953 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000165/0.7738, allocations: 73.95 kB / 1.025 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.7738, allocations: 8 kB / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.7738, allocations: 0 / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.7738, allocations: 3.984 kB / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.7739, allocations: 8.047 kB / 1.025 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.7739, allocations: 0 / 1.025 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.94e-05/0.774, allocations: 19.97 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.774, allocations: 0 / 1.025 GB, free: 13.29 MB / 0.7794 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 8.217e-05/0.7741, allocations: 113.8 kB / 1.025 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.783e-05/0.7741, allocations: 11.86 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.937e-05/0.7742, allocations: 11.91 kB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.7742, allocations: 3.938 kB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.7742, allocations: 3.984 kB / 1.026 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.7742, allocations: 0 / 1.026 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001824/0.7744, allocations: 169.6 kB / 1.026 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.7744, allocations: 0 / 1.026 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.136e-05/0.7745, allocations: 15.94 kB / 1.026 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.7745, allocations: 8 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-06/0.7745, allocations: 0 / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.7745, allocations: 0 / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.7745, allocations: 3.938 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002098/0.7747, allocations: 175.4 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.984e-05/0.7748, allocations: 85.11 kB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.097e-05/0.7748, allocations: 3.953 kB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.399e-05/0.7749, allocations: 4 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.122e-05/0.7749, allocations: 7.984 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.7749, allocations: 0 / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.546e-05/0.775, allocations: 95.64 kB / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.775, allocations: 0 / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002124/0.7752, allocations: 8 kB / 1.026 GB, free: 12.48 MB / 0.7794 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.0001283/0.7753, allocations: 103.2 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001715/0.7755, allocations: 43.97 kB / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.7755, allocations: 0 / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.411e-05/0.7756, allocations: 31.97 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002152/0.7758, allocations: 8.328 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003797/0.7762, allocations: 208 kB / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002649/0.7765, allocations: 0.6848 MB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.478e-05/0.7765, allocations: 15.36 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.7765, allocations: 4 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of Templates: time 0.002282/0.7788, allocations: 0.6981 MB / 1.028 GB, free: 10.63 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.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_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalcCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalcCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalcCalcHelperMain.o] Error 1