Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0008346/0.0008346, allocations: 100.5 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.0009095/0.0009098, allocations: 174.9 kB / 16.58 MB, free: 6.422 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.678/1.678, allocations: 205.4 MB / 222.7 MB, free: 5.656 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.8/1.8, allocations: 292.7 MB / 0.5505 GB, free: 14.54 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.0005721/0.0005725, allocations: 17.25 kB / 0.6744 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.3215, allocations: 116.3 MB / 0.7879 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.002232/0.3239, allocations: 1.243 MB / 0.7891 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001663/0.3256, allocations: 0.7532 MB / 0.7899 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.541e-05/0.3256, allocations: 0 / 0.7899 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.26e-05/0.3257, allocations: 7.938 kB / 0.7899 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000132/0.3258, allocations: 15.84 kB / 0.7899 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005417/0.3263, allocations: 103.8 kB / 0.79 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001267/0.3265, allocations: 83.7 kB / 0.7901 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.3266, allocations: 11.98 kB / 0.7901 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.3267, allocations: 39.84 kB / 0.7901 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001142/0.3268, allocations: 43.77 kB / 0.7902 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.3269, allocations: 4 kB / 0.7902 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000185/0.327, allocations: 83.91 kB / 0.7902 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.06e-05/0.3271, allocations: 19.91 kB / 0.7903 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.764e-05/0.3271, allocations: 45.64 kB / 0.7903 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002605/0.3274, allocations: 112 kB / 0.7904 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.438e-06/0.3274, allocations: 4 kB / 0.7904 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.993e-06/0.3274, allocations: 0 / 0.7904 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.3274, allocations: 0 / 0.7904 GB, free: 9.383 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.0008726/0.3283, allocations: 0.4883 MB / 0.7909 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.3284, allocations: 15.97 kB / 0.7909 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.849e-05/0.3284, allocations: 11.91 kB / 0.7909 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001771/0.3286, allocations: 178.9 kB / 0.7911 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.3286, allocations: 4 kB / 0.7911 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.007e-05/0.3287, allocations: 4 kB / 0.7911 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002084/0.3289, allocations: 89.5 kB / 0.7912 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.3289, allocations: 0 / 0.7912 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.809e-05/0.3289, allocations: 4 kB / 0.7912 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.3289, allocations: 8 kB / 0.7912 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001473/0.3291, allocations: 47.97 kB / 0.7912 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006207/0.3297, allocations: 336.6 kB / 0.7916 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002059/0.33, allocations: 82.67 kB / 0.7916 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.301e-05/0.3301, allocations: 40.84 kB / 0.7917 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.76e-05/0.3301, allocations: 7.969 kB / 0.7917 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002463/0.3304, allocations: 107.4 kB / 0.7918 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.492e-06/0.3304, allocations: 0 / 0.7918 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0004324/0.3308, allocations: 181.4 kB / 0.792 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001361/0.331, allocations: 59.41 kB / 0.792 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.3311, allocations: 144.7 kB / 0.7922 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/0.3311, allocations: 29.7 kB / 0.7922 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.014e-05/0.3312, allocations: 104 kB / 0.7923 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.713e-05/0.3312, allocations: 19.72 kB / 0.7923 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.938e-06/0.3313, allocations: 4 kB / 0.7923 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001939/0.3315, allocations: 322.8 kB / 0.7926 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.904e-05/0.3315, allocations: 27.98 kB / 0.7926 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002044/0.3318, allocations: 80.02 kB / 0.7927 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.958e-05/0.3319, allocations: 35.98 kB / 0.7928 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3319, allocations: 0 / 0.7928 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003377/0.3322, allocations: 145.5 kB / 0.7929 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/0.3322, allocations: 11.95 kB / 0.7929 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.3323, allocations: 0 / 0.7929 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.3323, allocations: 4 kB / 0.7929 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.3324, allocations: 19.92 kB / 0.7929 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.3324, allocations: 0 / 0.7929 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.3325, allocations: 27.83 kB / 0.793 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.519e-05/0.3325, allocations: 4 kB / 0.793 GB, free: 6.527 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 ($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.0002062/0.3328, allocations: 125.9 kB / 0.7931 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.91e-05/0.3328, allocations: 11.89 kB / 0.7931 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003809/0.3332, allocations: 170.2 kB / 0.7933 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.3332, allocations: 4 kB / 0.7933 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.3332, allocations: 0 / 0.7933 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.3332, allocations: 11.86 kB / 0.7933 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006374/0.3339, allocations: 470.2 kB / 0.7937 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.3339, allocations: 3.953 kB / 0.7937 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.129e-05/0.334, allocations: 15.98 kB / 0.7937 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.334, allocations: 4 kB / 0.7937 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.334, allocations: 8 kB / 0.7937 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.334, allocations: 0 / 0.7937 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.334, allocations: 0 / 0.7937 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003669/0.3344, allocations: 254.5 kB / 0.794 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.473e-05/0.3344, allocations: 92.88 kB / 0.7941 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.134e-05/0.3345, allocations: 3.984 kB / 0.7941 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.3346, allocations: 20 kB / 0.7941 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.973e-05/0.3347, allocations: 11.97 kB / 0.7941 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.383e-05/0.3348, allocations: 4 kB / 0.7941 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.935e-05/0.3348, allocations: 105.7 kB / 0.7942 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3349, allocations: 0 / 0.7942 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000375/0.3352, allocations: 51.98 kB / 0.7943 GB, free: 5.082 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 (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.000474/0.3357, allocations: 154.4 kB / 0.7944 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000318/0.336, allocations: 91.89 kB / 0.7945 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.3361, allocations: 0 / 0.7945 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003041/0.3364, allocations: 68.09 kB / 0.7946 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003659/0.3367, allocations: 20.36 kB / 0.7946 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005944/0.3374, allocations: 308.4 kB / 0.7949 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004977/0.3379, allocations: 0.6965 MB / 0.7956 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.066e-05/0.3379, allocations: 19.42 kB / 0.7956 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of SimCode: time 3.3e-07/0.3379, allocations: 0 / 0.7956 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of Templates: time 0.004672/0.3426, allocations: 1.97 MB / 0.7975 GB, free: 1.711 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.makefile make -j1 -f Buildings_8_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_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003LightCalcHelperMain.o OMCppBuildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003LightCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003LightCalcHelperMain.o] Error 1