Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.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.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dayCon.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dayCon.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, 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.001386/0.001386, 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.454/1.454, 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.505/2.505, allocations: 390.4 MB / 0.6662 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004185/0.0004185, allocations: 8 kB / 0.8154 GB, free: 14.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.893/0.8935, allocations: 142.3 MB / 0.9544 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.0009359/0.8945, allocations: 437.7 kB / 0.9548 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002203/0.8967, allocations: 1.475 MB / 0.9563 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.604e-05/0.8968, allocations: 5.094 kB / 0.9563 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.516e-05/0.8968, allocations: 0 / 0.9563 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001899/0.897, allocations: 15.39 kB / 0.9563 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004633/0.8975, allocations: 126.9 kB / 0.9564 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001823/0.8977, allocations: 108 kB / 0.9565 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.8978, allocations: 11.11 kB / 0.9565 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001423/0.898, allocations: 40.3 kB / 0.9566 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/0.8981, allocations: 43.16 kB / 0.9566 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.635e-05/0.8981, allocations: 3.094 kB / 0.9566 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002192/0.8984, allocations: 73.58 kB / 0.9567 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.039e-05/0.8984, allocations: 19.12 kB / 0.9567 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.685e-05/0.8985, allocations: 40.67 kB / 0.9567 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002458/0.8987, allocations: 143.3 kB / 0.9569 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.8987, allocations: 3.938 kB / 0.9569 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.963e-06/0.8987, allocations: 3.938 kB / 0.9569 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.031e-05/0.8988, allocations: 1.156 kB / 0.9569 GB, free: 6.164 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006817/0.8994, allocations: 411.4 kB / 0.9573 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.8995, allocations: 9.781 kB / 0.9573 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.375e-05/0.8996, allocations: 12.52 kB / 0.9573 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.8997, allocations: 175.7 kB / 0.9575 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.175e-05/0.8998, allocations: 34.67 kB / 0.9575 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.774e-05/0.8998, allocations: 8.109 kB / 0.9575 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.9, allocations: 103.3 kB / 0.9576 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.9, allocations: 1.125 kB / 0.9576 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.9, allocations: 0 / 0.9576 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.9, allocations: 2.125 kB / 0.9576 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.9002, allocations: 49.33 kB / 0.9577 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006016/0.9008, allocations: 0.5189 MB / 0.9582 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004248/0.9012, allocations: 133.8 kB / 0.9583 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.075e-05/0.9013, allocations: 45.91 kB / 0.9583 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.706e-05/0.9013, allocations: 5.281 kB / 0.9583 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002119/0.9015, allocations: 126.3 kB / 0.9585 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.693e-06/0.9016, allocations: 0 / 0.9585 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0003415/0.9019, allocations: 138.7 kB / 0.9586 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/0.902, allocations: 112.1 kB / 0.9587 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.232e-05/0.9021, allocations: 129.8 kB / 0.9588 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.9021, allocations: 31.92 kB / 0.9588 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.562e-05/0.9021, allocations: 90.83 kB / 0.9589 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.733e-05/0.9022, allocations: 27.39 kB / 0.959 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.065e-06/0.9022, allocations: 5.125 kB / 0.959 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.289e-05/0.9022, allocations: 321.3 kB / 0.9593 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.316e-05/0.9023, allocations: 36.95 kB / 0.9593 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.421e-05/0.9024, allocations: 36.39 kB / 0.9593 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.676e-05/0.9025, allocations: 33.19 kB / 0.9594 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.9025, allocations: 0 / 0.9594 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002239/0.9027, allocations: 133.5 kB / 0.9595 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.9028, allocations: 13.77 kB / 0.9595 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.9028, allocations: 0 / 0.9595 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.9028, allocations: 0 / 0.9595 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.9029, allocations: 23.45 kB / 0.9595 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.9029, allocations: 0 / 0.9595 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.708e-05/0.903, allocations: 19.05 kB / 0.9596 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.9031, allocations: 3.344 kB / 0.9596 GB, free: 3.602 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: 7 ($whenCondition2,$whenCondition1,$PRE.dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunRise,$PRE.dayCon.sunRiseSet.nextSunSet,dayCon.sunRiseSet.nextSunSet,dayCon.not1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 7.863e-05/0.9031, allocations: 119.7 kB / 0.9597 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.067e-05/0.9032, allocations: 11.53 kB / 0.9597 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002271/0.9034, allocations: 118.7 kB / 0.9598 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.9034, allocations: 2.438 kB / 0.9598 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.9034, allocations: 1.469 kB / 0.9598 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.9034, allocations: 240 / 0.9598 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000153/0.9036, allocations: 217.5 kB / 0.96 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.9036, allocations: 13.11 kB / 0.96 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.259e-05/0.9037, allocations: 27.27 kB / 0.96 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.9037, allocations: 1.125 kB / 0.96 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.9037, allocations: 2.719 kB / 0.9601 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.9037, allocations: 9.625 kB / 0.9601 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.9037, allocations: 1.438 kB / 0.9601 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002242/0.904, allocations: 177.8 kB / 0.9602 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.697e-05/0.904, allocations: 98.36 kB / 0.9603 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.793e-05/0.9041, allocations: 11.53 kB / 0.9603 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.63e-05/0.9042, allocations: 5.375 kB / 0.9603 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.483e-05/0.9042, allocations: 21.67 kB / 0.9604 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.9042, allocations: 4.406 kB / 0.9604 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.621e-05/0.9043, allocations: 100.9 kB / 0.9605 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9043, allocations: 0 / 0.9605 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003025/0.9046, allocations: 59.75 kB / 0.9605 GB, free: 2.742 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunSet,dayCon.not1.y) * Number of discrete states: 2 (dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunSet) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002369/0.9048, allocations: 160.5 kB / 0.9607 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002234/0.9051, allocations: 93.52 kB / 0.9608 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.9051, allocations: 0 / 0.9608 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.223e-05/0.9052, allocations: 50.17 kB / 0.9608 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002852/0.9055, allocations: 17.48 kB / 0.9608 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005435/0.906, allocations: 289.8 kB / 0.9611 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001501/0.9062, allocations: 0.7046 MB / 0.9618 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.074e-05/0.9063, allocations: 16.41 kB / 0.9618 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.9063, allocations: 0 / 0.9618 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of Templates: time 0.004125/0.9104, allocations: 1.8 MB / 0.9636 GB, free: 0.6406 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile make -j1 -f Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.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.OutdoorLights.Validation.DaylightControlledCalcHelperMain.o OMCppBuildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlledCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlledCalcHelperMain.o] Error 1