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.0009849/0.0009851, allocations: 92.08 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.001527/0.001527, allocations: 176 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.861/1.861, allocations: 205.4 MB / 223.1 MB, free: 5.551 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.963/1.963, allocations: 292.7 MB / 0.5509 GB, free: 14.47 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.000579/0.000579, allocations: 16.14 kB / 0.675 GB, free: 25.8 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3111, allocations: 116.3 MB / 0.7885 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.002468/0.3136, allocations: 1.48 MB / 0.79 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00144/0.3151, allocations: 0.8356 MB / 0.7908 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.826e-05/0.3152, allocations: 4 kB / 0.7908 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005367/0.3157, allocations: 174.8 kB / 0.791 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003453/0.3161, allocations: 147.6 kB / 0.7911 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000404/0.3165, allocations: 167.8 kB / 0.7913 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002815/0.3168, allocations: 219.4 kB / 0.7915 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001517/0.3169, allocations: 53.92 kB / 0.7915 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001402/0.3171, allocations: 83.61 kB / 0.7916 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001997/0.3173, allocations: 131.6 kB / 0.7917 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.739e-05/0.3173, allocations: 4 kB / 0.7917 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.404e-05/0.3174, allocations: 39.92 kB / 0.7918 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001/0.3175, allocations: 71.75 kB / 0.7919 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001152/0.3177, allocations: 124.9 kB / 0.792 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003133/0.318, allocations: 291.3 kB / 0.7923 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.318, allocations: 4 kB / 0.7923 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.435e-06/0.318, allocations: 0 / 0.7923 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.318, allocations: 0 / 0.7923 GB, free: 7.754 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.0008123/0.3188, allocations: 0.5603 MB / 0.7928 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/0.3189, allocations: 8.031 kB / 0.7928 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.017e-05/0.319, allocations: 32.56 kB / 0.7928 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005875/0.3196, allocations: 410.2 kB / 0.7932 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.3196, allocations: 384 / 0.7932 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.474e-05/0.3196, allocations: 12.12 kB / 0.7932 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.3198, allocations: 81.66 kB / 0.7933 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.3198, allocations: 0 / 0.7933 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.3198, allocations: 4 kB / 0.7933 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.3198, allocations: 3.984 kB / 0.7933 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001303/0.32, allocations: 47.97 kB / 0.7934 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000619/0.3206, allocations: 492.5 kB / 0.7938 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.3207, allocations: 50.5 kB / 0.7939 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.174e-05/0.3208, allocations: 21.02 kB / 0.7939 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/0.3208, allocations: 7.938 kB / 0.7939 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.3209, allocations: 34.56 kB / 0.794 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.3209, allocations: 0 / 0.794 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0003194/0.3212, allocations: 109.2 kB / 0.7941 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.3213, allocations: 51.41 kB / 0.7941 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006611/0.3219, allocations: 0.5523 MB / 0.7946 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.636e-05/0.322, allocations: 29.7 kB / 0.7947 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/0.3221, allocations: 176 kB / 0.7948 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.203e-05/0.3221, allocations: 11.78 kB / 0.7949 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.465e-05/0.3222, allocations: 9.719 kB / 0.7949 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001784/0.3224, allocations: 346.8 kB / 0.7952 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.952e-05/0.3224, allocations: 12 kB / 0.7952 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.593e-05/0.3225, allocations: 19.98 kB / 0.7952 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.077e-05/0.3226, allocations: 40.84 kB / 0.7953 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3226, allocations: 0 / 0.7953 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001716/0.3228, allocations: 89.3 kB / 0.7953 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.3228, allocations: 10.97 kB / 0.7954 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.3228, allocations: 0 / 0.7954 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.3228, allocations: 3.938 kB / 0.7954 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.982e-05/0.3229, allocations: 19.92 kB / 0.7954 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.3229, allocations: 0 / 0.7954 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.225e-05/0.323, allocations: 7.938 kB / 0.7954 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.323, allocations: 0 / 0.7954 GB, free: 4.316 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 0.0002055/0.3232, allocations: 173.8 kB / 0.7956 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.869e-05/0.3233, allocations: 31.62 kB / 0.7956 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002284/0.3235, allocations: 112.5 kB / 0.7957 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.3235, allocations: 3.984 kB / 0.7957 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/0.3235, allocations: 3.984 kB / 0.7957 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.3235, allocations: 0 / 0.7957 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002659/0.3238, allocations: 289.4 kB / 0.796 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.3238, allocations: 0 / 0.796 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.585e-05/0.3239, allocations: 8 kB / 0.796 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3239, allocations: 3.938 kB / 0.796 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.3239, allocations: 0 / 0.796 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.3239, allocations: 3.938 kB / 0.796 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.093e-06/0.3239, allocations: 8 kB / 0.796 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000193/0.3241, allocations: 187.1 kB / 0.7962 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.828e-05/0.3242, allocations: 120.8 kB / 0.7963 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.832e-05/0.3242, allocations: 4 kB / 0.7963 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.642e-05/0.3243, allocations: 3.938 kB / 0.7963 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.52e-05/0.3244, allocations: 8 kB / 0.7963 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/0.3244, allocations: 0 / 0.7963 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004298/0.3248, allocations: 423.1 kB / 0.7967 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3248, allocations: 0 / 0.7967 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002597/0.3251, allocations: 23.91 kB / 0.7967 GB, free: 2.836 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.0008441/0.3259, allocations: 357.9 kB / 0.7971 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001522/0.3261, allocations: 35.92 kB / 0.7971 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.3261, allocations: 0 / 0.7971 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.526e-05/0.3262, allocations: 19.98 kB / 0.7971 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004232/0.3266, allocations: 50.81 kB / 0.7972 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008876/0.3275, allocations: 0.6228 MB / 0.7978 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004325/0.3279, allocations: 0.7872 MB / 0.7986 GB, free: 1.039 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.024e-05/0.328, allocations: 19.44 kB / 0.7986 GB, free: 1.02 MB / 0.6075 GB Notification: Performance of SimCode: time 3.5e-07/0.328, allocations: 3.938 kB / 0.7986 GB, free: 1.016 MB / 0.6075 GB Notification: Performance of Templates: time 0.006143/0.3342, allocations: 3.496 MB / 0.802 GB, free: 13.54 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++ -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.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