Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.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.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTem.T|senRelHum.phi|senMasFra.X",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTem.T|senRelHum.phi|senMasFra.X",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008148/0.0008151, allocations: 102.8 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.0009922/0.0009922, allocations: 177.7 kB / 16.58 MB, free: 5.969 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.561/1.561, allocations: 223.2 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.898/2.898, allocations: 436.7 MB / 0.7113 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005236/0.0005236, allocations: 12 kB / 0.8717 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7826/0.7831, allocations: 153.6 MB / 1.022 GB, free: 1.258 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.2032/0.9864, allocations: 159.9 MB / 1.178 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01678/1.003, allocations: 11.81 MB / 1.189 GB, free: 5.031 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001319/1.005, allocations: 23.88 kB / 1.189 GB, free: 5.008 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001154/1.006, allocations: 321.7 kB / 1.19 GB, free: 4.691 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002555/1.008, allocations: 0.8073 MB / 1.191 GB, free: 3.883 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.004308/1.013, allocations: 1.365 MB / 1.192 GB, free: 2.527 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003272/1.016, allocations: 2.415 MB / 1.194 GB, free: 104 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00198/1.018, allocations: 1.192 MB / 1.195 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002366/1.02, allocations: 1.043 MB / 1.196 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009481/1.021, allocations: 0.6882 MB / 1.197 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001242/1.021, allocations: 48 kB / 1.197 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002358/1.024, allocations: 0.8735 MB / 1.198 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.000381/1.024, allocations: 334.7 kB / 1.198 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0004366/1.025, allocations: 300.8 kB / 1.199 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002427/1.027, allocations: 1.921 MB / 1.2 GB, free: 9.668 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/1.027, allocations: 0 / 1.2 GB, free: 9.668 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.454e-06/1.027, allocations: 0 / 1.2 GB, free: 9.668 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.059e-05/1.027, allocations: 0 / 1.2 GB, free: 9.668 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 346 * Number of variables: 346 Notification: Performance of Generate backend data structure: time 0.003123/1.03, allocations: 1.705 MB / 1.202 GB, free: 7.902 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 9.606e-05/1.03, allocations: 15.98 kB / 1.202 GB, free: 7.887 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002432/1.033, allocations: 421.5 kB / 1.203 GB, free: 7.473 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001504/1.034, allocations: 0.9534 MB / 1.204 GB, free: 6.477 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.544e-05/1.034, allocations: 102.7 kB / 1.204 GB, free: 6.375 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001705/1.035, allocations: 132 kB / 1.204 GB, free: 6.246 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002574/1.037, allocations: 1.519 MB / 1.205 GB, free: 4.652 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/1.037, allocations: 0 / 1.205 GB, free: 4.652 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001455/1.037, allocations: 63.95 kB / 1.205 GB, free: 4.59 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.306e-05/1.037, allocations: 32 kB / 1.205 GB, free: 4.559 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002563/1.04, allocations: 1.579 MB / 1.207 GB, free: 2.973 MB / 0.9512 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006816/1.047, allocations: 5.079 MB / 1.212 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002529/1.049, allocations: 1.525 MB / 1.213 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008102/1.05, allocations: 479.6 kB / 1.214 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007216/1.051, allocations: 437.3 kB / 1.214 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001223/1.052, allocations: 0.6995 MB / 1.215 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=107): time 3.045e-06/1.052, allocations: 0 / 1.215 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of matching and sorting (n=107): time 0.004054/1.056, allocations: 1.664 MB / 1.216 GB, free: 8.648 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/1.056, allocations: 200.8 kB / 1.217 GB, free: 8.41 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001221/1.058, allocations: 0.892 MB / 1.218 GB, free: 7.496 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001191/1.058, allocations: 49.7 kB / 1.218 GB, free: 7.441 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005135/1.058, allocations: 0.5896 MB / 1.218 GB, free: 6.844 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003176/1.059, allocations: 350.9 kB / 1.218 GB, free: 6.496 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.087e-05/1.059, allocations: 24 kB / 1.219 GB, free: 6.473 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001655/1.059, allocations: 345.9 kB / 1.219 GB, free: 6.129 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007732/1.06, allocations: 398.4 kB / 1.219 GB, free: 5.742 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008973/1.06, allocations: 0.5707 MB / 1.22 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008584/1.061, allocations: 462.9 kB / 1.22 GB, free: 4.668 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/1.061, allocations: 4 kB / 1.22 GB, free: 4.664 MB / 0.9669 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002573/1.064, allocations: 1.231 MB / 1.221 GB, free: 3.422 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/1.064, allocations: 4 kB / 1.221 GB, free: 3.418 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/1.064, allocations: 7.953 kB / 1.221 GB, free: 3.41 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005494/1.065, allocations: 93 kB / 1.222 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/1.066, allocations: 255.7 kB / 1.222 GB, free: 3.066 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001949/1.068, allocations: 1.546 MB / 1.223 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001197/1.069, allocations: 162.9 kB / 1.223 GB, free: 1.227 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.721e-05/1.069, allocations: 47.97 kB / 1.223 GB, free: 1.18 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 130 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000772/1.07, allocations: 347.2 kB / 1.224 GB, free: 0.8281 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001933/1.07, allocations: 122.5 kB / 1.224 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002994/1.073, allocations: 1.448 MB / 1.225 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.19e-05/1.073, allocations: 12 kB / 1.225 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/1.073, allocations: 0 / 1.225 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.341e-05/1.073, allocations: 15.98 kB / 1.225 GB, free: 15.21 MB / 0.9825 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004547/1.077, allocations: 2.877 MB / 1.228 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/1.078, allocations: 3.953 kB / 1.228 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009435/1.078, allocations: 219.8 kB / 1.228 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004557/1.079, allocations: 84.78 kB / 1.228 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.973e-05/1.079, allocations: 31.97 kB / 1.229 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001849/1.081, allocations: 1.559 MB / 1.23 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/1.081, allocations: 4.062 kB / 1.23 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002594/1.083, allocations: 1.32 MB / 1.231 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006097/1.084, allocations: 371.1 kB / 1.232 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001574/1.084, allocations: 24 kB / 1.232 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008979/1.085, allocations: 121.9 kB / 1.232 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001789/1.085, allocations: 84.86 kB / 1.232 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001038/1.085, allocations: 47.97 kB / 1.232 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0009325/1.086, allocations: 0.6111 MB / 1.233 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.7e-07/1.086, allocations: 0 / 1.233 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001503/1.088, allocations: 490.8 kB / 1.233 GB, free: 7.113 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001631/1.09, allocations: 0.6998 MB / 1.234 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002201/1.092, allocations: 1.148 MB / 1.235 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/1.092, allocations: 0 / 1.235 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001145/1.093, allocations: 0.6758 MB / 1.235 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002109/1.095, allocations: 485.3 kB / 1.236 GB, free: 4.281 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0053/1.1, allocations: 3.149 MB / 1.239 GB, free: 1.102 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007903/1.101, allocations: 1.205 MB / 1.24 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000511/1.102, allocations: 151.3 kB / 1.24 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of SimCode: time 7.72e-07/1.102, allocations: 0 / 1.24 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of Templates: time 0.6698/1.772, allocations: 28 MB / 1.268 GB, free: 227.7 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources""-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherDataCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherDataCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherDataCalcHelperMain.o] Error 1