Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.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.Love1998Light2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008793/0.0008792, allocations: 100.7 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.001363/0.001363, allocations: 178.6 kB / 16.58 MB, free: 6.418 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.551/1.551, allocations: 223.2 MB / 240.6 MB, free: 5.445 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.518/2.518, allocations: 390.4 MB / 0.6662 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003311/0.0003311, allocations: 8 kB / 0.8154 GB, free: 14.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8826/0.8829, allocations: 142.3 MB / 0.9544 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.001584/0.8846, allocations: 1.206 MB / 0.9556 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001148/0.8857, allocations: 0.7105 MB / 0.9563 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.419e-05/0.8858, allocations: 1.406 kB / 0.9563 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.83e-05/0.8858, allocations: 3.938 kB / 0.9563 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001076/0.8859, allocations: 14.17 kB / 0.9563 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004935/0.8864, allocations: 93.52 kB / 0.9564 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001218/0.8866, allocations: 81.12 kB / 0.9565 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.375e-05/0.8867, allocations: 5.188 kB / 0.9565 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.309e-05/0.8868, allocations: 34.95 kB / 0.9565 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.06e-05/0.8868, allocations: 42.84 kB / 0.9565 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.8869, allocations: 3.375 kB / 0.9565 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001814/0.8871, allocations: 85.03 kB / 0.9566 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.683e-05/0.8871, allocations: 16.17 kB / 0.9566 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.736e-05/0.8871, allocations: 31.36 kB / 0.9567 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001707/0.8873, allocations: 104.8 kB / 0.9568 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.8873, allocations: 0 / 0.9568 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.146e-06/0.8873, allocations: 0 / 0.9568 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.94e-06/0.8873, allocations: 0 / 0.9568 GB, free: 6.32 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.0006309/0.888, allocations: 462.2 kB / 0.9572 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.888, allocations: 9.375 kB / 0.9572 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.289e-05/0.8881, allocations: 15.39 kB / 0.9572 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.935e-05/0.8882, allocations: 175.5 kB / 0.9574 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.8882, allocations: 6.578 kB / 0.9574 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.8882, allocations: 12.97 kB / 0.9574 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.8884, allocations: 66.97 kB / 0.9575 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.8884, allocations: 3.984 kB / 0.9575 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.8884, allocations: 7.938 kB / 0.9575 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.309e-06/0.8885, allocations: 1.406 kB / 0.9575 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001305/0.8886, allocations: 45.05 kB / 0.9575 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004798/0.8891, allocations: 317.3 kB / 0.9578 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001511/0.8892, allocations: 70.08 kB / 0.9579 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.133e-05/0.8893, allocations: 34.44 kB / 0.9579 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.8894, allocations: 5.562 kB / 0.9579 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002293/0.8896, allocations: 101.6 kB / 0.958 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.793e-06/0.8896, allocations: 0 / 0.958 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0004165/0.89, allocations: 167.4 kB / 0.9582 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/0.8901, allocations: 56.53 kB / 0.9583 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.8902, allocations: 128.4 kB / 0.9584 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.8902, allocations: 30.61 kB / 0.9584 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.313e-05/0.8903, allocations: 91.44 kB / 0.9585 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.797e-05/0.8903, allocations: 22.78 kB / 0.9585 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.033e-06/0.8903, allocations: 0.8438 kB / 0.9585 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.475e-05/0.8904, allocations: 321 kB / 0.9588 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.955e-05/0.8905, allocations: 36.86 kB / 0.9589 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.313e-05/0.8906, allocations: 65.72 kB / 0.9589 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.214e-05/0.8907, allocations: 39.73 kB / 0.959 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.8907, allocations: 1.125 kB / 0.959 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000248/0.891, allocations: 129.5 kB / 0.9591 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.891, allocations: 6.562 kB / 0.9591 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.891, allocations: 5.266 kB / 0.9591 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/0.891, allocations: 10.42 kB / 0.9591 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.8911, allocations: 23.77 kB / 0.9591 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.667e-06/0.8912, allocations: 2.031 kB / 0.9591 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.8913, allocations: 17.47 kB / 0.9591 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.8913, allocations: 7.672 kB / 0.9592 GB, free: 4.09 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 0.0001076/0.8914, allocations: 118.5 kB / 0.9593 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.552e-05/0.8914, allocations: 3.531 kB / 0.9593 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000313/0.8917, allocations: 162 kB / 0.9594 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.8918, allocations: 3.953 kB / 0.9594 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.8918, allocations: 2.062 kB / 0.9594 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.8918, allocations: 0 / 0.9594 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004977/0.8923, allocations: 436.5 kB / 0.9598 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.8923, allocations: 0.9062 kB / 0.9598 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.572e-05/0.8924, allocations: 9 kB / 0.9599 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.8924, allocations: 3.953 kB / 0.9599 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.8924, allocations: 5.609 kB / 0.9599 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.8924, allocations: 1.344 kB / 0.9599 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-06/0.8924, allocations: 0 / 0.9599 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002622/0.8927, allocations: 239.7 kB / 0.9601 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.118e-05/0.8927, allocations: 88.5 kB / 0.9602 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.455e-05/0.8927, allocations: 3.953 kB / 0.9602 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.8929, allocations: 20.95 kB / 0.9602 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.471e-05/0.8929, allocations: 7.578 kB / 0.9602 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/0.8929, allocations: 3.594 kB / 0.9602 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.003e-05/0.893, allocations: 105.9 kB / 0.9603 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.893, allocations: 0 / 0.9603 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003388/0.8933, allocations: 47.33 kB / 0.9604 GB, free: 3.047 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 (12): * Single equations (assignments): 9 * 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.0003653/0.8937, allocations: 162.2 kB / 0.9605 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002382/0.894, allocations: 88.09 kB / 0.9606 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.894, allocations: 1.375 kB / 0.9606 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.8941, allocations: 50.16 kB / 0.9607 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002945/0.8944, allocations: 13.48 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.0004393/0.8948, allocations: 261.5 kB / 0.9609 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001379/0.895, allocations: 0.6931 MB / 0.9616 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.762e-05/0.895, allocations: 16.92 kB / 0.9616 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of SimCode: time 2e-07/0.895, allocations: 4 kB / 0.9616 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of Templates: time 0.003998/0.899, allocations: 1.797 MB / 0.9634 GB, free: 1.012 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile make -j1 -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.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.Love1998Light2CalcHelperMain.o OMCppBuildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2CalcHelperMain.o] Error 1