Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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.Hunt1979Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_9_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.001193/0.001193, allocations: 99.59 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.001915/0.001915, allocations: 175.9 kB / 16.58 MB, free: 6.422 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.543/1.543, allocations: 223.3 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.738/2.738, allocations: 390.5 MB / 0.6662 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003773/0.0003775, allocations: 8 kB / 0.8154 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7613/0.7617, allocations: 142.3 MB / 0.9544 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.001646/0.7634, allocations: 1.207 MB / 0.9556 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001315/0.7647, allocations: 0.7121 MB / 0.9563 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.776e-05/0.7648, allocations: 0 / 0.9563 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.218e-05/0.7648, allocations: 7.922 kB / 0.9563 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.693e-05/0.7649, allocations: 14.55 kB / 0.9563 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004872/0.7654, allocations: 101.4 kB / 0.9564 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.7656, allocations: 75.56 kB / 0.9565 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.7657, allocations: 17.58 kB / 0.9565 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.915e-05/0.7658, allocations: 30.52 kB / 0.9565 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.656e-05/0.7659, allocations: 43.84 kB / 0.9566 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.975e-05/0.7659, allocations: 3.219 kB / 0.9566 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001975/0.7661, allocations: 81.58 kB / 0.9566 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.913e-05/0.7661, allocations: 19.88 kB / 0.9567 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.822e-05/0.7662, allocations: 36.14 kB / 0.9567 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001798/0.7664, allocations: 105.2 kB / 0.9568 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.7664, allocations: 4.688 kB / 0.9568 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.084e-06/0.7664, allocations: 0 / 0.9568 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.7664, allocations: 4 kB / 0.9568 GB, free: 6.312 MB / 0.7169 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.000701/0.7671, allocations: 468.1 kB / 0.9572 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.7672, allocations: 8.906 kB / 0.9573 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.448e-05/0.7672, allocations: 13.33 kB / 0.9573 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.7673, allocations: 179.2 kB / 0.9574 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.131e-05/0.7674, allocations: 34.48 kB / 0.9575 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.137e-05/0.7674, allocations: 8.219 kB / 0.9575 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002135/0.7677, allocations: 76.8 kB / 0.9576 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.7677, allocations: 0 / 0.9576 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.7677, allocations: 1.062 kB / 0.9576 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.7677, allocations: 1.094 kB / 0.9576 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001898/0.7679, allocations: 64.91 kB / 0.9576 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000491/0.7684, allocations: 317.2 kB / 0.9579 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001939/0.7686, allocations: 78.25 kB / 0.958 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.993e-05/0.7687, allocations: 35.38 kB / 0.958 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.7688, allocations: 5.344 kB / 0.958 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002334/0.769, allocations: 103.6 kB / 0.9581 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.583e-06/0.769, allocations: 4 kB / 0.9581 GB, free: 5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0004503/0.7695, allocations: 177.1 kB / 0.9583 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.912e-05/0.7695, allocations: 53.88 kB / 0.9584 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.267e-05/0.7696, allocations: 133.8 kB / 0.9585 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.7696, allocations: 26.77 kB / 0.9585 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.925e-05/0.7697, allocations: 99.94 kB / 0.9586 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.224e-05/0.7697, allocations: 19.11 kB / 0.9586 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.844e-06/0.7697, allocations: 1.188 kB / 0.9586 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.69e-05/0.7698, allocations: 325.1 kB / 0.9589 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.7699, allocations: 25.52 kB / 0.959 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.77, allocations: 83.59 kB / 0.959 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001069/0.7701, allocations: 38.06 kB / 0.9591 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.7701, allocations: 0 / 0.9591 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002796/0.7704, allocations: 150.2 kB / 0.9592 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.7704, allocations: 9.703 kB / 0.9592 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.7704, allocations: 1.562 kB / 0.9592 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.7705, allocations: 1.625 kB / 0.9592 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.7706, allocations: 20.92 kB / 0.9593 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.7706, allocations: 1.312 kB / 0.9593 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.7707, allocations: 26.8 kB / 0.9593 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/0.7707, allocations: 4.906 kB / 0.9593 GB, free: 4.02 MB / 0.7169 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 7.794e-05/0.7708, allocations: 121.4 kB / 0.9594 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.63e-05/0.7708, allocations: 6.938 kB / 0.9594 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.039e-05/0.7709, allocations: 19.31 kB / 0.9594 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.7709, allocations: 1.156 kB / 0.9594 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.7709, allocations: 4 kB / 0.9594 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.7709, allocations: 1.062 kB / 0.9594 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005241/0.7714, allocations: 432.9 kB / 0.9598 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.7714, allocations: 3.953 kB / 0.9598 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.381e-05/0.7715, allocations: 14.02 kB / 0.9599 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.7715, allocations: 1.375 kB / 0.9599 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.7716, allocations: 9.297 kB / 0.9599 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.7716, allocations: 480 / 0.9599 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.7716, allocations: 1.344 kB / 0.9599 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003004/0.7719, allocations: 234.4 kB / 0.9601 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.757e-05/0.7719, allocations: 91.7 kB / 0.9602 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.408e-05/0.772, allocations: 1.375 kB / 0.9602 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.7721, allocations: 12.23 kB / 0.9602 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.257e-05/0.7721, allocations: 12.11 kB / 0.9602 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-05/0.7722, allocations: 4.125 kB / 0.9602 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.033e-05/0.7722, allocations: 109.2 kB / 0.9603 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.9e-07/0.7722, allocations: 4 kB / 0.9603 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003237/0.7726, allocations: 39.62 kB / 0.9604 GB, free: 3.055 MB / 0.7169 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.0003207/0.7729, allocations: 165.4 kB / 0.9605 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00029/0.7732, allocations: 97.5 kB / 0.9606 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.7732, allocations: 1.375 kB / 0.9606 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001325/0.7733, allocations: 52.81 kB / 0.9607 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/0.7736, allocations: 10.88 kB / 0.9607 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004534/0.7741, allocations: 252.9 kB / 0.9609 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001343/0.7742, allocations: 0.6927 MB / 0.9616 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.025e-05/0.7743, allocations: 20.02 kB / 0.9616 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.7743, allocations: 0 / 0.9616 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of Templates: time 0.003996/0.7783, allocations: 1.853 MB / 0.9634 GB, free: 0.9883 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile make -j1 -f Buildings_9_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_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979LightCalcHelperMain.o OMCppBuildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979LightCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979LightCalcHelperMain.o] Error 1