Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.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.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009617/0.0009618, allocations: 100.5 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.0009616/0.0009614, allocations: 174.9 kB / 16.58 MB, free: 6.422 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.87/1.87, allocations: 205.4 MB / 222.7 MB, free: 5.656 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 2.039/2.039, allocations: 292.7 MB / 0.5505 GB, free: 14.54 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.0005936/0.0005936, allocations: 12.75 kB / 0.6743 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.283, allocations: 116.3 MB / 0.7879 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002112/0.2852, allocations: 1.508 MB / 0.7894 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000289/0.2855, allocations: 111.6 kB / 0.7895 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.2856, allocations: 0 / 0.7895 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001342/0.2858, allocations: 11.86 kB / 0.7895 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001168/0.2859, allocations: 51.61 kB / 0.7896 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001278/0.286, allocations: 19.97 kB / 0.7896 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002122/0.2863, allocations: 155.1 kB / 0.7897 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001536/0.2864, allocations: 21.09 kB / 0.7897 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.2866, allocations: 59.83 kB / 0.7898 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.2867, allocations: 55.77 kB / 0.7899 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.693e-05/0.2867, allocations: 4 kB / 0.7899 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.551e-05/0.2867, allocations: 4 kB / 0.7899 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.98e-05/0.2868, allocations: 19.91 kB / 0.7899 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.271e-05/0.2869, allocations: 49.64 kB / 0.7899 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001448/0.287, allocations: 80.08 kB / 0.79 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.287, allocations: 0 / 0.79 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.084e-06/0.287, allocations: 0 / 0.79 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.842e-06/0.287, allocations: 0 / 0.79 GB, free: 9.805 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009341/0.288, allocations: 446.7 kB / 0.7904 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.288, allocations: 8.031 kB / 0.7904 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.257e-05/0.2881, allocations: 15.91 kB / 0.7904 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002978/0.2884, allocations: 208 kB / 0.7906 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.2884, allocations: 8 kB / 0.7907 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.2885, allocations: 4 kB / 0.7907 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003399/0.2888, allocations: 126.6 kB / 0.7908 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.2888, allocations: 4 kB / 0.7908 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.917e-05/0.2889, allocations: 4 kB / 0.7908 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.2889, allocations: 0 / 0.7908 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002981/0.2892, allocations: 107.9 kB / 0.7909 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008497/0.29, allocations: 480.8 kB / 0.7913 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004103/0.2905, allocations: 133.2 kB / 0.7915 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001765/0.2907, allocations: 65.78 kB / 0.7915 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.638e-05/0.2907, allocations: 15.88 kB / 0.7916 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/0.2908, allocations: 42.5 kB / 0.7916 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.2908, allocations: 0 / 0.7916 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0006333/0.2914, allocations: 201.4 kB / 0.7918 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.571e-05/0.2915, allocations: 85.05 kB / 0.7919 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/0.2917, allocations: 167.4 kB / 0.792 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.2917, allocations: 25.7 kB / 0.7921 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.56e-05/0.2918, allocations: 116.2 kB / 0.7922 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.177e-05/0.2919, allocations: 31.62 kB / 0.7922 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.574e-06/0.2919, allocations: 0 / 0.7922 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000176/0.2921, allocations: 322.8 kB / 0.7925 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001407/0.2922, allocations: 47.97 kB / 0.7925 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/0.2924, allocations: 69.69 kB / 0.7926 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/0.2925, allocations: 47.97 kB / 0.7927 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.2925, allocations: 0 / 0.7927 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003403/0.2929, allocations: 161.4 kB / 0.7928 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.2929, allocations: 8 kB / 0.7928 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.2929, allocations: 0 / 0.7928 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.2929, allocations: 4 kB / 0.7928 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001566/0.2931, allocations: 31.92 kB / 0.7929 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.2931, allocations: 7.953 kB / 0.7929 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/0.2932, allocations: 15.89 kB / 0.7929 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.2933, allocations: 4 kB / 0.7929 GB, free: 6.602 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 10 * 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.0001212/0.2934, allocations: 117.8 kB / 0.793 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.217e-05/0.2935, allocations: 15.91 kB / 0.793 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004525/0.2939, allocations: 174.5 kB / 0.7932 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.2939, allocations: 240 / 0.7932 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.2939, allocations: 0 / 0.7932 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.294, allocations: 7.938 kB / 0.7932 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003011/0.2943, allocations: 225.4 kB / 0.7934 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.2943, allocations: 448 / 0.7934 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001367/0.2944, allocations: 27.97 kB / 0.7934 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.2944, allocations: 0 / 0.7934 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/0.2945, allocations: 8 kB / 0.7934 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.2945, allocations: 4 kB / 0.7934 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.819e-05/0.2945, allocations: 3.938 kB / 0.7934 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004113/0.2949, allocations: 330.8 kB / 0.7938 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.888e-05/0.295, allocations: 88.92 kB / 0.7938 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.889e-05/0.295, allocations: 7.922 kB / 0.7938 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.2952, allocations: 12 kB / 0.7939 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.581e-05/0.2952, allocations: 7.984 kB / 0.7939 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.2953, allocations: 4 kB / 0.7939 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.341e-05/0.2954, allocations: 136.2 kB / 0.794 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2954, allocations: 0 / 0.794 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002821/0.2956, allocations: 24 kB / 0.794 GB, free: 5.332 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 9 * 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.0001279/0.2958, allocations: 107.2 kB / 0.7941 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000338/0.2961, allocations: 111.9 kB / 0.7942 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.2961, allocations: 0 / 0.7942 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001528/0.2963, allocations: 63.91 kB / 0.7943 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005105/0.2968, allocations: 47.91 kB / 0.7943 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005142/0.2973, allocations: 282.1 kB / 0.7946 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.2976, allocations: 0.7048 MB / 0.7953 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.186e-05/0.2977, allocations: 15.44 kB / 0.7953 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of SimCode: time 3.21e-07/0.2977, allocations: 96 / 0.7953 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of Templates: time 0.003719/0.3015, allocations: 1.74 MB / 0.797 GB, free: 2.219 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile make -j1 -f Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.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.Controls.SetPoints.Examples.SupplyReturnTemperatureResetCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureResetCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureResetCalcHelperMain.o] Error 1