Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.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.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01088/0.01088, allocations: 100.8 kB / 15.87 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001859/0.001859, allocations: 192 kB / 16.79 MB, free: 5.809 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.682/1.682, allocations: 205.1 MB / 222.7 MB, free: 4.773 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.804/1.804, allocations: 292.3 MB / 0.5491 GB, free: 13.68 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.002121/0.002121, allocations: 60.2 kB / 0.6715 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3459/0.348, allocations: 114.5 MB / 0.7833 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.003318/0.3514, allocations: 1.573 MB / 0.7849 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00157/0.353, allocations: 0.7956 MB / 0.7856 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.776e-05/0.3531, allocations: 4 kB / 0.7856 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.812e-05/0.3531, allocations: 0 / 0.7856 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001126/0.3532, allocations: 19.84 kB / 0.7857 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000548/0.3538, allocations: 107.8 kB / 0.7858 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001359/0.3539, allocations: 79.7 kB / 0.7858 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.3541, allocations: 8 kB / 0.7858 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.3542, allocations: 31.91 kB / 0.7859 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.83e-05/0.3543, allocations: 39.83 kB / 0.7859 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.464e-05/0.3543, allocations: 4 kB / 0.7859 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002006/0.3545, allocations: 99.84 kB / 0.786 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.968e-05/0.3546, allocations: 19.91 kB / 0.786 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.471e-05/0.3546, allocations: 31.8 kB / 0.7861 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001901/0.3548, allocations: 100.1 kB / 0.7862 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.827e-06/0.3548, allocations: 4 kB / 0.7862 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.293e-06/0.3548, allocations: 0 / 0.7862 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.718e-06/0.3548, allocations: 0 / 0.7862 GB, free: 11.11 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.0008973/0.3557, allocations: 458.6 kB / 0.7866 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.3558, allocations: 12.03 kB / 0.7866 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.113e-05/0.3559, allocations: 8.844 kB / 0.7866 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001936/0.3561, allocations: 192.2 kB / 0.7868 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.3561, allocations: 4.375 kB / 0.7868 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.256e-05/0.3561, allocations: 4.375 kB / 0.7868 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002099/0.3563, allocations: 81.89 kB / 0.7869 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.3564, allocations: 0 / 0.7869 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.3564, allocations: 0 / 0.7869 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.3564, allocations: 4 kB / 0.7869 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000142/0.3565, allocations: 47.91 kB / 0.7869 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005808/0.3571, allocations: 312.7 kB / 0.7872 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001537/0.3573, allocations: 66.55 kB / 0.7873 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.211e-05/0.3574, allocations: 36.88 kB / 0.7873 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/0.3574, allocations: 7.938 kB / 0.7873 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002503/0.3577, allocations: 91.5 kB / 0.7874 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.543e-06/0.3577, allocations: 0 / 0.7874 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0004315/0.3581, allocations: 157.5 kB / 0.7876 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.667e-05/0.3582, allocations: 59.41 kB / 0.7876 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000179/0.3584, allocations: 131.4 kB / 0.7878 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.3584, allocations: 33.7 kB / 0.7878 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.259e-05/0.3585, allocations: 88.38 kB / 0.7879 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.756e-05/0.3585, allocations: 19.7 kB / 0.7879 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.198e-05/0.3586, allocations: 33.7 kB / 0.7879 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001815/0.3588, allocations: 326.8 kB / 0.7882 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.551e-05/0.3588, allocations: 23.98 kB / 0.7883 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.359, allocations: 73.08 kB / 0.7883 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001692/0.3591, allocations: 97.06 kB / 0.7884 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.3591, allocations: 4 kB / 0.7884 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002304/0.3594, allocations: 133.4 kB / 0.7886 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.3594, allocations: 4 kB / 0.7886 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.3594, allocations: 4.375 kB / 0.7886 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.3594, allocations: 0 / 0.7886 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.3596, allocations: 19.92 kB / 0.7886 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.3596, allocations: 0 / 0.7886 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001173/0.3597, allocations: 27.98 kB / 0.7886 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.53e-05/0.3597, allocations: 4 kB / 0.7886 GB, free: 8.32 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.0001004/0.3598, allocations: 121.8 kB / 0.7887 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.028e-05/0.3598, allocations: 7.906 kB / 0.7887 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003188/0.3602, allocations: 153.8 kB / 0.7889 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.3602, allocations: 0 / 0.7889 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3602, allocations: 0 / 0.7889 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.3602, allocations: 7.984 kB / 0.7889 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005477/0.3608, allocations: 426.3 kB / 0.7893 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.3608, allocations: 0 / 0.7893 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.926e-05/0.3608, allocations: 11.98 kB / 0.7893 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.3609, allocations: 7.938 kB / 0.7893 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.3609, allocations: 0 / 0.7893 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3609, allocations: 0 / 0.7893 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.3609, allocations: 7.938 kB / 0.7893 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002927/0.3612, allocations: 231.3 kB / 0.7895 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.799e-05/0.3612, allocations: 88.95 kB / 0.7896 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.289e-05/0.3613, allocations: 0 / 0.7896 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.3614, allocations: 15.98 kB / 0.7896 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.343e-05/0.3615, allocations: 11.92 kB / 0.7897 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.3615, allocations: 4 kB / 0.7897 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.481e-05/0.3616, allocations: 106.1 kB / 0.7898 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3616, allocations: 0 / 0.7898 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003136/0.3619, allocations: 43.98 kB / 0.7898 GB, free: 6.996 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 (12): * Single equations (assignments): 9 * 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.0003617/0.3622, allocations: 167.1 kB / 0.79 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002302/0.3625, allocations: 83.89 kB / 0.79 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.3625, allocations: 0 / 0.79 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001069/0.3626, allocations: 43.92 kB / 0.7901 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000308/0.3629, allocations: 18.91 kB / 0.7901 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005543/0.3635, allocations: 263.2 kB / 0.7904 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004019/0.3639, allocations: 0.6965 MB / 0.791 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.075e-05/0.364, allocations: 19.38 kB / 0.7911 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.364, allocations: 0 / 0.7911 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of Templates: time 0.003934/0.3679, allocations: 1.82 MB / 0.7928 GB, free: 3.855 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile make -j1 -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.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.Love1998Light2CalcHelperMain.o OMCppBuildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2CalcHelperMain.o] Error 1