Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTem.T|senRelHum.phi|senMasFra.X",fileNamePrefix="Buildings_9_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_9_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.0009994/0.0009994, allocations: 101.9 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.001458/0.001458, allocations: 174.7 kB / 16.58 MB, free: 6.402 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.556/1.556, 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 9.1.2-maint.9.1.x/package.mo): time 2.766/2.766, allocations: 390.5 MB / 0.6662 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003847/0.000385, allocations: 8 kB / 0.8154 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9695/0.9699, allocations: 142.3 MB / 0.9544 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.2051/1.175, allocations: 159.9 MB / 1.111 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01727/1.192, allocations: 11.82 MB / 1.122 GB, free: 3.941 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001456/1.194, allocations: 27.81 kB / 1.122 GB, free: 3.914 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001194/1.195, allocations: 317.7 kB / 1.122 GB, free: 3.602 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002949/1.198, allocations: 0.804 MB / 1.123 GB, free: 2.797 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.004484/1.203, allocations: 1.373 MB / 1.125 GB, free: 1.434 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003812/1.206, allocations: 2.411 MB / 1.127 GB, free: 15.01 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002263/1.209, allocations: 1.185 MB / 1.128 GB, free: 13.8 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002717/1.211, allocations: 1.039 MB / 1.129 GB, free: 12.76 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001188/1.213, allocations: 0.6804 MB / 1.13 GB, free: 12.08 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001493/1.213, allocations: 44 kB / 1.13 GB, free: 12.04 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00244/1.215, allocations: 0.8891 MB / 1.131 GB, free: 11.14 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003889/1.216, allocations: 338.7 kB / 1.131 GB, free: 10.81 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0004842/1.216, allocations: 300.8 kB / 1.131 GB, free: 10.51 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002805/1.219, allocations: 1.925 MB / 1.133 GB, free: 8.582 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.894e-06/1.219, allocations: 0 / 1.133 GB, free: 8.582 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.575e-06/1.219, allocations: 0 / 1.133 GB, free: 8.582 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.203e-05/1.219, allocations: 0 / 1.133 GB, free: 8.582 MB / 0.8887 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.003338/1.222, allocations: 1.69 MB / 1.135 GB, free: 6.832 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/1.222, allocations: 8.031 kB / 1.135 GB, free: 6.824 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0026/1.225, allocations: 421.5 kB / 1.135 GB, free: 6.41 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001912/1.227, allocations: 0.9573 MB / 1.136 GB, free: 5.41 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001148/1.227, allocations: 102.7 kB / 1.136 GB, free: 5.309 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001755/1.227, allocations: 131.9 kB / 1.136 GB, free: 5.18 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00279/1.23, allocations: 1.52 MB / 1.138 GB, free: 3.586 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.741e-05/1.23, allocations: 4 kB / 1.138 GB, free: 3.582 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001337/1.23, allocations: 60 kB / 1.138 GB, free: 3.523 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-05/1.23, allocations: 35.98 kB / 1.138 GB, free: 3.488 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002774/1.233, allocations: 1.587 MB / 1.14 GB, free: 1.895 MB / 0.8887 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.007829/1.241, allocations: 5.079 MB / 1.144 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002599/1.244, allocations: 1.518 MB / 1.146 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008757/1.244, allocations: 483.6 kB / 1.146 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007826/1.245, allocations: 445.3 kB / 1.147 GB, free: 9.977 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001236/1.247, allocations: 0.6957 MB / 1.148 GB, free: 9.266 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=107): time 2.455e-06/1.247, allocations: 0 / 1.148 GB, free: 9.266 MB / 0.9044 GB Notification: Performance of matching and sorting (n=107): time 0.004223/1.251, allocations: 1.672 MB / 1.149 GB, free: 7.562 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001261/1.251, allocations: 196.9 kB / 1.149 GB, free: 7.328 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001426/1.252, allocations: 0.8842 MB / 1.15 GB, free: 6.422 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001476/1.253, allocations: 49.7 kB / 1.15 GB, free: 6.367 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006402/1.253, allocations: 0.5935 MB / 1.151 GB, free: 5.766 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003706/1.254, allocations: 358.9 kB / 1.151 GB, free: 5.41 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.202e-05/1.254, allocations: 20 kB / 1.151 GB, free: 5.391 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001606/1.254, allocations: 341.9 kB / 1.152 GB, free: 5.051 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007882/1.255, allocations: 402.4 kB / 1.152 GB, free: 4.656 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009969/1.256, allocations: 0.5707 MB / 1.152 GB, free: 4.035 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008478/1.256, allocations: 466.8 kB / 1.153 GB, free: 3.578 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/1.256, allocations: 0 / 1.153 GB, free: 3.578 MB / 0.9044 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002578/1.259, allocations: 1.231 MB / 1.154 GB, free: 2.34 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/1.259, allocations: 13.12 kB / 1.154 GB, free: 2.328 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/1.259, allocations: 4 kB / 1.154 GB, free: 2.324 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00054/1.26, allocations: 88.77 kB / 1.154 GB, free: 2.234 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/1.261, allocations: 255.7 kB / 1.154 GB, free: 1.984 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001991/1.263, allocations: 1.536 MB / 1.156 GB, free: 316 kB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0012/1.264, allocations: 164.7 kB / 1.156 GB, free: 152 kB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.893e-05/1.264, allocations: 47.97 kB / 1.156 GB, free: 104 kB / 0.9044 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.0008131/1.265, allocations: 351.5 kB / 1.157 GB, free: 15.75 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002523/1.265, allocations: 122.5 kB / 1.157 GB, free: 15.63 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003129/1.268, allocations: 1.44 MB / 1.158 GB, free: 14.17 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.582e-05/1.268, allocations: 12 kB / 1.158 GB, free: 14.16 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/1.268, allocations: 4 kB / 1.158 GB, free: 14.16 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/1.268, allocations: 7.969 kB / 1.158 GB, free: 14.15 MB / 0.92 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.004844/1.273, allocations: 2.874 MB / 1.161 GB, free: 11.19 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/1.273, allocations: 0 / 1.161 GB, free: 11.19 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009509/1.274, allocations: 223.8 kB / 1.161 GB, free: 10.97 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004629/1.275, allocations: 84.7 kB / 1.161 GB, free: 10.89 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.447e-05/1.275, allocations: 39.97 kB / 1.161 GB, free: 10.85 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001872/1.277, allocations: 1.556 MB / 1.163 GB, free: 9.156 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/1.277, allocations: 0 / 1.163 GB, free: 9.156 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002636/1.279, allocations: 1.324 MB / 1.164 GB, free: 7.809 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006766/1.28, allocations: 371.1 kB / 1.164 GB, free: 7.426 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001615/1.28, allocations: 24 kB / 1.164 GB, free: 7.402 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009117/1.281, allocations: 127.7 kB / 1.164 GB, free: 7.277 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001797/1.281, allocations: 84.88 kB / 1.165 GB, free: 7.195 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001072/1.281, allocations: 47.97 kB / 1.165 GB, free: 7.148 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0009122/1.282, allocations: 0.6071 MB / 1.165 GB, free: 6.531 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/1.282, allocations: 0 / 1.165 GB, free: 6.531 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001506/1.284, allocations: 490.8 kB / 1.166 GB, free: 6.051 MB / 0.92 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.001705/1.285, allocations: 0.7037 MB / 1.166 GB, free: 5.531 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002598/1.288, allocations: 1.148 MB / 1.167 GB, free: 4.371 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.14e-05/1.288, allocations: 7.75 kB / 1.168 GB, free: 4.363 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001277/1.289, allocations: 0.6759 MB / 1.168 GB, free: 3.68 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002603/1.292, allocations: 495.4 kB / 1.169 GB, free: 3.207 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005957/1.298, allocations: 3.13 MB / 1.172 GB, free: 40 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009123/1.299, allocations: 1.205 MB / 1.173 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005991/1.3, allocations: 163.3 kB / 1.173 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of SimCode: time 1.382e-06/1.3, allocations: 0 / 1.173 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of Templates: time 0.05014/1.35, allocations: 28.01 MB / 1.2 GB, free: 2.75 MB / 0.9512 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile make -j1 -f Buildings_9_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 9.1.2-maint.9.1.x/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 9.1.2-maint.9.1.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherDataCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherDataCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherDataCalcHelperMain.o] Error 1