Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.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.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C.C|C1.C|vol4.C.1.|C2.C|C3.C",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource") translateModel(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C.C|C1.C|vol4.C.1.|C2.C|C3.C",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, 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.00169/0.00169, allocations: 178.8 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.488/1.488, allocations: 223.2 MB / 240.6 MB, free: 5.434 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.626/2.626, allocations: 390.4 MB / 0.6662 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000366/0.0003661, allocations: 8 kB / 0.8154 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.984/0.9843, allocations: 142.3 MB / 0.9544 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.32/1.304, allocations: 278.8 MB / 1.227 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.03425/1.339, allocations: 24.18 MB / 1.25 GB, free: 440 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004987/1.344, allocations: 103.3 kB / 1.25 GB, free: 336 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.8463/2.19, allocations: 1.188 MB / 1.252 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01641/2.207, allocations: 4.374 MB / 1.256 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007281/2.214, allocations: 1.968 MB / 1.258 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.02007/2.234, allocations: 10.43 MB / 1.268 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00573/2.24, allocations: 2.533 MB / 1.27 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01133/2.251, allocations: 3.197 MB / 1.273 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009036/2.26, allocations: 2.83 MB / 1.276 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001713/2.262, allocations: 151.8 kB / 1.276 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01141/2.273, allocations: 2.412 MB / 1.279 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003713/2.277, allocations: 1.425 MB / 1.28 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003906/2.281, allocations: 0.7628 MB / 1.281 GB, free: 28.15 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00922/2.29, allocations: 4.748 MB / 1.286 GB, free: 27.78 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/2.29, allocations: 0 / 1.286 GB, free: 27.78 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.234e-06/2.29, allocations: 0 / 1.286 GB, free: 27.78 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002638/2.291, allocations: 0 / 1.286 GB, free: 27.78 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 693 * Number of variables: 693 Notification: Performance of Generate backend data structure: time 0.01143/2.302, allocations: 3.477 MB / 1.289 GB, free: 26.05 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.881e-05/2.302, allocations: 18 kB / 1.289 GB, free: 26.05 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006944/2.309, allocations: 0.9404 MB / 1.29 GB, free: 25.84 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007102/2.316, allocations: 2.39 MB / 1.292 GB, free: 25.28 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004476/2.317, allocations: 279.9 kB / 1.292 GB, free: 25.2 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001328/2.318, allocations: 284.3 kB / 1.293 GB, free: 25.2 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008382/2.326, allocations: 3.356 MB / 1.296 GB, free: 24.94 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.188e-05/2.327, allocations: 3.906 kB / 1.296 GB, free: 24.94 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002821/2.327, allocations: 111.9 kB / 1.296 GB, free: 24.94 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001172/2.327, allocations: 112.1 kB / 1.296 GB, free: 24.93 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004698/2.332, allocations: 2.807 MB / 1.299 GB, free: 24.89 MB / 1.014 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.01841/2.35, allocations: 13.28 MB / 1.312 GB, free: 17.57 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002449/2.353, allocations: 1.717 MB / 1.314 GB, free: 17.52 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001418/2.354, allocations: 1.125 MB / 1.315 GB, free: 17.51 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004724/2.355, allocations: 324.3 kB / 1.315 GB, free: 17.22 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.9e-05/2.355, allocations: 62.78 kB / 1.315 GB, free: 17.18 MB / 1.014 GB Notification: Performance of pre-optimization done (n=186): time 3.346e-06/2.355, allocations: 0 / 1.315 GB, free: 17.18 MB / 1.014 GB Notification: Performance of matching and sorting (n=186): time 0.005047/2.36, allocations: 2.787 MB / 1.318 GB, free: 16.96 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/2.36, allocations: 76.02 kB / 1.318 GB, free: 16.89 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002891/2.363, allocations: 1.98 MB / 1.32 GB, free: 16.66 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002851/2.363, allocations: 68.95 kB / 1.32 GB, free: 16.62 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001014/2.364, allocations: 1.401 MB / 1.321 GB, free: 16.11 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007511/2.365, allocations: 0.6575 MB / 1.322 GB, free: 15.68 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/2.365, allocations: 43.66 kB / 1.322 GB, free: 15.68 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002019/2.365, allocations: 390.2 kB / 1.322 GB, free: 15.38 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001306/2.366, allocations: 0.8016 MB / 1.323 GB, free: 15.37 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001681/2.368, allocations: 1.442 MB / 1.324 GB, free: 14.66 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001489/2.37, allocations: 1.056 MB / 1.326 GB, free: 14.62 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.168e-06/2.37, allocations: 3.469 kB / 1.326 GB, free: 14.62 MB / 1.014 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.004153/2.374, allocations: 2.51 MB / 1.328 GB, free: 14.4 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003102/2.374, allocations: 474.4 kB / 1.328 GB, free: 13.84 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.095e-05/2.374, allocations: 9.75 kB / 1.328 GB, free: 13.84 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.537e-05/2.374, allocations: 25.47 kB / 1.328 GB, free: 13.84 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00237/2.376, allocations: 0.564 MB / 1.329 GB, free: 13.83 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002187/2.379, allocations: 4.153 MB / 1.333 GB, free: 9.734 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003862/2.383, allocations: 406.6 kB / 1.333 GB, free: 9.609 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001708/2.383, allocations: 89.42 kB / 1.334 GB, free: 9.609 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/2.383, allocations: 3.188 kB / 1.334 GB, free: 9.609 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00335/2.386, allocations: 2.239 MB / 1.336 GB, free: 9.551 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-05/2.386, allocations: 18.41 kB / 1.336 GB, free: 9.547 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.551e-05/2.386, allocations: 25.34 kB / 1.336 GB, free: 9.547 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00166/2.388, allocations: 479.6 kB / 1.336 GB, free: 9.547 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.953e-05/2.388, allocations: 26.41 kB / 1.336 GB, free: 9.547 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00343/2.391, allocations: 392.6 kB / 1.337 GB, free: 9.438 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001508/2.391, allocations: 86.22 kB / 1.337 GB, free: 9.438 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (261): * Single equations (assignments): 254 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002136/2.394, allocations: 0.8627 MB / 1.338 GB, free: 9.242 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008356/2.394, allocations: 268.1 kB / 1.338 GB, free: 9.109 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003887/2.398, allocations: 2.169 MB / 1.34 GB, free: 8.812 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.168e-05/2.398, allocations: 18.62 kB / 1.34 GB, free: 8.812 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/2.398, allocations: 0 / 1.34 GB, free: 8.812 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002806/2.401, allocations: 1.921 MB / 1.342 GB, free: 8.324 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01119/2.412, allocations: 5.233 MB / 1.347 GB, free: 6.758 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.31e-05/2.412, allocations: 6.906 kB / 1.347 GB, free: 6.754 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002241/2.415, allocations: 0.5017 MB / 1.347 GB, free: 6.668 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-05/2.415, allocations: 11.41 kB / 1.347 GB, free: 6.668 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001689/2.415, allocations: 52.14 kB / 1.347 GB, free: 6.664 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002569/2.418, allocations: 4.13 MB / 1.352 GB, free: 18.53 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.644e-06/2.418, allocations: 9.469 kB / 1.352 GB, free: 18.52 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005591/2.423, allocations: 3.278 MB / 1.355 GB, free: 17.73 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002172/2.425, allocations: 0.5779 MB / 1.355 GB, free: 17.4 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008668/2.426, allocations: 44.06 kB / 1.355 GB, free: 17.4 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002877/2.429, allocations: 251.8 kB / 1.356 GB, free: 17.3 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002299/2.429, allocations: 126 kB / 1.356 GB, free: 17.25 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002097/2.43, allocations: 71.12 kB / 1.356 GB, free: 17.24 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.002833/2.432, allocations: 1.318 MB / 1.357 GB, free: 16.87 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.6e-07/2.432, allocations: 0 / 1.357 GB, free: 16.87 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.006579/2.439, allocations: 1.727 MB / 1.359 GB, free: 16.61 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 20 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,vol.dynBal.mC[1],vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mC[1],vol2.dynBal.medium.Xi[1],vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mC[1],vol3.dynBal.medium.Xi[1],vol3.dynBal.U,vol3.dynBal.m,vol3.dynBal.mC[1],vol4.dynBal.medium.Xi[1],vol4.dynBal.U,vol4.dynBal.m,vol4.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (186): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001068/2.44, allocations: 376.2 kB / 1.359 GB, free: 16.45 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0067/2.447, allocations: 3.347 MB / 1.362 GB, free: 15.98 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/2.447, allocations: 2.531 kB / 1.362 GB, free: 15.98 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001725/2.449, allocations: 1.05 MB / 1.363 GB, free: 15.84 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00821/2.457, allocations: 1.61 MB / 1.365 GB, free: 15.29 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01517/2.472, allocations: 8.158 MB / 1.373 GB, free: 10.59 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003169/2.475, allocations: 2.192 MB / 1.375 GB, free: 8.52 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001294/2.476, allocations: 247.2 kB / 1.375 GB, free: 8.289 MB / 1.029 GB Notification: Performance of SimCode: time 1.864e-06/2.477, allocations: 0 / 1.375 GB, free: 8.289 MB / 1.029 GB Notification: Performance of Templates: time 0.1813/2.658, allocations: 141.6 MB / 1.514 GB, free: 11.59 MB / 1.17 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.makefile make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.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"." -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" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_9_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSourceCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSourceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSourceCalcHelperMain.o] Error 1