Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.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.Residential.Heating.Validation.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009991/0.001004, allocations: 100.5 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.001049/0.001049, allocations: 175.2 kB / 16.58 MB, free: 6.879 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.63/1.63, allocations: 223.3 MB / 240.6 MB, free: 5.418 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.551/2.551, allocations: 390.5 MB / 0.6662 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003365/0.0003366, allocations: 8 kB / 0.8154 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9743/0.9746, allocations: 142.3 MB / 0.9544 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.001703/0.9764, allocations: 1.181 MB / 0.9556 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001146/0.9775, allocations: 0.6783 MB / 0.9562 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.307e-05/0.9776, allocations: 0 / 0.9562 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.747e-05/0.9776, allocations: 7.938 kB / 0.9562 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.577e-05/0.9777, allocations: 4.906 kB / 0.9562 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005021/0.9782, allocations: 101.2 kB / 0.9563 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001264/0.9783, allocations: 73.72 kB / 0.9564 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.9785, allocations: 5.531 kB / 0.9564 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.499e-05/0.9786, allocations: 25.83 kB / 0.9564 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.229e-05/0.9786, allocations: 43.16 kB / 0.9565 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.996e-05/0.9787, allocations: 6.875 kB / 0.9565 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000184/0.9789, allocations: 81.09 kB / 0.9565 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.21e-05/0.9789, allocations: 18.27 kB / 0.9566 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.913e-05/0.9789, allocations: 35.39 kB / 0.9566 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001757/0.9791, allocations: 99.03 kB / 0.9567 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.764e-06/0.9791, allocations: 4.906 kB / 0.9567 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.864e-06/0.9791, allocations: 0 / 0.9567 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.9792, allocations: 0 / 0.9567 GB, free: 6.328 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000568/0.9797, allocations: 414.4 kB / 0.9571 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.994e-05/0.9798, allocations: 8.719 kB / 0.9571 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.384e-05/0.9798, allocations: 12.27 kB / 0.9571 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.872e-05/0.9799, allocations: 170.2 kB / 0.9573 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.32e-05/0.98, allocations: 2.375 kB / 0.9573 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.958e-05/0.98, allocations: 7.625 kB / 0.9573 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.9802, allocations: 71.25 kB / 0.9574 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.9802, allocations: 0 / 0.9574 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.9802, allocations: 5.062 kB / 0.9574 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.9802, allocations: 1.188 kB / 0.9574 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.9804, allocations: 48.8 kB / 0.9574 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005891/0.981, allocations: 329.6 kB / 0.9577 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001233/0.9811, allocations: 47.59 kB / 0.9578 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.11e-05/0.9812, allocations: 34.31 kB / 0.9578 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.9812, allocations: 5.188 kB / 0.9578 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000186/0.9814, allocations: 88.55 kB / 0.9579 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.313e-06/0.9814, allocations: 0 / 0.9579 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003997/0.9818, allocations: 147.6 kB / 0.958 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/0.9819, allocations: 54.16 kB / 0.9581 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.817e-05/0.982, allocations: 124.1 kB / 0.9582 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.982, allocations: 26.83 kB / 0.9582 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.51e-05/0.9821, allocations: 90.83 kB / 0.9583 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.986e-05/0.9821, allocations: 18.23 kB / 0.9583 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.774e-06/0.9821, allocations: 5.156 kB / 0.9583 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.645e-05/0.9822, allocations: 317.3 kB / 0.9586 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.512e-05/0.9822, allocations: 32.47 kB / 0.9587 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.662e-05/0.9823, allocations: 50.53 kB / 0.9587 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.883e-05/0.9824, allocations: 39.61 kB / 0.9588 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.9824, allocations: 0.875 kB / 0.9588 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002136/0.9827, allocations: 123.1 kB / 0.9589 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.9827, allocations: 3.688 kB / 0.9589 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.9827, allocations: 5.766 kB / 0.9589 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.9827, allocations: 2.062 kB / 0.9589 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.059e-05/0.9828, allocations: 13.64 kB / 0.9589 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.9828, allocations: 0 / 0.9589 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.99e-05/0.9829, allocations: 17.66 kB / 0.9589 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.9829, allocations: 7.312 kB / 0.9589 GB, free: 4.238 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (hea.occ,$PRE.hea.on,hea.on,$PRE.hea.p,hea.p,$PRE.hea.curSeed,hea.curSeed,$whenCondition1,hea.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 8.454e-05/0.983, allocations: 118.2 kB / 0.959 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.57e-05/0.983, allocations: 11.23 kB / 0.959 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.793e-05/0.9831, allocations: 9.938 kB / 0.9591 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.9831, allocations: 3.953 kB / 0.9591 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.9831, allocations: 1.312 kB / 0.9591 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.9831, allocations: 4 kB / 0.9591 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003832/0.9835, allocations: 383.8 kB / 0.9594 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.9835, allocations: 1.188 kB / 0.9594 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.811e-05/0.9835, allocations: 7.719 kB / 0.9594 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.9835, allocations: 5.516 kB / 0.9594 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.9836, allocations: 3.984 kB / 0.9594 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.9836, allocations: 5.688 kB / 0.9594 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.9836, allocations: 0 / 0.9594 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002594/0.9838, allocations: 203.3 kB / 0.9596 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.82e-05/0.9839, allocations: 86.78 kB / 0.9597 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.102e-05/0.9839, allocations: 7.953 kB / 0.9597 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.959e-05/0.984, allocations: 9.438 kB / 0.9597 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.158e-05/0.984, allocations: 5.766 kB / 0.9597 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.9841, allocations: 1.812 kB / 0.9597 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.672e-05/0.9841, allocations: 96.17 kB / 0.9598 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9841, allocations: 1.812 kB / 0.9598 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000303/0.9844, allocations: 39.25 kB / 0.9599 GB, free: 3.332 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: 6 (hea.sampleTrigger,$whenCondition1,hea.occ,hea.on,hea.p,hea.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * 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.0003509/0.9848, allocations: 177 kB / 0.96 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002319/0.985, allocations: 78.62 kB / 0.9601 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.985, allocations: 0 / 0.9601 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.584e-05/0.9851, allocations: 39.88 kB / 0.9602 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/0.9854, allocations: 12.8 kB / 0.9602 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003956/0.9858, allocations: 233.2 kB / 0.9604 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001821/0.986, allocations: 0.6929 MB / 0.9611 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.196e-05/0.986, allocations: 14.89 kB / 0.9611 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.986, allocations: 0 / 0.9611 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of Templates: time 0.003827/0.9899, allocations: 1.607 MB / 0.9627 GB, free: 1.398 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.makefile make -j1 -f Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.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.Residential.Heating.Validation.Nicol2001HeatingUKCalcHelperMain.o OMCppBuildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUKCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUKCalcHelperMain.o] Error 1