Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.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.Residential.Heating.Validation.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009988/0.0009989, allocations: 99.34 kB / 16.02 MB, free: 76 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.002062/0.002062, allocations: 185 kB / 16.92 MB, free: 6.75 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.836/1.836, allocations: 205.4 MB / 223.1 MB, free: 5.777 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.823/1.823, allocations: 292.7 MB / 0.5509 GB, free: 14.44 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.0005993/0.000599, allocations: 12.28 kB / 0.675 GB, free: 26.03 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2928/0.2934, allocations: 116.3 MB / 0.7885 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.001661/0.2951, allocations: 1.196 MB / 0.7897 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00122/0.2963, allocations: 0.7606 MB / 0.7905 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.369e-05/0.2964, allocations: 0 / 0.7905 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.256e-05/0.2964, allocations: 3.984 kB / 0.7905 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.442e-05/0.2965, allocations: 15.86 kB / 0.7905 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004875/0.297, allocations: 99.77 kB / 0.7906 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.2971, allocations: 67.84 kB / 0.7906 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.821e-05/0.2972, allocations: 15.98 kB / 0.7906 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.922e-05/0.2973, allocations: 27.86 kB / 0.7907 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.926e-05/0.2974, allocations: 35.89 kB / 0.7907 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.2974, allocations: 7.938 kB / 0.7907 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001719/0.2976, allocations: 83.91 kB / 0.7908 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.596e-05/0.2976, allocations: 15.92 kB / 0.7908 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.59e-05/0.2977, allocations: 57.55 kB / 0.7909 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001614/0.2979, allocations: 96.05 kB / 0.791 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.2979, allocations: 0 / 0.791 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.044e-06/0.2979, allocations: 0 / 0.791 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.269e-06/0.2979, allocations: 4 kB / 0.791 GB, free: 9.074 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006027/0.2985, allocations: 413 kB / 0.7914 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.2986, allocations: 8.031 kB / 0.7914 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.246e-05/0.2986, allocations: 8.844 kB / 0.7914 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.2988, allocations: 180.2 kB / 0.7915 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.014e-05/0.2988, allocations: 8.359 kB / 0.7915 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.891e-05/0.2988, allocations: 8.375 kB / 0.7916 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.299, allocations: 77.91 kB / 0.7916 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.299, allocations: 0 / 0.7916 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.299, allocations: 0 / 0.7916 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.2991, allocations: 4 kB / 0.7916 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001346/0.2992, allocations: 39.97 kB / 0.7917 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006084/0.2998, allocations: 320.7 kB / 0.792 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001406/0.3, allocations: 54.55 kB / 0.792 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.311e-05/0.3001, allocations: 36.97 kB / 0.7921 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.3001, allocations: 0 / 0.7921 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002298/0.3003, allocations: 79.38 kB / 0.7921 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.583e-06/0.3003, allocations: 4 kB / 0.7921 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004758/0.3008, allocations: 149.5 kB / 0.7923 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/0.3009, allocations: 59.41 kB / 0.7923 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.301, allocations: 121.8 kB / 0.7925 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.301, allocations: 25.7 kB / 0.7925 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.964e-05/0.3011, allocations: 96.05 kB / 0.7926 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.895e-05/0.3011, allocations: 7.844 kB / 0.7926 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-05/0.3012, allocations: 25.7 kB / 0.7926 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.3014, allocations: 330.7 kB / 0.7929 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.522e-05/0.3014, allocations: 27.98 kB / 0.793 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.3016, allocations: 46.56 kB / 0.793 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001766/0.3017, allocations: 86.78 kB / 0.7931 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.3018, allocations: 4 kB / 0.7931 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002406/0.302, allocations: 121.5 kB / 0.7932 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.302, allocations: 4 kB / 0.7932 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.302, allocations: 0 / 0.7932 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.3021, allocations: 4 kB / 0.7932 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.929e-05/0.3022, allocations: 19.92 kB / 0.7932 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.3022, allocations: 0 / 0.7932 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.441e-05/0.3023, allocations: 11.91 kB / 0.7932 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.3023, allocations: 0 / 0.7932 GB, free: 6.492 MB / 0.6075 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,hea.curSeed,$PRE.hea.curSeed,hea.p,$PRE.hea.p,hea.on,$PRE.hea.on,hea.sampleTrigger,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000126/0.3024, allocations: 129.8 kB / 0.7934 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.794e-05/0.3024, allocations: 7.906 kB / 0.7934 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.311e-05/0.3025, allocations: 12.36 kB / 0.7934 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3025, allocations: 0 / 0.7934 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.3025, allocations: 0 / 0.7934 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.3025, allocations: 4 kB / 0.7934 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004892/0.303, allocations: 398.3 kB / 0.7938 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.303, allocations: 0 / 0.7938 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.938e-05/0.3031, allocations: 7.984 kB / 0.7938 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3031, allocations: 0 / 0.7938 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.3031, allocations: 4 kB / 0.7938 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3031, allocations: 3.938 kB / 0.7938 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.3031, allocations: 3.938 kB / 0.7938 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000278/0.3034, allocations: 219.4 kB / 0.794 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.494e-05/0.3034, allocations: 81.09 kB / 0.7941 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/0.3035, allocations: 0 / 0.7941 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.473e-05/0.3036, allocations: 11.94 kB / 0.7941 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.192e-05/0.3036, allocations: 7.922 kB / 0.7941 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.3036, allocations: 4 kB / 0.7941 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.136e-05/0.3037, allocations: 95.27 kB / 0.7942 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3037, allocations: 0 / 0.7942 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002837/0.304, allocations: 43.89 kB / 0.7942 GB, free: 5.379 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: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003291/0.3043, allocations: 155.3 kB / 0.7944 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002498/0.3046, allocations: 79.91 kB / 0.7944 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3046, allocations: 0 / 0.7944 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.625e-05/0.3047, allocations: 35.98 kB / 0.7945 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/0.3049, allocations: 7.984 kB / 0.7945 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004066/0.3054, allocations: 253.4 kB / 0.7947 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002534/0.3056, allocations: 0.6848 MB / 0.7954 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.977e-05/0.3057, allocations: 15.42 kB / 0.7954 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of SimCode: time 1.783e-06/0.3057, allocations: 0 / 0.7954 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of Templates: time 0.003455/0.3091, allocations: 1.611 MB / 0.797 GB, free: 2.5 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.makefile make -j1 -f Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEUCalcHelperMain.o OMCppBuildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEUCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEUCalcHelperMain.o] Error 1