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.001193/0.001193, allocations: 96.14 kB / 15.87 MB, free: 16 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.001383/0.001384, allocations: 193.1 kB / 16.79 MB, free: 6.812 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.667/1.667, allocations: 205.1 MB / 222.6 MB, free: 4.762 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.842/1.842, allocations: 292.3 MB / 0.5491 GB, free: 13.63 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.001361/0.001361, allocations: 61.72 kB / 0.6715 GB, free: 26.47 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.2924, allocations: 114.6 MB / 0.7833 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.002783/0.2952, allocations: 1.6 MB / 0.7849 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001329/0.2965, allocations: 0.8073 MB / 0.7857 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.949e-05/0.2966, allocations: 4 kB / 0.7857 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.548e-05/0.2966, allocations: 3.938 kB / 0.7857 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.942e-05/0.2967, allocations: 7.875 kB / 0.7857 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000457/0.2972, allocations: 111.8 kB / 0.7858 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001129/0.2973, allocations: 95.69 kB / 0.7859 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.768e-05/0.2974, allocations: 16 kB / 0.7859 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.195e-05/0.2975, allocations: 43.78 kB / 0.7859 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.731e-05/0.2976, allocations: 47.75 kB / 0.786 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.2976, allocations: 8 kB / 0.786 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000167/0.2978, allocations: 91.84 kB / 0.7861 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.83e-05/0.2979, allocations: 15.92 kB / 0.7861 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.358e-05/0.2979, allocations: 43.72 kB / 0.7861 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001736/0.2981, allocations: 120 kB / 0.7863 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.2981, allocations: 4 kB / 0.7863 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.81e-07/0.2981, allocations: 0 / 0.7863 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.808e-06/0.2981, allocations: 0 / 0.7863 GB, free: 10.95 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.0007777/0.2989, allocations: 0.5001 MB / 0.7868 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.2989, allocations: 8.031 kB / 0.7868 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.32e-05/0.299, allocations: 8.844 kB / 0.7868 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.2991, allocations: 176.2 kB / 0.7869 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.2992, allocations: 8.375 kB / 0.7869 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.823e-05/0.2992, allocations: 8.375 kB / 0.787 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.2994, allocations: 85.88 kB / 0.787 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.2994, allocations: 0 / 0.787 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.2994, allocations: 0 / 0.787 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.2994, allocations: 8 kB / 0.787 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001448/0.2996, allocations: 43.97 kB / 0.7871 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005326/0.3001, allocations: 344.7 kB / 0.7874 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002174/0.3003, allocations: 78.61 kB / 0.7875 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.092e-05/0.3004, allocations: 48.81 kB / 0.7875 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.853e-05/0.3005, allocations: 0 / 0.7875 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002257/0.3007, allocations: 99.36 kB / 0.7876 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/0.3007, allocations: 0 / 0.7876 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0004187/0.3011, allocations: 177.6 kB / 0.7878 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.019e-05/0.3012, allocations: 59.39 kB / 0.7879 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.3013, allocations: 144.5 kB / 0.788 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.3013, allocations: 25.7 kB / 0.788 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.191e-05/0.3014, allocations: 104.1 kB / 0.7881 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.442e-05/0.3014, allocations: 19.72 kB / 0.7881 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.773e-05/0.3015, allocations: 33.7 kB / 0.7882 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.3016, allocations: 326.8 kB / 0.7885 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.67e-05/0.3017, allocations: 27.98 kB / 0.7885 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.3018, allocations: 73.06 kB / 0.7886 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001882/0.302, allocations: 112.9 kB / 0.7887 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.302, allocations: 0 / 0.7887 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002411/0.3023, allocations: 145.4 kB / 0.7888 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.3023, allocations: 4 kB / 0.7888 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.3023, allocations: 4 kB / 0.7888 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.3023, allocations: 0 / 0.7888 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.3025, allocations: 15.98 kB / 0.7888 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.3025, allocations: 7.938 kB / 0.7889 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.93e-05/0.3026, allocations: 15.98 kB / 0.7889 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.3026, allocations: 4 kB / 0.7889 GB, free: 8.004 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.0001127/0.3027, allocations: 133.5 kB / 0.789 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.231e-05/0.3027, allocations: 11.91 kB / 0.789 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003752/0.3031, allocations: 177.3 kB / 0.7892 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.3031, allocations: 4 kB / 0.7892 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.3032, allocations: 0 / 0.7892 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.3032, allocations: 0 / 0.7892 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006292/0.3038, allocations: 462.3 kB / 0.7896 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3038, allocations: 3.938 kB / 0.7896 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.123e-05/0.3039, allocations: 11.98 kB / 0.7896 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.3039, allocations: 4 kB / 0.7896 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.3039, allocations: 4 kB / 0.7896 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.3039, allocations: 0 / 0.7896 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.3039, allocations: 3.938 kB / 0.7897 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003343/0.3043, allocations: 251.2 kB / 0.7899 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.345e-05/0.3044, allocations: 89 kB / 0.79 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.46e-05/0.3044, allocations: 0 / 0.79 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.3045, allocations: 20.12 kB / 0.79 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.89e-05/0.3046, allocations: 19.84 kB / 0.79 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/0.3046, allocations: 4 kB / 0.79 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.909e-05/0.3047, allocations: 111.2 kB / 0.7901 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3047, allocations: 0 / 0.7901 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003155/0.305, allocations: 44 kB / 0.7902 GB, free: 6.574 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 (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.0003165/0.3053, allocations: 164.1 kB / 0.7903 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002451/0.3056, allocations: 91.89 kB / 0.7904 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3056, allocations: 0 / 0.7904 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.3057, allocations: 68.09 kB / 0.7905 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002987/0.306, allocations: 19.92 kB / 0.7905 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005042/0.3065, allocations: 294.9 kB / 0.7908 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002631/0.3068, allocations: 0.7004 MB / 0.7915 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.535e-05/0.3069, allocations: 19.44 kB / 0.7915 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of SimCode: time 1.653e-06/0.3069, allocations: 0 / 0.7915 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of Templates: time 0.003673/0.3105, allocations: 1.988 MB / 0.7934 GB, free: 3.199 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++ -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.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