Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.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.Cos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cos1.u|cos1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cos1.u|cos1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 100.1 kB / 15.71 MB, free: 448 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.001357/0.001358, allocations: 175.3 kB / 16.59 MB, free: 6.426 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.2 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.503/2.503, allocations: 390.4 MB / 0.6662 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003596/0.0003599, allocations: 16 kB / 0.8155 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8752/0.8756, allocations: 142.3 MB / 0.9544 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos): time 0.0009041/0.8766, allocations: 384 kB / 0.9548 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008695/0.8774, allocations: 0.8062 MB / 0.9556 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.756e-05/0.8775, allocations: 0 / 0.9556 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.388e-05/0.8775, allocations: 0 / 0.9556 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.318e-05/0.8776, allocations: 8.719 kB / 0.9556 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000137/0.8777, allocations: 10.73 kB / 0.9556 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.891e-05/0.8778, allocations: 19.86 kB / 0.9556 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.556e-05/0.8779, allocations: 9.453 kB / 0.9556 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.05e-05/0.878, allocations: 2.938 kB / 0.9556 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.345e-05/0.878, allocations: 10.86 kB / 0.9557 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.971e-05/0.878, allocations: 0.9688 kB / 0.9557 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.537e-05/0.8781, allocations: 1.969 kB / 0.9557 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.01e-05/0.8781, allocations: 4 kB / 0.9557 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.93e-05/0.8781, allocations: 31.05 kB / 0.9557 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.592e-05/0.8782, allocations: 16.16 kB / 0.9557 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.8782, allocations: 0 / 0.9557 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.687e-06/0.8782, allocations: 3.984 kB / 0.9557 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.8782, allocations: 0 / 0.9557 GB, free: 7.051 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.000388/0.8786, allocations: 337.6 kB / 0.956 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/0.8787, allocations: 9.125 kB / 0.956 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.777e-05/0.8787, allocations: 5.016 kB / 0.956 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.336e-05/0.8788, allocations: 168.3 kB / 0.9562 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.769e-06/0.8788, allocations: 1.406 kB / 0.9562 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.256e-05/0.8788, allocations: 1.469 kB / 0.9562 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/0.879, allocations: 57.73 kB / 0.9563 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.879, allocations: 0 / 0.9563 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.879, allocations: 0 / 0.9563 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.879, allocations: 1.438 kB / 0.9563 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001613/0.8792, allocations: 47.73 kB / 0.9563 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002877/0.8795, allocations: 245 kB / 0.9565 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001147/0.8796, allocations: 47.94 kB / 0.9566 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.056e-05/0.8797, allocations: 26.84 kB / 0.9566 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.8797, allocations: 1.344 kB / 0.9566 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.501e-05/0.8797, allocations: 35.8 kB / 0.9567 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.8798, allocations: 4 kB / 0.9567 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003219/0.8801, allocations: 98.08 kB / 0.9568 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/0.8801, allocations: 60.61 kB / 0.9568 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.388e-05/0.8802, allocations: 103 kB / 0.9569 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.526e-06/0.8802, allocations: 25.7 kB / 0.9569 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.17e-05/0.8802, allocations: 89.38 kB / 0.957 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.693e-05/0.8803, allocations: 9.25 kB / 0.957 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.836e-06/0.8803, allocations: 0 / 0.957 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.671e-05/0.8803, allocations: 320 kB / 0.9573 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.806e-05/0.8804, allocations: 21.11 kB / 0.9574 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.616e-05/0.8805, allocations: 23.33 kB / 0.9574 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.477e-05/0.8806, allocations: 18.11 kB / 0.9574 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.8806, allocations: 0 / 0.9574 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001769/0.8807, allocations: 77.38 kB / 0.9575 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.8808, allocations: 7.344 kB / 0.9575 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.8808, allocations: 0 / 0.9575 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.8808, allocations: 5.062 kB / 0.9575 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.727e-05/0.8809, allocations: 20.38 kB / 0.9575 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.8809, allocations: 0 / 0.9575 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.155e-05/0.881, allocations: 10.64 kB / 0.9575 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-06/0.881, allocations: 0 / 0.9575 GB, free: 5.262 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.597e-05/0.8811, allocations: 120 kB / 0.9576 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.235e-05/0.8811, allocations: 0.7812 kB / 0.9576 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002206/0.8813, allocations: 84.34 kB / 0.9577 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.8813, allocations: 1.219 kB / 0.9577 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.8813, allocations: 3.953 kB / 0.9577 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.8813, allocations: 0 / 0.9577 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001225/0.8815, allocations: 158.3 kB / 0.9579 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.8815, allocations: 0 / 0.9579 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.8e-05/0.8815, allocations: 13.47 kB / 0.9579 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.8816, allocations: 3.984 kB / 0.9579 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.8816, allocations: 1.25 kB / 0.9579 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.8816, allocations: 0 / 0.9579 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.8816, allocations: 0 / 0.9579 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002151/0.8818, allocations: 180.6 kB / 0.958 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.526e-05/0.8818, allocations: 82.27 kB / 0.9581 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.8819, allocations: 1.062 kB / 0.9581 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.312e-05/0.8819, allocations: 9.281 kB / 0.9581 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.107e-05/0.882, allocations: 6.203 kB / 0.9581 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.882, allocations: 3.938 kB / 0.9581 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.459e-05/0.882, allocations: 82.69 kB / 0.9582 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.882, allocations: 0 / 0.9582 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002129/0.8822, allocations: 8.047 kB / 0.9582 GB, free: 4.516 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.0001505/0.8824, allocations: 96.78 kB / 0.9583 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001997/0.8826, allocations: 55.17 kB / 0.9584 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.8826, allocations: 4 kB / 0.9584 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.12e-05/0.8827, allocations: 20.23 kB / 0.9584 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002967/0.883, allocations: 2.688 kB / 0.9584 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002762/0.8833, allocations: 133.3 kB / 0.9585 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001157/0.8834, allocations: 0.6772 MB / 0.9592 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.645e-05/0.8834, allocations: 8.562 kB / 0.9592 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of SimCode: time 1.91e-07/0.8835, allocations: 0 / 0.9592 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of Templates: time 0.00182/0.8853, allocations: 0.5367 MB / 0.9597 GB, free: 3.27 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.makefile make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.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.CosCalcHelperMain.o OMCppBuildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.CosCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.CosCalcHelperMain.o] Error 1