Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, 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.001215/0.001215, allocations: 178 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.792/1.792, allocations: 205.4 MB / 222.7 MB, free: 5.645 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.778/1.778, allocations: 292.7 MB / 0.5505 GB, free: 14.55 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.0005922/0.0005923, allocations: 17.25 kB / 0.6744 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3343, allocations: 116.3 MB / 0.7879 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.001913/0.3363, allocations: 1.227 MB / 0.7891 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001329/0.3376, allocations: 0.7415 MB / 0.7898 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.897e-05/0.3377, allocations: 0 / 0.7898 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.201e-05/0.3377, allocations: 7.922 kB / 0.7899 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001138/0.3378, allocations: 11.88 kB / 0.7899 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005133/0.3384, allocations: 95.77 kB / 0.79 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001351/0.3385, allocations: 79.77 kB / 0.79 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.3386, allocations: 19.92 kB / 0.79 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.489e-05/0.3387, allocations: 27.91 kB / 0.7901 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.635e-05/0.3388, allocations: 35.84 kB / 0.7901 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.3389, allocations: 4 kB / 0.7901 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001955/0.3391, allocations: 91.84 kB / 0.7902 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.875e-05/0.3391, allocations: 15.95 kB / 0.7902 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.256e-05/0.3392, allocations: 41.64 kB / 0.7903 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001816/0.3393, allocations: 99.98 kB / 0.7904 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.3394, allocations: 0 / 0.7904 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.186e-06/0.3394, allocations: 4 kB / 0.7904 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.3394, allocations: 0 / 0.7904 GB, free: 9.422 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000842/0.3402, allocations: 466.5 kB / 0.7908 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.3403, allocations: 8.031 kB / 0.7908 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.487e-05/0.3404, allocations: 7.906 kB / 0.7908 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001756/0.3406, allocations: 190.8 kB / 0.791 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.6e-05/0.3406, allocations: 37.69 kB / 0.791 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.7e-05/0.3407, allocations: 4 kB / 0.791 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002076/0.3409, allocations: 77.64 kB / 0.7911 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.3409, allocations: 0 / 0.7911 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.3409, allocations: 0 / 0.7911 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.3409, allocations: 0 / 0.7911 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001909/0.3411, allocations: 59.89 kB / 0.7912 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00058/0.3417, allocations: 324.7 kB / 0.7915 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000208/0.3419, allocations: 70.53 kB / 0.7915 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.3421, allocations: 40.84 kB / 0.7916 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.806e-05/0.3421, allocations: 0 / 0.7916 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002741/0.3424, allocations: 111.3 kB / 0.7917 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.302e-06/0.3424, allocations: 0 / 0.7917 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0004828/0.3429, allocations: 169.5 kB / 0.7919 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.964e-05/0.3429, allocations: 63.3 kB / 0.7919 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.3431, allocations: 132.2 kB / 0.792 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.3431, allocations: 33.7 kB / 0.7921 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.572e-05/0.3432, allocations: 96.52 kB / 0.7922 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.15e-05/0.3432, allocations: 27.64 kB / 0.7922 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.543e-06/0.3432, allocations: 0 / 0.7922 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.3434, allocations: 318.8 kB / 0.7925 GB, free: 7 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.3435, allocations: 31.97 kB / 0.7925 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.3436, allocations: 77.06 kB / 0.7926 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001086/0.3437, allocations: 39.97 kB / 0.7926 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3437, allocations: 0 / 0.7926 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002922/0.344, allocations: 141.4 kB / 0.7928 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.3441, allocations: 4 kB / 0.7928 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/0.3441, allocations: 3.984 kB / 0.7928 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.3441, allocations: 4 kB / 0.7928 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.3442, allocations: 15.98 kB / 0.7928 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.3442, allocations: 16.02 kB / 0.7928 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001139/0.3444, allocations: 19.89 kB / 0.7928 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.3444, allocations: 4 kB / 0.7928 GB, free: 6.625 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,occ.y,$PRE.occ.pulseStart,occ.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001306/0.3445, allocations: 122.5 kB / 0.793 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.915e-05/0.3445, allocations: 7.906 kB / 0.793 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.952e-05/0.3446, allocations: 12.7 kB / 0.793 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.3446, allocations: 8 kB / 0.793 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.3446, allocations: 0 / 0.793 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.3446, allocations: 3.953 kB / 0.793 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006986/0.3453, allocations: 434.6 kB / 0.7934 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.3454, allocations: 4 kB / 0.7934 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.13e-05/0.3454, allocations: 15.98 kB / 0.7934 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.3454, allocations: 0 / 0.7934 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.082e-05/0.3455, allocations: 11.94 kB / 0.7934 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.3455, allocations: 0 / 0.7934 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3455, allocations: 0 / 0.7934 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003809/0.3459, allocations: 235.2 kB / 0.7937 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.122e-05/0.346, allocations: 85 kB / 0.7937 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.236e-05/0.346, allocations: 8 kB / 0.7937 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.3461, allocations: 15.94 kB / 0.7938 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.871e-05/0.3462, allocations: 11.92 kB / 0.7938 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.3462, allocations: 4 kB / 0.7938 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.145e-05/0.3463, allocations: 103.2 kB / 0.7939 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3463, allocations: 4 kB / 0.7939 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003316/0.3467, allocations: 40 kB / 0.7939 GB, free: 5.418 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 (occ.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * 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.0004671/0.3471, allocations: 158.8 kB / 0.7941 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00032/0.3475, allocations: 95.81 kB / 0.7942 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3475, allocations: 4 kB / 0.7942 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001535/0.3476, allocations: 55.89 kB / 0.7942 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.348, allocations: 15.09 kB / 0.7942 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007034/0.3487, allocations: 257 kB / 0.7945 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004955/0.3492, allocations: 0.6926 MB / 0.7951 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.894e-05/0.3493, allocations: 19.42 kB / 0.7952 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.3493, allocations: 0 / 0.7952 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of Templates: time 0.005501/0.3548, allocations: 1.852 MB / 0.797 GB, free: 2.234 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile make -j1 -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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.Hunt1979LightCalcHelperMain.o OMCppBuildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979LightCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Occupants.Office.Lighting.Validation.Hunt1979LightCalcHelperMain.o] Error 1