Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.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.Controls.OBC.CDL.Continuous.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007977/0.0007977, allocations: 99.44 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.0009881/0.0009883, allocations: 177.9 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.448/1.448, allocations: 223.2 MB / 240.6 MB, free: 5.434 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.526/2.526, allocations: 390.5 MB / 0.6662 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005259/0.0005261, allocations: 8 kB / 0.8154 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8385/0.8391, allocations: 142.3 MB / 0.9544 GB, free: 8.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Max): time 0.0009262/0.8401, allocations: 426.1 kB / 0.9548 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009919/0.8411, allocations: 0.8005 MB / 0.9556 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.668e-05/0.8412, allocations: 4.875 kB / 0.9556 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.163e-05/0.8412, allocations: 3.938 kB / 0.9556 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.344e-05/0.8413, allocations: 4.953 kB / 0.9556 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001103/0.8414, allocations: 6.125 kB / 0.9556 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.833e-05/0.8415, allocations: 41.5 kB / 0.9557 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.227e-05/0.8416, allocations: 4.562 kB / 0.9557 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.885e-05/0.8417, allocations: 17.23 kB / 0.9557 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.86e-05/0.8417, allocations: 21.23 kB / 0.9557 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.8418, allocations: 6.719 kB / 0.9557 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.2e-05/0.8418, allocations: 1.531 kB / 0.9557 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.626e-05/0.8418, allocations: 13.12 kB / 0.9557 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.704e-05/0.8418, allocations: 32.36 kB / 0.9558 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.961e-05/0.8419, allocations: 25.19 kB / 0.9558 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.8419, allocations: 3.938 kB / 0.9558 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.964e-06/0.8419, allocations: 0 / 0.9558 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.8419, allocations: 1 kB / 0.9558 GB, free: 7.059 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005661/0.8425, allocations: 367.9 kB / 0.9561 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/0.8426, allocations: 8.469 kB / 0.9562 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.32e-05/0.8426, allocations: 10.2 kB / 0.9562 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.8428, allocations: 169.6 kB / 0.9563 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.8428, allocations: 1.281 kB / 0.9563 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.463e-05/0.8428, allocations: 2.781 kB / 0.9563 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002965/0.8431, allocations: 79.47 kB / 0.9564 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.8431, allocations: 0 / 0.9564 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.8431, allocations: 0.9375 kB / 0.9564 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.8431, allocations: 1.312 kB / 0.9564 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002855/0.8434, allocations: 94.28 kB / 0.9565 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000445/0.8439, allocations: 267.2 kB / 0.9568 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002472/0.8442, allocations: 66.28 kB / 0.9568 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00017/0.8443, allocations: 48.73 kB / 0.9569 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.21e-05/0.8444, allocations: 1.281 kB / 0.9569 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/0.8444, allocations: 34.5 kB / 0.9569 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.914e-06/0.8444, allocations: 1.594 kB / 0.9569 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0006313/0.8451, allocations: 170.9 kB / 0.9571 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.861e-05/0.8451, allocations: 51.41 kB / 0.9571 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.566e-05/0.8452, allocations: 107.8 kB / 0.9572 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.328e-06/0.8452, allocations: 25.7 kB / 0.9572 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.746e-05/0.8452, allocations: 85.61 kB / 0.9573 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.216e-05/0.8453, allocations: 25.11 kB / 0.9573 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-06/0.8453, allocations: 1.469 kB / 0.9573 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.326e-05/0.8453, allocations: 310.8 kB / 0.9576 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.8455, allocations: 39.56 kB / 0.9577 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/0.8456, allocations: 46.77 kB / 0.9577 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.8458, allocations: 46.97 kB / 0.9578 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.8458, allocations: 4 kB / 0.9578 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003264/0.8461, allocations: 118 kB / 0.9579 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/0.8462, allocations: 9.859 kB / 0.9579 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.8462, allocations: 5.281 kB / 0.9579 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.8462, allocations: 3.953 kB / 0.9579 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.8463, allocations: 18.89 kB / 0.9579 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.8464, allocations: 1.125 kB / 0.9579 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.683e-05/0.8465, allocations: 19.39 kB / 0.9579 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.8465, allocations: 1.312 kB / 0.9579 GB, free: 5.121 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 (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 9.21e-05/0.8466, allocations: 112.1 kB / 0.9581 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.321e-05/0.8466, allocations: 10.08 kB / 0.9581 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003931/0.847, allocations: 138.7 kB / 0.9582 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.847, allocations: 1.094 kB / 0.9582 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.847, allocations: 4.984 kB / 0.9582 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.847, allocations: 0 / 0.9582 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000145/0.8472, allocations: 172.8 kB / 0.9584 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.8472, allocations: 1.094 kB / 0.9584 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.459e-05/0.8473, allocations: 19.45 kB / 0.9584 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.8473, allocations: 0 / 0.9584 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-06/0.8473, allocations: 5.047 kB / 0.9584 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.8473, allocations: 0 / 0.9584 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.8473, allocations: 1.094 kB / 0.9584 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003311/0.8477, allocations: 223.4 kB / 0.9586 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.66e-05/0.8477, allocations: 82.05 kB / 0.9587 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.8477, allocations: 1.094 kB / 0.9587 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.8478, allocations: 18.78 kB / 0.9587 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.767e-05/0.8479, allocations: 2.156 kB / 0.9587 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.8479, allocations: 1.125 kB / 0.9587 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.916e-05/0.848, allocations: 97.81 kB / 0.9588 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.848, allocations: 0 / 0.9588 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002204/0.8482, allocations: 5.781 kB / 0.9588 GB, free: 4.312 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 (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.000148/0.8483, allocations: 97.59 kB / 0.9589 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003388/0.8487, allocations: 89.7 kB / 0.959 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.8487, allocations: 1.719 kB / 0.959 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001525/0.8489, allocations: 53.52 kB / 0.959 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/0.8492, allocations: 13.98 kB / 0.959 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003331/0.8495, allocations: 147.5 kB / 0.9592 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001295/0.8497, allocations: 0.6837 MB / 0.9599 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.407e-05/0.8497, allocations: 9.031 kB / 0.9599 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.8497, allocations: 0 / 0.9599 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of Templates: time 0.002493/0.8522, allocations: 0.7258 MB / 0.9606 GB, free: 2.934 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.makefile make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.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.Controls.OBC.CDL.Continuous.Validation.MaxCalcHelperMain.o OMCppBuildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MaxCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MaxCalcHelperMain.o] Error 1