Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Occupants.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_latest_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.0008877/0.000888, allocations: 102.6 kB / 15.71 MB, free: 460 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.001516/0.001516, allocations: 172.8 kB / 16.58 MB, free: 6.398 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.483/1.483, allocations: 223.3 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.88/2.88, allocations: 436.7 MB / 0.7113 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003376/0.0003377, allocations: 8 kB / 0.8717 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8236/0.824, allocations: 153.7 MB / 1.022 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.001862/0.8259, allocations: 1.231 MB / 1.023 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001324/0.8273, allocations: 0.6978 MB / 1.024 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.066e-05/0.8273, allocations: 0 / 1.024 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.804e-05/0.8273, allocations: 3.984 kB / 1.024 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001081/0.8275, allocations: 19.86 kB / 1.024 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004952/0.828, allocations: 99.75 kB / 1.024 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001257/0.8281, allocations: 87.7 kB / 1.024 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.8282, allocations: 8 kB / 1.024 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.8283, allocations: 51.83 kB / 1.024 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.47e-05/0.8284, allocations: 39.83 kB / 1.024 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.8284, allocations: 7.938 kB / 1.024 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000177/0.8286, allocations: 79.86 kB / 1.024 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.325e-05/0.8287, allocations: 19.95 kB / 1.024 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.595e-05/0.8287, allocations: 37.64 kB / 1.024 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001966/0.8289, allocations: 105.8 kB / 1.024 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.8289, allocations: 4 kB / 1.024 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.964e-06/0.8289, allocations: 4 kB / 1.024 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.829, allocations: 0 / 1.024 GB, free: 14.68 MB / 0.7794 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.0008172/0.8298, allocations: 492 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.8298, allocations: 15.98 kB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.432e-05/0.8299, allocations: 11.89 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.83, allocations: 171 kB / 1.025 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/0.8301, allocations: 8 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.8301, allocations: 4 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/0.8303, allocations: 85.53 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.8303, allocations: 3.984 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.8303, allocations: 4 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.8303, allocations: 0 / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001506/0.8305, allocations: 59.95 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006002/0.8311, allocations: 340.6 kB / 1.025 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002115/0.8313, allocations: 82.67 kB / 1.025 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.227e-05/0.8314, allocations: 40.84 kB / 1.025 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.8315, allocations: 7.969 kB / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002486/0.8317, allocations: 107.4 kB / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.413e-06/0.8317, allocations: 0 / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0004312/0.8322, allocations: 181.5 kB / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/0.8322, allocations: 55.41 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.8324, allocations: 137 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.8324, allocations: 25.7 kB / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.866e-05/0.8325, allocations: 96.12 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.133e-05/0.8325, allocations: 23.66 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.847e-06/0.8325, allocations: 4 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.8327, allocations: 330.8 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.285e-05/0.8328, allocations: 27.98 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.8329, allocations: 77.06 kB / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.489e-05/0.833, allocations: 39.98 kB / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.833, allocations: 3.938 kB / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002703/0.8333, allocations: 137.4 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.8333, allocations: 7.984 kB / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.8333, allocations: 96 / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.8333, allocations: 8 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.8335, allocations: 19.92 kB / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.8335, allocations: 4 kB / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.494e-05/0.8336, allocations: 11.91 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/0.8336, allocations: 15.92 kB / 1.027 GB, free: 11.84 MB / 0.7794 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 ($PRE.lig.curSeed,lig.curSeed,$PRE.lig.on,lig.on,$whenCondition3,$whenCondition2,lig.sampleTrigger,$whenCondition1,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * 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 0.0001135/0.8337, allocations: 123.4 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.8e-05/0.8337, allocations: 11.91 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003527/0.8341, allocations: 170.2 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/0.8341, allocations: 4.141 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.8341, allocations: 0 / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.403e-05/0.8341, allocations: 3.984 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000593/0.8347, allocations: 462.3 kB / 1.027 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.8348, allocations: 0 / 1.027 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.096e-05/0.8348, allocations: 11.98 kB / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.369e-06/0.8348, allocations: 4 kB / 1.027 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.8349, allocations: 0 / 1.027 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.8349, allocations: 0 / 1.027 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.8349, allocations: 0 / 1.027 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003069/0.8352, allocations: 255.3 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.414e-05/0.8352, allocations: 85.02 kB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.604e-05/0.8353, allocations: 7.984 kB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.8354, allocations: 8 kB / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.35e-05/0.8354, allocations: 11.98 kB / 1.028 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/0.8355, allocations: 7.984 kB / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.344e-05/0.8355, allocations: 99.27 kB / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8355, allocations: 0 / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003101/0.8358, allocations: 51.92 kB / 1.028 GB, free: 10.44 MB / 0.7794 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 (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.0003965/0.8363, allocations: 163 kB / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002417/0.8365, allocations: 96.39 kB / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.8365, allocations: 3.938 kB / 1.028 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.8366, allocations: 51.92 kB / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003054/0.8369, allocations: 25.95 kB / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005461/0.8375, allocations: 288.5 kB / 1.029 GB, free: 9.805 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002936/0.8378, allocations: 0.6965 MB / 1.029 GB, free: 9.082 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.972e-05/0.8379, allocations: 11.44 kB / 1.029 GB, free: 9.07 MB / 0.7794 GB Notification: Performance of SimCode: time 2.01e-07/0.8379, allocations: 4 kB / 1.029 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of Templates: time 0.003975/0.8418, allocations: 1.909 MB / 1.031 GB, free: 7.16 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.makefile make -j1 -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.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_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016LightCalcHelperMain.o OMCppBuildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016LightCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016LightCalcHelperMain.o] Error 1