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.0009838/0.0009838, allocations: 102.6 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.001328/0.001329, allocations: 176 kB / 16.58 MB, free: 6.859 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.946/1.946, allocations: 205.4 MB / 222.8 MB, free: 5.652 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.898/1.898, 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.0007378/0.0007378, allocations: 15.5 kB / 0.6744 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3079/0.3087, allocations: 116.3 MB / 0.7879 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.001696/0.3104, allocations: 1.211 MB / 0.7891 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0006466/0.3111, allocations: 433.3 kB / 0.7895 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.752e-05/0.3112, allocations: 4 kB / 0.7895 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.586e-05/0.3112, allocations: 0 / 0.7895 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.811e-05/0.3113, allocations: 11.86 kB / 0.7896 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001631/0.3114, allocations: 19.97 kB / 0.7896 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.774e-05/0.3115, allocations: 39.8 kB / 0.7896 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.3116, allocations: 8 kB / 0.7896 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.264e-05/0.3117, allocations: 19.92 kB / 0.7896 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.816e-05/0.3118, allocations: 19.92 kB / 0.7897 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.3119, allocations: 4 kB / 0.7897 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.027e-05/0.3119, allocations: 0 / 0.7897 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.496e-05/0.3119, allocations: 19.91 kB / 0.7897 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.222e-05/0.3119, allocations: 25.7 kB / 0.7897 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.03e-05/0.312, allocations: 28.17 kB / 0.7897 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.686e-06/0.312, allocations: 4 kB / 0.7897 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.953e-06/0.312, allocations: 0 / 0.7897 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.978e-06/0.312, allocations: 0 / 0.7897 GB, free: 10.07 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.0004959/0.3125, allocations: 359.2 kB / 0.7901 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.3126, allocations: 16.02 kB / 0.7901 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.173e-05/0.3126, allocations: 0 / 0.7901 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.3128, allocations: 178.8 kB / 0.7903 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.3128, allocations: 0 / 0.7903 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.39e-05/0.3128, allocations: 7.984 kB / 0.7903 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/0.313, allocations: 61.67 kB / 0.7903 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.313, allocations: 0 / 0.7903 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.313, allocations: 0 / 0.7903 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.3131, allocations: 7.938 kB / 0.7903 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001303/0.3132, allocations: 35.97 kB / 0.7904 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004108/0.3136, allocations: 280.9 kB / 0.7906 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001191/0.3137, allocations: 42.56 kB / 0.7907 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.358e-05/0.3138, allocations: 28.94 kB / 0.7907 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.3138, allocations: 7.984 kB / 0.7907 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.3139, allocations: 30.56 kB / 0.7907 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.3139, allocations: 0 / 0.7907 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0003075/0.3142, allocations: 109.5 kB / 0.7908 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/0.3143, allocations: 55.41 kB / 0.7909 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.137e-05/0.3143, allocations: 121.7 kB / 0.791 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.3144, allocations: 29.7 kB / 0.791 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.504e-05/0.3144, allocations: 88.12 kB / 0.7911 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.264e-05/0.3145, allocations: 7.906 kB / 0.7911 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-06/0.3145, allocations: 0 / 0.7911 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.3146, allocations: 314.8 kB / 0.7914 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.697e-05/0.3147, allocations: 23.98 kB / 0.7915 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.781e-05/0.3148, allocations: 23.98 kB / 0.7915 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.364e-05/0.3148, allocations: 15.98 kB / 0.7915 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3149, allocations: 0 / 0.7915 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001808/0.315, allocations: 93.5 kB / 0.7916 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.3151, allocations: 4 kB / 0.7916 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.862e-06/0.3151, allocations: 0 / 0.7916 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.3151, allocations: 0 / 0.7916 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.3152, allocations: 15.98 kB / 0.7916 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.3152, allocations: 0 / 0.7916 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.297e-05/0.3153, allocations: 15.95 kB / 0.7916 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/0.3153, allocations: 4 kB / 0.7916 GB, free: 7.918 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001057/0.3154, allocations: 105.8 kB / 0.7917 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.714e-05/0.3155, allocations: 11.89 kB / 0.7917 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.937e-05/0.3155, allocations: 7.906 kB / 0.7917 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.3155, allocations: 4 kB / 0.7917 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.3155, allocations: 0 / 0.7917 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.3155, allocations: 3.938 kB / 0.7918 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002134/0.3158, allocations: 173.5 kB / 0.7919 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.3158, allocations: 4 kB / 0.7919 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.78e-05/0.3158, allocations: 11.98 kB / 0.7919 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.3159, allocations: 4 kB / 0.7919 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.3159, allocations: 336 / 0.7919 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.3159, allocations: 0 / 0.7919 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3159, allocations: 0 / 0.7919 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002611/0.3162, allocations: 187.4 kB / 0.7921 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.977e-05/0.3162, allocations: 85.02 kB / 0.7922 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.3162, allocations: 0 / 0.7922 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.547e-05/0.3163, allocations: 7.984 kB / 0.7922 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.925e-05/0.3164, allocations: 4 kB / 0.7922 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.3164, allocations: 0 / 0.7922 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.508e-05/0.3165, allocations: 95.27 kB / 0.7923 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3165, allocations: 0 / 0.7923 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002201/0.3167, allocations: 8 kB / 0.7923 GB, free: 7.117 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 (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.0001427/0.3169, allocations: 99.23 kB / 0.7924 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000204/0.3171, allocations: 47.97 kB / 0.7924 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.3171, allocations: 11.88 kB / 0.7925 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.61e-05/0.3172, allocations: 23.98 kB / 0.7925 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002454/0.3174, allocations: 3.953 kB / 0.7925 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004688/0.3179, allocations: 212.2 kB / 0.7927 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003771/0.3183, allocations: 0.6887 MB / 0.7934 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.057e-05/0.3183, allocations: 7.438 kB / 0.7934 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of SimCode: time 2.284e-06/0.3183, allocations: 4 kB / 0.7934 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of Templates: time 0.002775/0.3211, allocations: 0.6982 MB / 0.7941 GB, free: 5.266 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++ 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.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