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.0008415/0.0008414, allocations: 91.45 kB / 16.02 MB, free: 80 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.0009284/0.0009285, allocations: 177.9 kB / 16.92 MB, free: 6.652 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.926/1.926, allocations: 205.4 MB / 223.1 MB, free: 5.559 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.801/1.801, allocations: 292.7 MB / 0.5509 GB, free: 14.44 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.0005899/0.00059, allocations: 20.28 kB / 0.675 GB, free: 25.87 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.31/0.3106, allocations: 116.3 MB / 0.7885 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.00173/0.3124, allocations: 1.23 MB / 0.7897 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0006747/0.3131, allocations: 449 kB / 0.7902 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.44e-05/0.3131, allocations: 3.938 kB / 0.7902 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.166e-05/0.3131, allocations: 3.938 kB / 0.7902 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.171e-05/0.3132, allocations: 15.91 kB / 0.7902 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001644/0.3134, allocations: 11.92 kB / 0.7902 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.916e-05/0.3135, allocations: 47.8 kB / 0.7903 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.3136, allocations: 8 kB / 0.7903 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.3137, allocations: 27.91 kB / 0.7903 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.012e-05/0.3138, allocations: 27.84 kB / 0.7903 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.11e-05/0.3139, allocations: 0 / 0.7903 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.153e-05/0.3139, allocations: 0 / 0.7903 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.751e-05/0.3139, allocations: 8 kB / 0.7903 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.663e-05/0.3139, allocations: 45.56 kB / 0.7904 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.065e-05/0.314, allocations: 28.16 kB / 0.7904 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.314, allocations: 0 / 0.7904 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.503e-06/0.314, allocations: 0 / 0.7904 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.314, allocations: 0 / 0.7904 GB, free: 9.637 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.0005109/0.3146, allocations: 363.3 kB / 0.7907 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.3146, allocations: 8.031 kB / 0.7907 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.36e-05/0.3147, allocations: 4.938 kB / 0.7907 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.3148, allocations: 180.2 kB / 0.7909 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.3148, allocations: 384 / 0.7909 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.571e-05/0.3148, allocations: 4.375 kB / 0.7909 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.315, allocations: 65.98 kB / 0.791 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.315, allocations: 0 / 0.791 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.3151, allocations: 0 / 0.791 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.3151, allocations: 0 / 0.791 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001387/0.3152, allocations: 47.91 kB / 0.791 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000409/0.3156, allocations: 280.8 kB / 0.7913 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.3158, allocations: 42.56 kB / 0.7913 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.986e-05/0.3159, allocations: 28.94 kB / 0.7914 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.3159, allocations: 4 kB / 0.7914 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.3159, allocations: 42.55 kB / 0.7914 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.3159, allocations: 0 / 0.7914 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0003339/0.3163, allocations: 101.6 kB / 0.7915 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/0.3163, allocations: 55.39 kB / 0.7916 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.3164, allocations: 117.8 kB / 0.7917 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.3164, allocations: 29.7 kB / 0.7917 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.505e-05/0.3165, allocations: 88.05 kB / 0.7918 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.314e-05/0.3165, allocations: 11.89 kB / 0.7918 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.339e-05/0.3166, allocations: 13.72 kB / 0.7918 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.3167, allocations: 318.8 kB / 0.7921 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.116e-05/0.3168, allocations: 19.98 kB / 0.7921 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.715e-05/0.3169, allocations: 23.98 kB / 0.7922 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.317, allocations: 52.83 kB / 0.7922 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.317, allocations: 0 / 0.7922 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001735/0.3172, allocations: 81.55 kB / 0.7923 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.3172, allocations: 8 kB / 0.7923 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.3172, allocations: 3.984 kB / 0.7923 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.3172, allocations: 0 / 0.7923 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.3174, allocations: 12 kB / 0.7923 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.3174, allocations: 0 / 0.7923 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.364e-05/0.3174, allocations: 11.89 kB / 0.7923 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.3174, allocations: 4 kB / 0.7923 GB, free: 7.43 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.581e-05/0.3175, allocations: 114.4 kB / 0.7924 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.45e-05/0.3176, allocations: 4 kB / 0.7924 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.644e-05/0.3176, allocations: 3.906 kB / 0.7924 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.3176, allocations: 4 kB / 0.7924 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.3176, allocations: 3.984 kB / 0.7924 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.3176, allocations: 4 kB / 0.7925 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001758/0.3178, allocations: 181.5 kB / 0.7926 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3178, allocations: 0 / 0.7926 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.709e-05/0.3179, allocations: 11.98 kB / 0.7926 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/0.3179, allocations: 0 / 0.7926 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.3179, allocations: 0 / 0.7926 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.3179, allocations: 4 kB / 0.7926 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3179, allocations: 3.938 kB / 0.7926 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002399/0.3182, allocations: 179.4 kB / 0.7928 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.036e-05/0.3182, allocations: 81.11 kB / 0.7929 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.3182, allocations: 0 / 0.7929 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.995e-05/0.3183, allocations: 8 kB / 0.7929 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.916e-05/0.3184, allocations: 3.984 kB / 0.7929 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.3184, allocations: 8 kB / 0.7929 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.52e-05/0.3184, allocations: 91.27 kB / 0.793 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3185, allocations: 0 / 0.793 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002103/0.3187, allocations: 11.91 kB / 0.793 GB, free: 6.625 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.0001188/0.3188, allocations: 95.25 kB / 0.7931 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001957/0.319, allocations: 56.28 kB / 0.7932 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.319, allocations: 0 / 0.7932 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.11e-05/0.3191, allocations: 27.97 kB / 0.7932 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.3193, allocations: 6.375 kB / 0.7932 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003824/0.3197, allocations: 223.1 kB / 0.7934 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002657/0.32, allocations: 0.6809 MB / 0.7941 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.629e-05/0.32, allocations: 15.38 kB / 0.7941 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of SimCode: time 5.51e-07/0.32, allocations: 0 / 0.7941 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of Templates: time 0.001941/0.322, allocations: 0.6945 MB / 0.7948 GB, free: 4.773 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