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.001066/0.001066, allocations: 102.7 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.001755/0.001755, allocations: 173.8 kB / 16.58 MB, free: 6.402 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.726/1.726, allocations: 205.4 MB / 222.8 MB, free: 5.648 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.843/1.843, 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.0005905/0.0005907, allocations: 18.44 kB / 0.6744 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3131, allocations: 116.3 MB / 0.7879 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.001916/0.3151, allocations: 1.235 MB / 0.7891 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001355/0.3164, allocations: 0.7338 MB / 0.7898 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.393e-05/0.3165, allocations: 0 / 0.7898 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.076e-05/0.3165, allocations: 3.938 kB / 0.7898 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001107/0.3166, allocations: 19.84 kB / 0.7899 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004886/0.3171, allocations: 99.77 kB / 0.79 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001425/0.3173, allocations: 87.7 kB / 0.79 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.3174, allocations: 11.98 kB / 0.7901 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.3175, allocations: 31.91 kB / 0.7901 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.79e-05/0.3176, allocations: 43.83 kB / 0.7901 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.519e-05/0.3177, allocations: 7.984 kB / 0.7901 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002074/0.3179, allocations: 83.86 kB / 0.7902 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.51e-05/0.3179, allocations: 23.91 kB / 0.7902 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.054e-05/0.318, allocations: 41.64 kB / 0.7903 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001961/0.3182, allocations: 112 kB / 0.7904 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.3182, allocations: 0 / 0.7904 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.006e-06/0.3182, allocations: 0 / 0.7904 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.157e-06/0.3182, allocations: 0 / 0.7904 GB, free: 9.406 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.000824/0.3191, allocations: 492.1 kB / 0.7909 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.3191, allocations: 8.031 kB / 0.7909 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.429e-05/0.3192, allocations: 7.906 kB / 0.7909 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002292/0.3194, allocations: 178.9 kB / 0.791 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.569e-05/0.3195, allocations: 3.984 kB / 0.791 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.192e-05/0.3195, allocations: 12 kB / 0.7911 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002049/0.3197, allocations: 77.58 kB / 0.7911 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.3197, allocations: 7.938 kB / 0.7911 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.3197, allocations: 0 / 0.7911 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.3198, allocations: 4 kB / 0.7911 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001624/0.3199, allocations: 51.97 kB / 0.7912 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006717/0.3206, allocations: 336.7 kB / 0.7915 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002353/0.3209, allocations: 90.7 kB / 0.7916 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.321, allocations: 40.84 kB / 0.7916 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.072e-05/0.321, allocations: 3.984 kB / 0.7916 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003016/0.3213, allocations: 107.3 kB / 0.7917 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.453e-06/0.3213, allocations: 0 / 0.7917 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0004893/0.3218, allocations: 177.5 kB / 0.7919 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.359e-05/0.3219, allocations: 67.34 kB / 0.792 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.3221, allocations: 132.8 kB / 0.7921 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.965e-05/0.3221, allocations: 29.7 kB / 0.7921 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.388e-05/0.3222, allocations: 96.05 kB / 0.7922 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.116e-05/0.3222, allocations: 31.58 kB / 0.7923 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.455e-06/0.3222, allocations: 4 kB / 0.7923 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.3224, allocations: 318.8 kB / 0.7926 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.01e-05/0.3225, allocations: 31.97 kB / 0.7926 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.3226, allocations: 69.14 kB / 0.7927 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.608e-05/0.3227, allocations: 43.91 kB / 0.7927 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3227, allocations: 0 / 0.7927 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000303/0.323, allocations: 141.5 kB / 0.7928 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.3231, allocations: 8 kB / 0.7928 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.3231, allocations: 0 / 0.7928 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.3231, allocations: 4 kB / 0.7928 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.3232, allocations: 19.98 kB / 0.7929 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.3232, allocations: 3.953 kB / 0.7929 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.3233, allocations: 19.92 kB / 0.7929 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.77e-05/0.3234, allocations: 8.062 kB / 0.7929 GB, free: 6.578 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.0001498/0.3235, allocations: 125.8 kB / 0.793 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.137e-05/0.3236, allocations: 11.81 kB / 0.793 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003915/0.324, allocations: 168.3 kB / 0.7932 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.324, allocations: 0 / 0.7932 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.324, allocations: 0 / 0.7932 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/0.324, allocations: 7.953 kB / 0.7932 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007101/0.3247, allocations: 446.4 kB / 0.7936 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/0.3247, allocations: 4 kB / 0.7936 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.292e-05/0.3248, allocations: 15.92 kB / 0.7936 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.3248, allocations: 3.938 kB / 0.7936 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/0.3249, allocations: 12 kB / 0.7937 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.064e-06/0.3249, allocations: 7.938 kB / 0.7937 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3249, allocations: 0 / 0.7937 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003494/0.3252, allocations: 244.4 kB / 0.7939 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.779e-05/0.3253, allocations: 84.95 kB / 0.794 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.032e-05/0.3254, allocations: 4 kB / 0.794 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.3255, allocations: 19.98 kB / 0.794 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.735e-05/0.3255, allocations: 11.94 kB / 0.794 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-05/0.3256, allocations: 7.938 kB / 0.794 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.569e-05/0.3256, allocations: 99.27 kB / 0.7941 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.3256, allocations: 0 / 0.7941 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003235/0.326, allocations: 43.98 kB / 0.7942 GB, free: 5.18 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 (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.0004445/0.3264, allocations: 177 kB / 0.7943 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002797/0.3267, allocations: 99.89 kB / 0.7944 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3267, allocations: 0 / 0.7944 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000125/0.3269, allocations: 63.47 kB / 0.7945 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/0.3272, allocations: 15.98 kB / 0.7945 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006199/0.3278, allocations: 269.3 kB / 0.7948 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005576/0.3284, allocations: 0.6965 MB / 0.7954 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.444e-05/0.3284, allocations: 15.42 kB / 0.7954 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.3285, allocations: 0 / 0.7954 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of Templates: time 0.004843/0.3333, allocations: 1.912 MB / 0.7973 GB, free: 1.895 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++ 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.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