Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0009118/0.0009118, allocations: 99.36 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.001177/0.001178, allocations: 179.2 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.514/1.514, allocations: 223.3 MB / 240.6 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.843/2.843, allocations: 436.7 MB / 0.7113 GB, free: 7.773 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003998/0.0004001, allocations: 8 kB / 0.8717 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7858/0.7862, allocations: 153.6 MB / 1.022 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.001952/0.7882, allocations: 1.227 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001419/0.7897, allocations: 0.7056 MB / 1.024 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.477e-05/0.7897, allocations: 0 / 1.024 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.261e-05/0.7898, allocations: 3.984 kB / 1.024 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001219/0.7899, allocations: 11.88 kB / 1.024 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004876/0.7904, allocations: 99.77 kB / 1.024 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001278/0.7905, allocations: 79.7 kB / 1.024 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.52e-05/0.7906, allocations: 7.984 kB / 1.024 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.263e-05/0.7907, allocations: 35.91 kB / 1.024 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.753e-05/0.7908, allocations: 31.84 kB / 1.024 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.7908, allocations: 4 kB / 1.024 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001745/0.791, allocations: 91.84 kB / 1.024 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.802e-05/0.7911, allocations: 23.84 kB / 1.024 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.009e-05/0.7911, allocations: 41.69 kB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001682/0.7913, allocations: 97.8 kB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.7913, allocations: 0 / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.823e-06/0.7913, allocations: 0 / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.7913, allocations: 0 / 1.024 GB, free: 14.61 MB / 0.7794 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.0007521/0.7921, allocations: 470.4 kB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.7921, allocations: 15.92 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.638e-05/0.7922, allocations: 11.91 kB / 1.025 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.7923, allocations: 173.4 kB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.699e-05/0.7924, allocations: 33.69 kB / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.196e-05/0.7924, allocations: 11.95 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002137/0.7927, allocations: 85.58 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.7927, allocations: 0 / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.7927, allocations: 0 / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.7927, allocations: 7.938 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000178/0.7929, allocations: 47.95 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005396/0.7934, allocations: 324.7 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002067/0.7937, allocations: 78.56 kB / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.7938, allocations: 40.84 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.7938, allocations: 0 / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002548/0.7941, allocations: 99.34 kB / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.573e-06/0.7941, allocations: 3.938 kB / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0004818/0.7946, allocations: 173.5 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.104e-05/0.7946, allocations: 59.39 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.7947, allocations: 134 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.7948, allocations: 25.7 kB / 1.026 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.424e-05/0.7948, allocations: 100.4 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.758e-05/0.7949, allocations: 23.7 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.492e-06/0.7949, allocations: 0 / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.795, allocations: 322.8 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.7951, allocations: 39.91 kB / 1.026 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/0.7953, allocations: 73.12 kB / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001066/0.7954, allocations: 35.98 kB / 1.026 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.7954, allocations: 0 / 1.026 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002853/0.7957, allocations: 137.5 kB / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.7957, allocations: 8 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.7957, allocations: 480 / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.7957, allocations: 11.97 kB / 1.027 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.7959, allocations: 27.92 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.7959, allocations: 0 / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.796, allocations: 23.86 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.796, allocations: 4 kB / 1.027 GB, free: 11.8 MB / 0.7794 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.0001055/0.7961, allocations: 127.4 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.625e-05/0.7962, allocations: 11.91 kB / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.43e-05/0.7962, allocations: 12.7 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.7962, allocations: 0 / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.7962, allocations: 3.938 kB / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.7962, allocations: 4 kB / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005771/0.7968, allocations: 434.3 kB / 1.027 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.7968, allocations: 0 / 1.027 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.122e-05/0.7969, allocations: 11.98 kB / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-06/0.7969, allocations: 0 / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/0.7969, allocations: 7.984 kB / 1.027 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.7969, allocations: 4 kB / 1.027 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.7969, allocations: 4 kB / 1.027 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003179/0.7973, allocations: 227.3 kB / 1.027 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.172e-05/0.7973, allocations: 85.02 kB / 1.027 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.515e-05/0.7973, allocations: 7.922 kB / 1.027 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/0.7975, allocations: 19.98 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.443e-05/0.7976, allocations: 11.98 kB / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.682e-05/0.7976, allocations: 4 kB / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.109e-05/0.7976, allocations: 101.9 kB / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7976, allocations: 0 / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003091/0.798, allocations: 47.98 kB / 1.028 GB, free: 10.59 MB / 0.7794 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.0003659/0.7983, allocations: 153.5 kB / 1.028 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002876/0.7986, allocations: 91.88 kB / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.7986, allocations: 0 / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001365/0.7988, allocations: 64.14 kB / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/0.7991, allocations: 12.94 kB / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004814/0.7996, allocations: 256.7 kB / 1.028 GB, free: 10 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002696/0.7999, allocations: 0.6928 MB / 1.029 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.874e-05/0.7999, allocations: 15.42 kB / 1.029 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.7999, allocations: 0 / 1.029 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of Templates: time 0.003752/0.8037, allocations: 1.859 MB / 1.031 GB, free: 7.418 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile make -j1 -f Buildings_latest_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_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979LightCalcHelperMain.o OMCppBuildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979LightCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979LightCalcHelperMain.o] Error 1