Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="mat",numberOfIntervals=5000,variableFilter="time|linPieTwo.u|linPieTwo.y.1.|linPieTwo.y.2.",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|linPieTwo.u|linPieTwo.y.1.|linPieTwo.y.2.",fileNamePrefix="Buildings_latest_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.0008596/0.0008597, 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.0009064/0.0009065, allocations: 175.3 kB / 16.58 MB, free: 6.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 223.2 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.036/3.036, allocations: 436.7 MB / 0.7113 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000405/0.000405, allocations: 8.219 kB / 0.8717 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8754/0.8758, allocations: 153.7 MB / 1.022 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.002484/0.8784, allocations: 1.453 MB / 1.023 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001532/0.8799, allocations: 0.8622 MB / 1.024 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.096e-05/0.88, allocations: 4 kB / 1.024 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004975/0.8806, allocations: 146.2 kB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003645/0.8809, allocations: 141.2 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004497/0.8814, allocations: 180.9 kB / 1.024 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000263/0.8817, allocations: 203.5 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001404/0.8818, allocations: 41.84 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.8819, allocations: 75.67 kB / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002155/0.8822, allocations: 131.6 kB / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.673e-05/0.8822, allocations: 4 kB / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.214e-05/0.8823, allocations: 39.92 kB / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.473e-05/0.8824, allocations: 63.81 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.376e-05/0.8825, allocations: 65.52 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003408/0.8828, allocations: 297.2 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.807e-06/0.8828, allocations: 4 kB / 1.025 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.164e-06/0.8828, allocations: 0 / 1.025 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.8828, allocations: 0 / 1.025 GB, free: 13.4 MB / 0.7794 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.0009066/0.8838, allocations: 0.5564 MB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.8838, allocations: 11.98 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.643e-05/0.8839, allocations: 31.56 kB / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006481/0.8846, allocations: 397.3 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.8846, allocations: 7.938 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.653e-05/0.8846, allocations: 8 kB / 1.026 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002276/0.8849, allocations: 81.61 kB / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.8849, allocations: 0 / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.8849, allocations: 0 / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.8849, allocations: 4 kB / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001282/0.885, allocations: 51.91 kB / 1.026 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005976/0.8857, allocations: 488.4 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001333/0.8858, allocations: 50.5 kB / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.591e-05/0.8859, allocations: 24.91 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.8859, allocations: 4 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.8859, allocations: 30.56 kB / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.8859, allocations: 0 / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0003041/0.8862, allocations: 105.4 kB / 1.027 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001325/0.8864, allocations: 59.34 kB / 1.027 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007528/0.8871, allocations: 0.5562 MB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.8872, allocations: 25.7 kB / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002148/0.8874, allocations: 172 kB / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.088e-05/0.8874, allocations: 11.89 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.928e-06/0.8874, allocations: 0 / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002076/0.8876, allocations: 342.9 kB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/0.8878, allocations: 27.92 kB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.621e-05/0.8878, allocations: 12 kB / 1.028 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.098e-05/0.8879, allocations: 15.98 kB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.8879, allocations: 3.938 kB / 1.028 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001563/0.888, allocations: 89.3 kB / 1.028 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.8881, allocations: 4 kB / 1.028 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.8881, allocations: 8 kB / 1.028 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.8881, allocations: 0 / 1.028 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.259e-05/0.8882, allocations: 11.94 kB / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.8882, allocations: 7.984 kB / 1.028 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.541e-05/0.8882, allocations: 0 / 1.028 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.8883, allocations: 4 kB / 1.028 GB, free: 10.02 MB / 0.7794 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.0002077/0.8885, allocations: 177.8 kB / 1.029 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.95e-05/0.8885, allocations: 27.62 kB / 1.029 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002218/0.8888, allocations: 108.2 kB / 1.029 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.177e-06/0.8888, allocations: 4 kB / 1.029 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.8888, allocations: 4 kB / 1.029 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.8888, allocations: 0 / 1.029 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002858/0.8891, allocations: 285.5 kB / 1.029 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.8891, allocations: 0 / 1.029 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.24e-05/0.8891, allocations: 15.92 kB / 1.029 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.8892, allocations: 0 / 1.029 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.8892, allocations: 4 kB / 1.029 GB, free: 9.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.8892, allocations: 0 / 1.029 GB, free: 9.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.8892, allocations: 0 / 1.029 GB, free: 9.34 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001914/0.8894, allocations: 187.1 kB / 1.029 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001494/0.8895, allocations: 128.7 kB / 1.029 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.025e-05/0.8896, allocations: 3.984 kB / 1.029 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.257e-05/0.8897, allocations: 8 kB / 1.029 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.975e-05/0.8897, allocations: 0 / 1.029 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.8897, allocations: 4 kB / 1.029 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0004588/0.8902, allocations: 415.1 kB / 1.03 GB, free: 8.578 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8902, allocations: 0 / 1.03 GB, free: 8.578 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003589/0.8905, allocations: 27.91 kB / 1.03 GB, free: 8.551 MB / 0.7794 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.0008916/0.8914, allocations: 354.3 kB / 1.03 GB, free: 8.328 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001515/0.8916, allocations: 43.91 kB / 1.03 GB, free: 8.285 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.8916, allocations: 0 / 1.03 GB, free: 8.285 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.064e-05/0.8917, allocations: 20 kB / 1.03 GB, free: 8.266 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003959/0.8921, allocations: 41.48 kB / 1.03 GB, free: 8.227 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008279/0.8929, allocations: 0.5916 MB / 1.031 GB, free: 7.598 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004957/0.8934, allocations: 0.7872 MB / 1.032 GB, free: 6.785 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.953e-05/0.8935, allocations: 31.36 kB / 1.032 GB, free: 6.754 MB / 0.7794 GB Notification: Performance of SimCode: time 6.31e-07/0.8935, allocations: 0 / 1.032 GB, free: 6.754 MB / 0.7794 GB Notification: Performance of Templates: time 0.005915/0.8994, allocations: 3.508 MB / 1.035 GB, free: 3.254 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.makefile make -j1 -f Buildings_latest_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_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwoCalcHelperMain.o OMCppBuildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwoCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwoCalcHelperMain.o] Error 1