Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") translateModel(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0012/0.0012, allocations: 96.14 kB / 15.87 MB, free: 16 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.001567/0.001567, allocations: 191.2 kB / 16.79 MB, free: 6.812 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.854/1.854, allocations: 205.1 MB / 222.6 MB, free: 4.988 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.9/1.9, allocations: 292.3 MB / 0.5491 GB, free: 13.72 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.001353/0.001353, allocations: 66.77 kB / 0.6715 GB, free: 26.44 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3206, allocations: 114.6 MB / 0.7833 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.003174/0.3239, allocations: 1.569 MB / 0.7849 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007559/0.3247, allocations: 457 kB / 0.7853 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.348e-05/0.3247, allocations: 0 / 0.7853 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.253e-05/0.3248, allocations: 7.875 kB / 0.7853 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.271e-05/0.3249, allocations: 11.92 kB / 0.7853 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001853/0.3251, allocations: 15.97 kB / 0.7853 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.807e-05/0.3251, allocations: 47.8 kB / 0.7854 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.3253, allocations: 12 kB / 0.7854 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.3254, allocations: 15.92 kB / 0.7854 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.316e-05/0.3255, allocations: 23.86 kB / 0.7854 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.973e-05/0.3255, allocations: 4 kB / 0.7854 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.404e-05/0.3255, allocations: 0 / 0.7854 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.775e-05/0.3256, allocations: 15.97 kB / 0.7855 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.12e-05/0.3256, allocations: 19.86 kB / 0.7855 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.783e-05/0.3257, allocations: 24.19 kB / 0.7855 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.104e-06/0.3257, allocations: 4 kB / 0.7855 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3257, allocations: 0 / 0.7855 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.94e-06/0.3257, allocations: 4 kB / 0.7855 GB, free: 11.8 MB / 0.6075 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.0005589/0.3263, allocations: 359.3 kB / 0.7858 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.3263, allocations: 12.03 kB / 0.7859 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.829e-05/0.3264, allocations: 4.844 kB / 0.7859 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.3265, allocations: 180.1 kB / 0.786 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.3265, allocations: 4.375 kB / 0.786 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.3266, allocations: 384 / 0.786 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001874/0.3268, allocations: 69.97 kB / 0.7861 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.3268, allocations: 4 kB / 0.7861 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.3268, allocations: 0 / 0.7861 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.3268, allocations: 0 / 0.7861 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001288/0.3269, allocations: 35.97 kB / 0.7861 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004382/0.3274, allocations: 280.8 kB / 0.7864 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.3275, allocations: 42.56 kB / 0.7865 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.09e-05/0.3276, allocations: 20.94 kB / 0.7865 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.3276, allocations: 7.984 kB / 0.7865 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.3277, allocations: 30.56 kB / 0.7865 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.3277, allocations: 0 / 0.7865 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0003112/0.328, allocations: 97.5 kB / 0.7866 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/0.328, allocations: 51.41 kB / 0.7866 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.3281, allocations: 117.8 kB / 0.7868 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.3282, allocations: 29.7 kB / 0.7868 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.346e-05/0.3282, allocations: 88.08 kB / 0.7869 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.021e-05/0.3283, allocations: 7.906 kB / 0.7869 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/0.3283, allocations: 17.7 kB / 0.7869 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.3284, allocations: 326.8 kB / 0.7872 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.468e-05/0.3285, allocations: 11.98 kB / 0.7872 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.383e-05/0.3286, allocations: 15.98 kB / 0.7872 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001174/0.3287, allocations: 44.83 kB / 0.7873 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3287, allocations: 0 / 0.7873 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001545/0.3289, allocations: 73.52 kB / 0.7873 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.3289, allocations: 11.98 kB / 0.7874 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.3289, allocations: 0 / 0.7874 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.3289, allocations: 4 kB / 0.7874 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.329, allocations: 4 kB / 0.7874 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.329, allocations: 0 / 0.7874 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.193e-05/0.3291, allocations: 7.984 kB / 0.7874 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.677e-06/0.3291, allocations: 0 / 0.7874 GB, free: 9.66 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.346e-05/0.3292, allocations: 117.8 kB / 0.7875 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.692e-05/0.3292, allocations: 7.906 kB / 0.7875 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.071e-05/0.3293, allocations: 15.89 kB / 0.7875 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.3293, allocations: 0 / 0.7875 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.3293, allocations: 0 / 0.7875 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3293, allocations: 0 / 0.7875 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/0.3295, allocations: 177.5 kB / 0.7877 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3295, allocations: 3.938 kB / 0.7877 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.891e-05/0.3296, allocations: 11.98 kB / 0.7877 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.3296, allocations: 0 / 0.7877 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.3296, allocations: 0 / 0.7877 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.3296, allocations: 3.938 kB / 0.7877 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3296, allocations: 4 kB / 0.7877 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002138/0.3298, allocations: 167.5 kB / 0.7879 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.446e-05/0.3299, allocations: 81.02 kB / 0.7879 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.3299, allocations: 4 kB / 0.7879 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.548e-05/0.33, allocations: 7.984 kB / 0.788 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.087e-05/0.33, allocations: 8 kB / 0.788 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-06/0.3301, allocations: 4 kB / 0.788 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.419e-05/0.3301, allocations: 91.27 kB / 0.7881 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3301, allocations: 0 / 0.7881 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002111/0.3303, allocations: 8 kB / 0.7881 GB, free: 8.859 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001167/0.3305, allocations: 95.25 kB / 0.7881 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001876/0.3306, allocations: 48.27 kB / 0.7882 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3307, allocations: 0 / 0.7882 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.487e-05/0.3307, allocations: 24.08 kB / 0.7882 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.331, allocations: 11.88 kB / 0.7882 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000432/0.3314, allocations: 203.8 kB / 0.7884 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/0.3318, allocations: 0.6926 MB / 0.7891 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.905e-05/0.3318, allocations: 7.438 kB / 0.7891 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of SimCode: time 3.21e-07/0.3318, allocations: 0 / 0.7891 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of Templates: time 0.002406/0.3342, allocations: 0.6885 MB / 0.7898 GB, free: 7.027 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalcCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalcCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalcCalcHelperMain.o] Error 1