Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.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.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009094/0.0009093, 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.00103/0.00103, 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.965/1.965, allocations: 205.4 MB / 222.8 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 1.887/1.887, 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.0005619/0.000562, allocations: 20.56 kB / 0.6744 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2894/0.29, allocations: 116.3 MB / 0.7879 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.002503/0.2925, allocations: 1.445 MB / 0.7893 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00144/0.294, allocations: 0.8164 MB / 0.7901 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.648e-05/0.2941, allocations: 4 kB / 0.7901 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005373/0.2947, allocations: 160.3 kB / 0.7903 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003406/0.295, allocations: 134.1 kB / 0.7904 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004123/0.2954, allocations: 151 kB / 0.7906 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003199/0.2958, allocations: 203.5 kB / 0.7908 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.2959, allocations: 37.83 kB / 0.7908 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001473/0.2961, allocations: 75.69 kB / 0.7909 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002098/0.2963, allocations: 139.5 kB / 0.791 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.767e-05/0.2963, allocations: 11.94 kB / 0.791 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.104e-05/0.2964, allocations: 27.98 kB / 0.791 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.2965, allocations: 75.73 kB / 0.7911 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.365e-05/0.2966, allocations: 61.58 kB / 0.7912 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003739/0.297, allocations: 287.5 kB / 0.7914 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.297, allocations: 0 / 0.7914 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.744e-06/0.297, allocations: 0 / 0.7914 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.297, allocations: 0 / 0.7914 GB, free: 8.324 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007591/0.2978, allocations: 0.5602 MB / 0.792 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.2978, allocations: 8.031 kB / 0.792 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.358e-05/0.2979, allocations: 39.58 kB / 0.792 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000558/0.2985, allocations: 401.3 kB / 0.7924 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-06/0.2985, allocations: 0 / 0.7924 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.572e-05/0.2985, allocations: 7.984 kB / 0.7924 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/0.2987, allocations: 77.61 kB / 0.7925 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.2987, allocations: 0 / 0.7925 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/0.2987, allocations: 4 kB / 0.7925 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.2988, allocations: 4 kB / 0.7925 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.2989, allocations: 51.97 kB / 0.7926 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006691/0.2996, allocations: 480.5 kB / 0.793 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001315/0.2997, allocations: 50.56 kB / 0.7931 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.132e-05/0.2998, allocations: 28.86 kB / 0.7931 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.966e-05/0.2998, allocations: 0 / 0.7931 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.2998, allocations: 34.56 kB / 0.7931 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.2999, allocations: 0 / 0.7931 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0002999/0.3002, allocations: 113.2 kB / 0.7932 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.3002, allocations: 51.41 kB / 0.7933 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006818/0.3009, allocations: 0.5563 MB / 0.7938 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.3009, allocations: 29.64 kB / 0.7939 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.3011, allocations: 172 kB / 0.794 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.484e-05/0.3011, allocations: 19.73 kB / 0.794 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.436e-06/0.3011, allocations: 0 / 0.794 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.3013, allocations: 342.8 kB / 0.7944 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.084e-05/0.3013, allocations: 19.98 kB / 0.7944 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.704e-05/0.3014, allocations: 11.98 kB / 0.7944 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.839e-05/0.3014, allocations: 16 kB / 0.7944 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3014, allocations: 0 / 0.7944 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001857/0.3016, allocations: 97.19 kB / 0.7945 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.3017, allocations: 12 kB / 0.7945 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.3017, allocations: 0 / 0.7945 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.3017, allocations: 0 / 0.7945 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.943e-05/0.3018, allocations: 11.98 kB / 0.7945 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.3018, allocations: 3.938 kB / 0.7945 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.857e-05/0.3019, allocations: 4 kB / 0.7945 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.3019, allocations: 0 / 0.7945 GB, free: 4.938 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.000241/0.3021, allocations: 177.8 kB / 0.7947 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.342e-05/0.3022, allocations: 39.56 kB / 0.7947 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002212/0.3024, allocations: 108.1 kB / 0.7948 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.3024, allocations: 4 kB / 0.7948 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.3024, allocations: 0 / 0.7948 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.3024, allocations: 0 / 0.7948 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000317/0.3028, allocations: 281.5 kB / 0.7951 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3028, allocations: 384 / 0.7951 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.074e-05/0.3028, allocations: 12 kB / 0.7951 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.3028, allocations: 4 kB / 0.7951 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.3028, allocations: 3.953 kB / 0.7951 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3029, allocations: 0 / 0.7951 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.3029, allocations: 4 kB / 0.7951 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002306/0.3031, allocations: 187.1 kB / 0.7953 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.3032, allocations: 124.6 kB / 0.7954 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.003e-05/0.3033, allocations: 8 kB / 0.7954 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.184e-05/0.3033, allocations: 3.953 kB / 0.7954 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.826e-05/0.3034, allocations: 11.98 kB / 0.7955 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.3034, allocations: 0 / 0.7955 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004453/0.3038, allocations: 423 kB / 0.7959 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3039, allocations: 0 / 0.7959 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002631/0.3041, allocations: 24 kB / 0.7959 GB, free: 3.449 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.0008415/0.305, allocations: 347.2 kB / 0.7962 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001651/0.3052, allocations: 39.97 kB / 0.7963 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3052, allocations: 0 / 0.7963 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.557e-05/0.3052, allocations: 27.92 kB / 0.7963 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000413/0.3057, allocations: 34.86 kB / 0.7963 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008632/0.3065, allocations: 0.6035 MB / 0.7969 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004707/0.307, allocations: 0.7794 MB / 0.7977 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.404e-05/0.3071, allocations: 27.42 kB / 0.7977 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.3071, allocations: 7.875 kB / 0.7977 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of Templates: time 0.006002/0.3131, allocations: 3.505 MB / 0.8011 GB, free: 14.16 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.makefile make -j1 -f Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.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.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwoCalcHelperMain.o OMCppBuildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwoCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwoCalcHelperMain.o] Error 1