Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.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.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001155, allocations: 87.98 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.00173/0.00173, allocations: 183.1 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.716/1.716, allocations: 205.4 MB / 223.1 MB, free: 5.441 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.95/1.95, 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.0005796/0.0005796, allocations: 12.06 kB / 0.675 GB, free: 25.74 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.352, allocations: 116.3 MB / 0.7885 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.002318/0.3544, allocations: 1.246 MB / 0.7898 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001941/0.3564, allocations: 0.7724 MB / 0.7905 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.713e-05/0.3565, allocations: 0 / 0.7905 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.431e-05/0.3565, allocations: 4 kB / 0.7905 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001347/0.3567, allocations: 15.84 kB / 0.7905 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007402/0.3574, allocations: 107.8 kB / 0.7906 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001629/0.3576, allocations: 87.7 kB / 0.7907 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.3577, allocations: 19.98 kB / 0.7907 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.3579, allocations: 39.78 kB / 0.7908 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.144e-05/0.358, allocations: 47.77 kB / 0.7908 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.166e-05/0.358, allocations: 4 kB / 0.7908 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002078/0.3582, allocations: 91.84 kB / 0.7909 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.634e-05/0.3582, allocations: 19.91 kB / 0.7909 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.889e-05/0.3583, allocations: 65.48 kB / 0.791 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002369/0.3586, allocations: 112 kB / 0.7911 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.3586, allocations: 4 kB / 0.7911 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of FrontEnd: time 5.59e-06/0.3586, allocations: 4 kB / 0.7911 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.832e-06/0.3586, allocations: 0 / 0.7911 GB, free: 8.934 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0009301/0.3596, allocations: 480.4 kB / 0.7916 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.3596, allocations: 8.031 kB / 0.7916 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.821e-05/0.3597, allocations: 12.83 kB / 0.7916 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001789/0.3599, allocations: 184.1 kB / 0.7918 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.3599, allocations: 8.312 kB / 0.7918 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.507e-05/0.3599, allocations: 8.375 kB / 0.7918 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002209/0.3602, allocations: 81.95 kB / 0.7919 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.3602, allocations: 0 / 0.7919 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.3602, allocations: 4 kB / 0.7919 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.3602, allocations: 0 / 0.7919 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001687/0.3604, allocations: 59.95 kB / 0.7919 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006383/0.361, allocations: 332.7 kB / 0.7922 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002722/0.3613, allocations: 86.66 kB / 0.7923 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.3614, allocations: 44.83 kB / 0.7924 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.044e-05/0.3615, allocations: 7.922 kB / 0.7924 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002527/0.3617, allocations: 103.4 kB / 0.7925 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.443e-06/0.3617, allocations: 0 / 0.7925 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0004721/0.3622, allocations: 185.4 kB / 0.7926 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.789e-05/0.3623, allocations: 51.41 kB / 0.7927 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.3624, allocations: 141.3 kB / 0.7928 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.3624, allocations: 25.7 kB / 0.7928 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.511e-05/0.3625, allocations: 96.12 kB / 0.7929 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.592e-05/0.3625, allocations: 23.66 kB / 0.793 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.662e-05/0.3626, allocations: 29.7 kB / 0.793 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.3627, allocations: 322.8 kB / 0.7933 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.804e-05/0.3628, allocations: 35.92 kB / 0.7933 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/0.3629, allocations: 65.14 kB / 0.7934 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001896/0.3631, allocations: 113 kB / 0.7935 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.3632, allocations: 4 kB / 0.7935 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002708/0.3634, allocations: 145.3 kB / 0.7936 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.3635, allocations: 8 kB / 0.7937 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.3635, allocations: 0 / 0.7937 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.3635, allocations: 0 / 0.7937 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.3636, allocations: 27.92 kB / 0.7937 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.3636, allocations: 0 / 0.7937 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.984e-05/0.3637, allocations: 19.92 kB / 0.7937 GB, free: 6 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.3637, allocations: 8.094 kB / 0.7937 GB, free: 5.992 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,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000134/0.3639, allocations: 122.4 kB / 0.7938 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.176e-05/0.3639, allocations: 15.83 kB / 0.7938 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003618/0.3643, allocations: 164.8 kB / 0.794 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.3643, allocations: 0 / 0.794 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.3643, allocations: 0 / 0.794 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3643, allocations: 4.141 kB / 0.794 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006322/0.365, allocations: 466.2 kB / 0.7944 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.365, allocations: 0 / 0.7944 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.693e-05/0.365, allocations: 12 kB / 0.7945 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.3651, allocations: 4 kB / 0.7945 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.3651, allocations: 11.98 kB / 0.7945 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.3651, allocations: 0 / 0.7945 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.3651, allocations: 3.938 kB / 0.7945 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003173/0.3654, allocations: 247.3 kB / 0.7947 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.09e-05/0.3655, allocations: 88.95 kB / 0.7948 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.572e-05/0.3655, allocations: 3.938 kB / 0.7948 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.3656, allocations: 19.98 kB / 0.7948 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.58e-05/0.3657, allocations: 11.92 kB / 0.7948 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.3657, allocations: 4 kB / 0.7948 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.627e-05/0.3658, allocations: 103.2 kB / 0.7949 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3658, allocations: 0 / 0.7949 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003237/0.3661, allocations: 44 kB / 0.795 GB, free: 4.586 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 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * 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.0003963/0.3665, allocations: 164.7 kB / 0.7951 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002554/0.3668, allocations: 98.83 kB / 0.7952 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3668, allocations: 0 / 0.7952 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001203/0.3669, allocations: 60.16 kB / 0.7953 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003434/0.3673, allocations: 15.98 kB / 0.7953 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000547/0.3679, allocations: 281 kB / 0.7956 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003443/0.3682, allocations: 0.6965 MB / 0.7962 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.748e-05/0.3683, allocations: 19.42 kB / 0.7963 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.3683, allocations: 0 / 0.7963 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of Templates: time 0.004369/0.3726, allocations: 1.912 MB / 0.7981 GB, free: 1.301 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.makefile make -j1 -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.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.Gunay2016LightCalcHelperMain.o OMCppBuildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016LightCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016LightCalcHelperMain.o] Error 1