Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.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.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008378/0.0008378, allocations: 102.6 kB / 15.71 MB, free: 460 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.0009496/0.0009498, allocations: 177.1 kB / 16.58 MB, free: 6.859 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.489/1.489, allocations: 223.2 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.868/2.868, allocations: 436.7 MB / 0.7113 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004411/0.0004411, allocations: 8 kB / 0.8717 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9451/0.9456, allocations: 153.7 MB / 1.022 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.001823/0.9474, allocations: 1.184 MB / 1.023 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001362/0.9488, allocations: 0.6784 MB / 1.024 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.524e-05/0.9489, allocations: 4 kB / 1.024 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.751e-05/0.9489, allocations: 3.938 kB / 1.024 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.591e-05/0.949, allocations: 11.91 kB / 1.024 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005808/0.9496, allocations: 95.77 kB / 1.024 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000122/0.9497, allocations: 67.78 kB / 1.024 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.9499, allocations: 11.98 kB / 1.024 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.275e-05/0.95, allocations: 27.91 kB / 1.024 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.554e-05/0.95, allocations: 35.84 kB / 1.024 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.9501, allocations: 4 kB / 1.024 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001825/0.9503, allocations: 83.84 kB / 1.024 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.518e-05/0.9503, allocations: 11.98 kB / 1.024 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.826e-05/0.9503, allocations: 37.64 kB / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001914/0.9505, allocations: 101.8 kB / 1.024 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.9506, allocations: 4 kB / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.372e-06/0.9506, allocations: 0 / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.503e-06/0.9506, allocations: 4 kB / 1.024 GB, free: 14.71 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007099/0.9513, allocations: 404.8 kB / 1.024 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/0.9514, allocations: 15.98 kB / 1.024 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.622e-05/0.9514, allocations: 11.84 kB / 1.024 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.9516, allocations: 167.1 kB / 1.025 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.275e-05/0.9516, allocations: 4 kB / 1.025 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.406e-05/0.9517, allocations: 15.89 kB / 1.025 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001972/0.9519, allocations: 73.64 kB / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.527e-06/0.9519, allocations: 0 / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.9519, allocations: 4 kB / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.9519, allocations: 3.938 kB / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/0.952, allocations: 39.97 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006619/0.9527, allocations: 332.6 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001289/0.9529, allocations: 46.56 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.749e-05/0.9529, allocations: 36.97 kB / 1.025 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.101e-05/0.953, allocations: 3.984 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002092/0.9532, allocations: 79.33 kB / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.223e-06/0.9532, allocations: 4 kB / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0004218/0.9536, allocations: 153.6 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.897e-05/0.9537, allocations: 55.41 kB / 1.025 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.9538, allocations: 113.8 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.9539, allocations: 29.7 kB / 1.026 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.602e-05/0.9539, allocations: 92.31 kB / 1.026 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/0.954, allocations: 11.81 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.257e-06/0.954, allocations: 11.94 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.9542, allocations: 326.8 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.427e-05/0.9542, allocations: 23.98 kB / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.959e-05/0.9543, allocations: 54.48 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.038e-05/0.9544, allocations: 36 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.9544, allocations: 0 / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002268/0.9547, allocations: 117.5 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.9547, allocations: 5.406 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.9547, allocations: 4 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.9547, allocations: 4.062 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.297e-05/0.9548, allocations: 11.98 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.9549, allocations: 7.938 kB / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.496e-05/0.9549, allocations: 19.83 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/0.955, allocations: 4 kB / 1.026 GB, free: 12.2 MB / 0.7794 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 0.0001223/0.9551, allocations: 117.8 kB / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.219e-05/0.9551, allocations: 4 kB / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.968e-05/0.9551, allocations: 12.38 kB / 1.026 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.9552, allocations: 0 / 1.026 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.9552, allocations: 4 kB / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.9552, allocations: 3.984 kB / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004843/0.9557, allocations: 378.4 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.9557, allocations: 0 / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.151e-05/0.9557, allocations: 15.98 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.9557, allocations: 0 / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.9558, allocations: 7.938 kB / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.9558, allocations: 0 / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.9558, allocations: 0 / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003039/0.9561, allocations: 223.9 kB / 1.027 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.286e-05/0.9562, allocations: 81.02 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.456e-05/0.9562, allocations: 4 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.858e-05/0.9563, allocations: 11.98 kB / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.086e-05/0.9563, allocations: 3.938 kB / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-05/0.9564, allocations: 11.98 kB / 1.027 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.714e-05/0.9564, allocations: 87.94 kB / 1.027 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.9564, allocations: 0 / 1.027 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000322/0.9568, allocations: 47.86 kB / 1.027 GB, free: 11.11 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: 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.0004762/0.9572, allocations: 162.4 kB / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000246/0.9575, allocations: 79.95 kB / 1.027 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.9575, allocations: 0 / 1.027 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.9576, allocations: 35.98 kB / 1.027 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002769/0.9579, allocations: 11.89 kB / 1.027 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004702/0.9584, allocations: 244.8 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/0.9587, allocations: 0.6906 MB / 1.028 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.049e-05/0.9587, allocations: 7.438 kB / 1.028 GB, free: 9.828 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.9588, allocations: 0 / 1.028 GB, free: 9.828 MB / 0.7794 GB Notification: Performance of Templates: time 0.004294/0.9631, allocations: 1.607 MB / 1.03 GB, free: 8.227 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.makefile make -j1 -f Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.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.Residential.Heating.Validation.Nicol2001HeatingPakistanCalcHelperMain.o OMCppBuildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistanCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistanCalcHelperMain.o] Error 1