Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.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.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 102.6 kB / 15.71 MB, free: 460 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.00165/0.001651, allocations: 174.6 kB / 16.58 MB, free: 6.355 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.478/1.478, allocations: 223.3 MB / 240.6 MB, free: 5.418 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.523/2.523, allocations: 390.4 MB / 0.6662 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005118/0.0005119, allocations: 12 kB / 0.8155 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9361/0.9366, allocations: 142.3 MB / 0.9544 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Add): time 0.000996/0.9377, allocations: 423.3 kB / 0.9548 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008455/0.9385, allocations: 0.7949 MB / 0.9556 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.111e-05/0.9386, allocations: 1.188 kB / 0.9556 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.647e-05/0.9386, allocations: 0 / 0.9556 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.807e-05/0.9387, allocations: 8.953 kB / 0.9556 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.631e-05/0.9387, allocations: 6 kB / 0.9556 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.485e-05/0.9388, allocations: 45.92 kB / 0.9557 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.9389, allocations: 7.719 kB / 0.9557 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.202e-05/0.939, allocations: 14.23 kB / 0.9557 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.192e-05/0.9391, allocations: 16.92 kB / 0.9557 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.9391, allocations: 2.062 kB / 0.9557 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.221e-05/0.9391, allocations: 1.719 kB / 0.9557 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.756e-05/0.9391, allocations: 12.95 kB / 0.9557 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.126e-05/0.9392, allocations: 27.98 kB / 0.9558 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.581e-05/0.9393, allocations: 29.34 kB / 0.9558 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.9393, allocations: 0 / 0.9558 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.475e-06/0.9393, allocations: 1.062 kB / 0.9558 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.9393, allocations: 4 kB / 0.9558 GB, free: 6.977 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.0004884/0.9398, allocations: 364.8 kB / 0.9561 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.9398, allocations: 8.25 kB / 0.9561 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.542e-05/0.9399, allocations: 10.08 kB / 0.9562 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.94, allocations: 175 kB / 0.9563 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.94, allocations: 3.938 kB / 0.9563 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.345e-05/0.94, allocations: 6.625 kB / 0.9563 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000238/0.9403, allocations: 75.66 kB / 0.9564 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.9403, allocations: 4 kB / 0.9564 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.9403, allocations: 5.031 kB / 0.9564 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.9403, allocations: 0 / 0.9564 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002691/0.9406, allocations: 91.19 kB / 0.9565 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003257/0.9409, allocations: 263.4 kB / 0.9568 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001878/0.9411, allocations: 66.11 kB / 0.9568 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001443/0.9413, allocations: 55.19 kB / 0.9569 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.451e-05/0.9413, allocations: 1.031 kB / 0.9569 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.581e-05/0.9413, allocations: 35.62 kB / 0.9569 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.9413, allocations: 0 / 0.9569 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005076/0.9418, allocations: 174.8 kB / 0.9571 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/0.9419, allocations: 51.41 kB / 0.9571 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.914e-05/0.942, allocations: 115.7 kB / 0.9572 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/0.942, allocations: 25.7 kB / 0.9573 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.443e-05/0.942, allocations: 82.3 kB / 0.9573 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-05/0.942, allocations: 16.84 kB / 0.9573 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-06/0.942, allocations: 0.9688 kB / 0.9573 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.635e-05/0.9421, allocations: 316 kB / 0.9576 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.9423, allocations: 43.16 kB / 0.9577 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001221/0.9424, allocations: 42.8 kB / 0.9577 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/0.9425, allocations: 43.22 kB / 0.9578 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.9425, allocations: 0 / 0.9578 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002879/0.9428, allocations: 117.1 kB / 0.9579 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.9428, allocations: 4.594 kB / 0.9579 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.9429, allocations: 0 / 0.9579 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.9429, allocations: 5.141 kB / 0.9579 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.943, allocations: 31.38 kB / 0.9579 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.943, allocations: 0 / 0.9579 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.641e-05/0.9431, allocations: 19.8 kB / 0.9579 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.9431, allocations: 1.484 kB / 0.9579 GB, free: 5.031 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 6.7e-05/0.9432, allocations: 108.2 kB / 0.958 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.448e-05/0.9432, allocations: 5.125 kB / 0.9581 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.483e-05/0.9433, allocations: 13.09 kB / 0.9581 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.9433, allocations: 9.156 kB / 0.9581 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.9433, allocations: 7.891 kB / 0.9581 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.9433, allocations: 0 / 0.9581 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001561/0.9434, allocations: 165.2 kB / 0.9582 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.9435, allocations: 1.531 kB / 0.9582 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.415e-05/0.9436, allocations: 18.55 kB / 0.9583 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.9436, allocations: 0 / 0.9583 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.9436, allocations: 5.25 kB / 0.9583 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.9436, allocations: 0 / 0.9583 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.9436, allocations: 5.078 kB / 0.9583 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003233/0.9439, allocations: 218.9 kB / 0.9585 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.403e-05/0.944, allocations: 82.33 kB / 0.9586 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.944, allocations: 0.6562 kB / 0.9586 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.837e-05/0.9441, allocations: 20.23 kB / 0.9586 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.453e-05/0.9441, allocations: 5.047 kB / 0.9586 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.9441, allocations: 1.219 kB / 0.9586 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.676e-05/0.9442, allocations: 93.78 kB / 0.9587 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9442, allocations: 0 / 0.9587 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000209/0.9444, allocations: 6.062 kB / 0.9587 GB, free: 4.301 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.0001312/0.9445, allocations: 101 kB / 0.9588 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003209/0.9449, allocations: 90.14 kB / 0.9589 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.9449, allocations: 4 kB / 0.9589 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001401/0.945, allocations: 46.16 kB / 0.9589 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.9453, allocations: 13.14 kB / 0.9589 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003107/0.9456, allocations: 152 kB / 0.9591 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001237/0.9458, allocations: 0.6812 MB / 0.9597 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.209e-05/0.9458, allocations: 12.88 kB / 0.9597 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.9458, allocations: 0 / 0.9597 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of Templates: time 0.002262/0.9481, allocations: 0.7275 MB / 0.9604 GB, free: 2.918 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.makefile make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.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.AddCalcHelperMain.o OMCppBuildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddCalcHelperMain.o] Error 1