Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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.KMinusU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|kMinU.u|kMinU.y",fileNamePrefix="Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|kMinU.u|kMinU.y",fileNamePrefix="Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008281/0.0008279, allocations: 101.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.001022/0.001022, allocations: 181.4 kB / 16.59 MB, free: 6.879 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.548/1.548, allocations: 223.2 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.767/2.767, allocations: 390.4 MB / 0.6662 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003466/0.0003466, allocations: 8 kB / 0.8154 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9998/1, allocations: 142.3 MB / 0.9544 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.001523/1.002, allocations: 1.133 MB / 0.9555 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005593/1.002, allocations: 372 kB / 0.9559 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.263e-05/1.002, allocations: 1.188 kB / 0.9559 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.708e-05/1.002, allocations: 3.938 kB / 0.9559 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.991e-05/1.002, allocations: 1.5 kB / 0.9559 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001489/1.003, allocations: 13.41 kB / 0.9559 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.498e-05/1.003, allocations: 23.56 kB / 0.9559 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.392e-05/1.003, allocations: 11.33 kB / 0.9559 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.736e-05/1.003, allocations: 5.656 kB / 0.9559 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.044e-05/1.003, allocations: 14.73 kB / 0.9559 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/1.003, allocations: 1.438 kB / 0.9559 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.658e-06/1.003, allocations: 0 / 0.9559 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.198e-05/1.003, allocations: 1.188 kB / 0.9559 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.309e-05/1.003, allocations: 30.7 kB / 0.956 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.821e-05/1.003, allocations: 16.73 kB / 0.956 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/1.003, allocations: 0 / 0.956 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.214e-06/1.003, allocations: 0 / 0.956 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.218e-06/1.003, allocations: 0 / 0.956 GB, free: 6.82 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000375/1.003, allocations: 337.2 kB / 0.9563 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/1.003, allocations: 9.25 kB / 0.9563 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.974e-05/1.004, allocations: 6.141 kB / 0.9563 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.718e-05/1.004, allocations: 172 kB / 0.9565 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/1.004, allocations: 5.125 kB / 0.9565 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/1.004, allocations: 1.25 kB / 0.9565 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/1.004, allocations: 47.47 kB / 0.9565 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.343e-06/1.004, allocations: 0 / 0.9565 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/1.004, allocations: 3.984 kB / 0.9566 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/1.004, allocations: 1.219 kB / 0.9566 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.449e-05/1.004, allocations: 29.38 kB / 0.9566 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002932/1.004, allocations: 243.1 kB / 0.9568 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.809e-05/1.004, allocations: 37.56 kB / 0.9568 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.114e-05/1.004, allocations: 22.06 kB / 0.9569 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.532e-05/1.004, allocations: 1.156 kB / 0.9569 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.547e-05/1.004, allocations: 31.91 kB / 0.9569 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.793e-06/1.004, allocations: 0 / 0.9569 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002244/1.005, allocations: 73.89 kB / 0.957 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.852e-05/1.005, allocations: 56.55 kB / 0.957 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.614e-05/1.005, allocations: 105.2 kB / 0.9571 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.566e-06/1.005, allocations: 29.64 kB / 0.9572 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.729e-05/1.005, allocations: 82.55 kB / 0.9572 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.697e-05/1.005, allocations: 12.02 kB / 0.9572 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-06/1.005, allocations: 5.562 kB / 0.9572 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.313e-05/1.005, allocations: 310.8 kB / 0.9575 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.85e-05/1.005, allocations: 6.906 kB / 0.9576 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.293e-05/1.005, allocations: 15.89 kB / 0.9576 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.063e-05/1.005, allocations: 6.969 kB / 0.9576 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/1.005, allocations: 5.562 kB / 0.9576 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001094/1.005, allocations: 64.42 kB / 0.9576 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/1.005, allocations: 5.469 kB / 0.9576 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/1.005, allocations: 1.375 kB / 0.9576 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/1.005, allocations: 0 / 0.9576 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.053e-05/1.005, allocations: 9.516 kB / 0.9577 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/1.005, allocations: 0 / 0.9577 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.579e-05/1.005, allocations: 11.08 kB / 0.9577 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/1.005, allocations: 0.9375 kB / 0.9577 GB, free: 5.066 MB / 0.7169 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 (2): * Single equations (assignments): 2 * 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 6.627e-05/1.005, allocations: 110.8 kB / 0.9578 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.297e-05/1.005, allocations: 2.906 kB / 0.9578 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.492e-05/1.005, allocations: 3.531 kB / 0.9578 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/1.006, allocations: 5.344 kB / 0.9578 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/1.006, allocations: 3.953 kB / 0.9578 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.237e-06/1.006, allocations: 0 / 0.9578 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/1.006, allocations: 163 kB / 0.9579 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/1.006, allocations: 0 / 0.9579 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.244e-05/1.006, allocations: 10.19 kB / 0.958 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/1.006, allocations: 0 / 0.958 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.298e-06/1.006, allocations: 0 / 0.958 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/1.006, allocations: 5.344 kB / 0.958 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/1.006, allocations: 3.984 kB / 0.958 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001703/1.006, allocations: 155.8 kB / 0.9581 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.141e-05/1.006, allocations: 82.33 kB / 0.9582 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/1.006, allocations: 0 / 0.9582 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.537e-05/1.006, allocations: 2.844 kB / 0.9582 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.155e-05/1.006, allocations: 9.453 kB / 0.9582 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/1.006, allocations: 0 / 0.9582 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.666e-05/1.006, allocations: 80.09 kB / 0.9583 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/1.006, allocations: 0 / 0.9583 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000203/1.006, allocations: 7.484 kB / 0.9583 GB, free: 4.387 MB / 0.7169 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 (2): * Single equations (assignments): 2 * 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.0001092/1.006, allocations: 101.1 kB / 0.9584 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001204/1.007, allocations: 29.39 kB / 0.9584 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/1.007, allocations: 0 / 0.9584 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.265e-05/1.007, allocations: 20.27 kB / 0.9584 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002073/1.007, allocations: 6.594 kB / 0.9584 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002599/1.007, allocations: 153.5 kB / 0.9586 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001149/1.007, allocations: 0.6778 MB / 0.9592 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.413e-05/1.007, allocations: 12.84 kB / 0.9593 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/1.007, allocations: 0 / 0.9593 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of Templates: time 0.001886/1.009, allocations: 0.5101 MB / 0.9598 GB, free: 3.145 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile make -j1 -f Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.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_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusUCalcHelperMain.o OMCppBuildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusUCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusUCalcHelperMain.o] Error 1