Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007963/0.0007964, allocations: 91.92 kB / 16.02 MB, free: 80 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.0009854/0.0009854, allocations: 177.5 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.704/1.704, allocations: 205.4 MB / 223.1 MB, free: 5.496 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.842/1.842, allocations: 292.7 MB / 0.5509 GB, free: 14.49 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000793/0.000793, allocations: 13.66 kB / 0.675 GB, free: 25.81 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3524/0.3532, allocations: 116.3 MB / 0.7885 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.002015/0.3553, allocations: 1.242 MB / 0.7897 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001571/0.3569, allocations: 0.7802 MB / 0.7905 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.796e-05/0.357, allocations: 0 / 0.7905 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.122e-05/0.357, allocations: 3.938 kB / 0.7905 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001376/0.3572, allocations: 15.86 kB / 0.7905 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005941/0.3578, allocations: 103.8 kB / 0.7906 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000131/0.3579, allocations: 87.7 kB / 0.7907 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.358, allocations: 11.97 kB / 0.7907 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.3582, allocations: 31.92 kB / 0.7908 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.634e-05/0.3583, allocations: 43.81 kB / 0.7908 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.119e-05/0.3583, allocations: 4 kB / 0.7908 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002178/0.3585, allocations: 91.84 kB / 0.7909 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.356e-05/0.3586, allocations: 15.92 kB / 0.7909 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.898e-05/0.3586, allocations: 61.5 kB / 0.791 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002056/0.3589, allocations: 112 kB / 0.7911 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.3589, allocations: 0 / 0.7911 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.436e-06/0.3589, allocations: 0 / 0.7911 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.3589, allocations: 0 / 0.7911 GB, free: 8.965 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0009376/0.3598, allocations: 462.7 kB / 0.7915 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.3599, allocations: 11.97 kB / 0.7915 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.542e-05/0.36, allocations: 12.84 kB / 0.7915 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002303/0.3602, allocations: 191 kB / 0.7917 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.683e-05/0.3603, allocations: 30.27 kB / 0.7917 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.04e-05/0.3603, allocations: 8.375 kB / 0.7918 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002256/0.3606, allocations: 85.77 kB / 0.7918 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.3606, allocations: 0 / 0.7918 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.3606, allocations: 0 / 0.7918 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.3606, allocations: 7.984 kB / 0.7918 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001934/0.3608, allocations: 51.91 kB / 0.7919 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006851/0.3615, allocations: 324.8 kB / 0.7922 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002225/0.3617, allocations: 70.55 kB / 0.7923 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001185/0.3619, allocations: 44.83 kB / 0.7923 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.3619, allocations: 0 / 0.7923 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002696/0.3622, allocations: 103.4 kB / 0.7924 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.342e-06/0.3622, allocations: 0 / 0.7924 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0005206/0.3627, allocations: 177.5 kB / 0.7926 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/0.3628, allocations: 51.41 kB / 0.7926 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.363, allocations: 134 kB / 0.7928 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.363, allocations: 29.7 kB / 0.7928 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.799e-05/0.3631, allocations: 92.36 kB / 0.7929 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.852e-05/0.3631, allocations: 27.8 kB / 0.7929 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.734e-05/0.3632, allocations: 29.7 kB / 0.7929 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002126/0.3634, allocations: 318.8 kB / 0.7932 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001158/0.3635, allocations: 36.34 kB / 0.7933 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002106/0.3637, allocations: 73.06 kB / 0.7933 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002393/0.364, allocations: 105.1 kB / 0.7934 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.364, allocations: 4 kB / 0.7934 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000315/0.3643, allocations: 149.3 kB / 0.7936 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.3643, allocations: 4 kB / 0.7936 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.3643, allocations: 4 kB / 0.7936 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.3644, allocations: 0 / 0.7936 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.3645, allocations: 24.05 kB / 0.7936 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.3645, allocations: 4 kB / 0.7936 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.3646, allocations: 11.98 kB / 0.7936 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.3646, allocations: 12 kB / 0.7936 GB, free: 6.055 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 (lig.curSeed,$PRE.lig.curSeed,lig.on,$PRE.lig.on,$whenCondition3,lig.sampleTrigger,$whenCondition2,occ.pulseStart,$PRE.occ.pulseStart,occ.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001182/0.3648, allocations: 125.8 kB / 0.7938 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.269e-05/0.3648, allocations: 15.88 kB / 0.7938 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.522e-05/0.3648, allocations: 8.719 kB / 0.7938 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.3649, allocations: 8 kB / 0.7938 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.3649, allocations: 0 / 0.7938 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.3649, allocations: 0 / 0.7938 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006653/0.3655, allocations: 438.1 kB / 0.7942 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3656, allocations: 8 kB / 0.7942 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.208e-05/0.3656, allocations: 11.98 kB / 0.7942 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.3657, allocations: 4 kB / 0.7942 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.3657, allocations: 0 / 0.7942 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.3657, allocations: 3.938 kB / 0.7942 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.3657, allocations: 0 / 0.7942 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003618/0.366, allocations: 235.3 kB / 0.7945 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.429e-05/0.3661, allocations: 85.02 kB / 0.7945 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/0.3662, allocations: 0 / 0.7945 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.3663, allocations: 15.92 kB / 0.7946 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.977e-05/0.3664, allocations: 15.98 kB / 0.7946 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.3664, allocations: 3.984 kB / 0.7946 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.389e-05/0.3665, allocations: 107.3 kB / 0.7947 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3665, allocations: 192 / 0.7947 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003192/0.3668, allocations: 36 kB / 0.7947 GB, free: 4.852 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (occ.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004057/0.3672, allocations: 157.2 kB / 0.7949 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003075/0.3675, allocations: 103.8 kB / 0.795 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.3675, allocations: 0 / 0.795 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001464/0.3677, allocations: 51.91 kB / 0.795 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/0.368, allocations: 11.98 kB / 0.795 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006125/0.3686, allocations: 272.8 kB / 0.7953 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003903/0.369, allocations: 0.6926 MB / 0.796 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.221e-05/0.3691, allocations: 23.42 kB / 0.796 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of SimCode: time 3.4e-07/0.3691, allocations: 0 / 0.796 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of Templates: time 0.004422/0.3735, allocations: 1.851 MB / 0.7978 GB, free: 1.656 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile make -j1 -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979LightCalcHelperMain.o OMCppBuildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979LightCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979LightCalcHelperMain.o] Error 1