Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.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.Reinhart2003Light,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.Reinhart2003Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,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.Reinhart2003Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009457/0.0009457, allocations: 99.2 kB / 15.71 MB, free: 452 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.0009629/0.000963, allocations: 175.3 kB / 16.58 MB, free: 6.418 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.502/1.502, allocations: 223.2 MB / 240.6 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.699/2.699, allocations: 436.7 MB / 0.7113 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003349/0.0003349, allocations: 11.94 kB / 0.8717 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8271/0.8274, allocations: 153.7 MB / 1.022 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.001823/0.8293, allocations: 1.246 MB / 1.023 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001216/0.8305, allocations: 0.7018 MB / 1.024 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.699e-05/0.8306, allocations: 3.938 kB / 1.024 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.554e-05/0.8306, allocations: 0 / 1.024 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001118/0.8307, allocations: 23.84 kB / 1.024 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004684/0.8312, allocations: 99.77 kB / 1.024 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001292/0.8314, allocations: 91.64 kB / 1.024 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.601e-05/0.8315, allocations: 27.89 kB / 1.024 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.325e-05/0.8316, allocations: 35.86 kB / 1.024 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.04e-05/0.8317, allocations: 39.81 kB / 1.024 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.8317, allocations: 4 kB / 1.024 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001764/0.8319, allocations: 91.84 kB / 1.024 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.47e-05/0.8319, allocations: 15.92 kB / 1.024 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.965e-05/0.832, allocations: 41.64 kB / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001774/0.8321, allocations: 109.8 kB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.8322, allocations: 0 / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.443e-06/0.8322, allocations: 4 kB / 1.024 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.8322, allocations: 0 / 1.024 GB, free: 14.6 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.000755/0.8329, allocations: 496.1 kB / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.833, allocations: 11.98 kB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.842e-05/0.833, allocations: 15.81 kB / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001707/0.8332, allocations: 184.6 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.419e-05/0.8332, allocations: 11.95 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.196e-05/0.8333, allocations: 4 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/0.8335, allocations: 77.64 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.8335, allocations: 0 / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/0.8335, allocations: 7.984 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.8335, allocations: 0 / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001513/0.8337, allocations: 59.91 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005616/0.8343, allocations: 340.6 kB / 1.025 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002009/0.8345, allocations: 86.7 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.665e-05/0.8346, allocations: 40.84 kB / 1.025 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.8346, allocations: 0 / 1.025 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002341/0.8348, allocations: 99.34 kB / 1.026 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.193e-06/0.8349, allocations: 0 / 1.026 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0004345/0.8353, allocations: 181.5 kB / 1.026 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/0.8354, allocations: 59.34 kB / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.8355, allocations: 151.4 kB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.8355, allocations: 29.7 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.661e-05/0.8356, allocations: 92.14 kB / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.139e-05/0.8356, allocations: 31.62 kB / 1.026 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.967e-06/0.8356, allocations: 4 kB / 1.026 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.8358, allocations: 326.8 kB / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.898e-05/0.8359, allocations: 27.98 kB / 1.026 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.836, allocations: 65.12 kB / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.014e-05/0.8361, allocations: 43.98 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.8361, allocations: 0 / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002489/0.8364, allocations: 141.5 kB / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.8364, allocations: 7.938 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.8364, allocations: 4 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/0.8364, allocations: 12.08 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.8366, allocations: 23.92 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.8366, allocations: 0 / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.572e-05/0.8367, allocations: 19.98 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.8367, allocations: 7.953 kB / 1.027 GB, free: 11.74 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.0001118/0.8368, allocations: 123.3 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.05e-05/0.8368, allocations: 19.91 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003657/0.8372, allocations: 166.2 kB / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.8372, allocations: 0 / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.8372, allocations: 0 / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.8372, allocations: 7.984 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006165/0.8379, allocations: 473.4 kB / 1.027 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.8379, allocations: 0 / 1.027 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.524e-05/0.838, allocations: 12 kB / 1.027 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.838, allocations: 0 / 1.027 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.073e-05/0.838, allocations: 7.984 kB / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.838, allocations: 0 / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.838, allocations: 7.891 kB / 1.028 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003275/0.8384, allocations: 259.2 kB / 1.028 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.495e-05/0.8384, allocations: 88.95 kB / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.621e-05/0.8385, allocations: 4 kB / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.8386, allocations: 15.98 kB / 1.028 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.398e-05/0.8386, allocations: 7.984 kB / 1.028 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-05/0.8387, allocations: 15.94 kB / 1.028 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.239e-05/0.8387, allocations: 105 kB / 1.028 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8388, allocations: 0 / 1.028 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003317/0.8391, allocations: 43.98 kB / 1.028 GB, free: 10.3 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 (14): * Single equations (assignments): 11 * 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.0003977/0.8395, allocations: 164 kB / 1.028 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002491/0.8398, allocations: 99.88 kB / 1.028 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.8398, allocations: 0 / 1.028 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001295/0.8399, allocations: 67.89 kB / 1.028 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003161/0.8402, allocations: 20.03 kB / 1.028 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005526/0.8408, allocations: 280.8 kB / 1.029 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002946/0.8411, allocations: 0.7043 MB / 1.029 GB, free: 8.93 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.516e-05/0.8411, allocations: 19.42 kB / 1.029 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of SimCode: time 3.5e-07/0.8412, allocations: 3.938 kB / 1.029 GB, free: 8.906 MB / 0.7794 GB Notification: Performance of Templates: time 0.004049/0.8452, allocations: 1.983 MB / 1.031 GB, free: 6.922 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.makefile make -j1 -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.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.Reinhart2003LightCalcHelperMain.o OMCppBuildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003LightCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003LightCalcHelperMain.o] Error 1