Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.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.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|avg1.u1|avg1.u2|avg1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|avg1.u1|avg1.u2|avg1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009238/0.0009237, 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.0009177/0.0009179, allocations: 172.5 kB / 16.58 MB, free: 6.398 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.469/1.469, allocations: 223.3 MB / 240.6 MB, free: 5.32 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.546/2.546, allocations: 390.5 MB / 0.6662 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003924/0.0003924, allocations: 8 kB / 0.8154 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8239/0.8243, allocations: 142.3 MB / 0.9544 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Average): time 0.0009566/0.8254, allocations: 426.9 kB / 0.9548 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008335/0.8262, allocations: 0.7946 MB / 0.9556 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.089e-05/0.8263, allocations: 1.125 kB / 0.9556 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.592e-05/0.8263, allocations: 3.938 kB / 0.9556 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.065e-05/0.8264, allocations: 4.938 kB / 0.9556 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 8.006e-05/0.8265, allocations: 10.3 kB / 0.9556 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.632e-05/0.8265, allocations: 41.88 kB / 0.9557 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.634e-05/0.8266, allocations: 8.406 kB / 0.9557 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.834e-05/0.8267, allocations: 13.14 kB / 0.9557 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.531e-05/0.8268, allocations: 17.23 kB / 0.9557 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.972e-05/0.8268, allocations: 2.25 kB / 0.9557 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.057e-05/0.8268, allocations: 1.156 kB / 0.9557 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.611e-05/0.8268, allocations: 13.09 kB / 0.9557 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.869e-05/0.8269, allocations: 31.7 kB / 0.9558 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.215e-05/0.8269, allocations: 29.41 kB / 0.9558 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.827, allocations: 4.938 kB / 0.9558 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.445e-06/0.827, allocations: 0 / 0.9558 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.827, allocations: 0 / 0.9558 GB, free: 7.281 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.000515/0.8275, allocations: 366.2 kB / 0.9561 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.8276, allocations: 12.09 kB / 0.9562 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.705e-05/0.8276, allocations: 10.17 kB / 0.9562 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.8277, allocations: 165.6 kB / 0.9563 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.8278, allocations: 1.281 kB / 0.9563 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.594e-05/0.8278, allocations: 6.469 kB / 0.9563 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002504/0.828, allocations: 79.66 kB / 0.9564 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.8281, allocations: 0 / 0.9564 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.8281, allocations: 9.234 kB / 0.9564 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.8281, allocations: 0 / 0.9564 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002891/0.8284, allocations: 91.41 kB / 0.9565 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003728/0.8288, allocations: 263.2 kB / 0.9568 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002064/0.829, allocations: 66.33 kB / 0.9568 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000151/0.8291, allocations: 48.28 kB / 0.9569 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.8292, allocations: 9.031 kB / 0.9569 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.8292, allocations: 35.47 kB / 0.9569 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.8292, allocations: 0 / 0.9569 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005596/0.8298, allocations: 167 kB / 0.9571 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.8298, allocations: 55.41 kB / 0.9571 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.535e-05/0.8299, allocations: 107.8 kB / 0.9572 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/0.8299, allocations: 25.7 kB / 0.9572 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.436e-05/0.8299, allocations: 86.3 kB / 0.9573 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.344e-05/0.83, allocations: 17.88 kB / 0.9573 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-06/0.83, allocations: 0 / 0.9573 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.388e-05/0.83, allocations: 316.1 kB / 0.9576 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/0.8302, allocations: 42.41 kB / 0.9577 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.8303, allocations: 43.38 kB / 0.9577 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.8305, allocations: 46.89 kB / 0.9578 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.8305, allocations: 0 / 0.9578 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002921/0.8308, allocations: 117 kB / 0.9579 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.8308, allocations: 4.406 kB / 0.9579 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.8308, allocations: 1.438 kB / 0.9579 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.8308, allocations: 3.953 kB / 0.9579 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.831, allocations: 23.77 kB / 0.9579 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.831, allocations: 3.984 kB / 0.9579 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.582e-05/0.8311, allocations: 15.17 kB / 0.9579 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.8311, allocations: 1.031 kB / 0.9579 GB, free: 5.348 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.459e-05/0.8311, allocations: 116.5 kB / 0.958 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.387e-05/0.8312, allocations: 5.406 kB / 0.958 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.721e-05/0.8312, allocations: 9.219 kB / 0.9581 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.718e-06/0.8312, allocations: 4.844 kB / 0.9581 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.8312, allocations: 7.891 kB / 0.9581 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.8312, allocations: 0.9375 kB / 0.9581 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001354/0.8314, allocations: 169.9 kB / 0.9582 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.8314, allocations: 4 kB / 0.9582 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.137e-05/0.8315, allocations: 26.2 kB / 0.9583 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.8315, allocations: 0.9688 kB / 0.9583 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.8315, allocations: 0.9688 kB / 0.9583 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.8315, allocations: 0 / 0.9583 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.8315, allocations: 0 / 0.9583 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000324/0.8318, allocations: 217.2 kB / 0.9585 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.81e-05/0.8319, allocations: 81.06 kB / 0.9585 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.8319, allocations: 9.234 kB / 0.9586 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.832, allocations: 20.11 kB / 0.9586 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.202e-05/0.8321, allocations: 5.359 kB / 0.9586 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-06/0.8321, allocations: 1.5 kB / 0.9586 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.04e-05/0.8321, allocations: 92.3 kB / 0.9587 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8321, allocations: 3.938 kB / 0.9587 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002085/0.8323, allocations: 6.781 kB / 0.9587 GB, free: 4.602 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.0001327/0.8325, allocations: 106 kB / 0.9588 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003152/0.8328, allocations: 90.67 kB / 0.9589 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.8328, allocations: 0 / 0.9589 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001344/0.8329, allocations: 40.97 kB / 0.9589 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002951/0.8332, allocations: 9.703 kB / 0.9589 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002993/0.8335, allocations: 161.8 kB / 0.9591 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001323/0.8337, allocations: 0.6793 MB / 0.9597 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.459e-05/0.8337, allocations: 12.94 kB / 0.9597 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.8337, allocations: 0 / 0.9597 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of Templates: time 0.00224/0.836, allocations: 0.7335 MB / 0.9605 GB, free: 3.215 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.makefile make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.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.AverageCalcHelperMain.o OMCppBuildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AverageCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AverageCalcHelperMain.o] Error 1