Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C.C|C1.C|vol4.C.1.|C2.C|C3.C",fileNamePrefix="Buildings_latest_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_latest_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.001049/0.001049, 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.00162/0.001621, allocations: 175.3 kB / 16.58 MB, free: 6.422 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.588/1.588, allocations: 223.3 MB / 240.6 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.761/2.761, allocations: 436.7 MB / 0.7113 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004425/0.0004426, allocations: 12 kB / 0.8717 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8557/0.8561, allocations: 153.6 MB / 1.022 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 1.283/2.139, allocations: 278.8 MB / 1.294 GB, free: 8.77 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0321/2.171, allocations: 24.17 MB / 1.318 GB, free: 8.348 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005378/2.177, allocations: 106.4 kB / 1.318 GB, free: 8.348 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005102/2.182, allocations: 1.205 MB / 1.319 GB, free: 8.328 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01464/2.196, allocations: 4.364 MB / 1.323 GB, free: 8.133 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0073/2.204, allocations: 1.961 MB / 1.325 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0142/2.218, allocations: 10.45 MB / 1.335 GB, free: 8.055 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005576/2.224, allocations: 2.537 MB / 1.338 GB, free: 23.69 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009262/2.233, allocations: 3.197 MB / 1.341 GB, free: 23.66 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007124/2.24, allocations: 2.829 MB / 1.344 GB, free: 23.65 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001571/2.242, allocations: 150.2 kB / 1.344 GB, free: 23.65 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01021/2.252, allocations: 2.407 MB / 1.346 GB, free: 23.61 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.003567/2.256, allocations: 1.433 MB / 1.347 GB, free: 23.61 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.00296/2.258, allocations: 0.7632 MB / 1.348 GB, free: 23.57 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01012/2.269, allocations: 4.741 MB / 1.353 GB, free: 23.21 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 1.298e-05/2.269, allocations: 2.625 kB / 1.353 GB, free: 23.21 MB / 1.014 GB Notification: Performance of FrontEnd: time 4.438e-06/2.269, allocations: 0 / 1.353 GB, free: 23.21 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0003098/2.269, allocations: 0 / 1.353 GB, free: 23.21 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.01004/2.279, allocations: 3.48 MB / 1.356 GB, free: 21.22 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/2.279, allocations: 15.2 kB / 1.356 GB, free: 21.21 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006936/2.286, allocations: 0.9435 MB / 1.357 GB, free: 20.83 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006705/2.293, allocations: 2.383 MB / 1.359 GB, free: 19.83 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003128/2.293, allocations: 279.6 kB / 1.36 GB, free: 19.76 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009664/2.294, allocations: 295.7 kB / 1.36 GB, free: 19.75 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007107/2.301, allocations: 3.35 MB / 1.363 GB, free: 18.84 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-05/2.301, allocations: 5.672 kB / 1.363 GB, free: 18.83 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003479/2.302, allocations: 113.1 kB / 1.363 GB, free: 18.83 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001475/2.302, allocations: 111.5 kB / 1.364 GB, free: 18.82 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005314/2.307, allocations: 2.802 MB / 1.366 GB, free: 18.33 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.01994/2.327, allocations: 13.28 MB / 1.379 GB, free: 9.125 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002862/2.33, allocations: 1.731 MB / 1.381 GB, free: 8.875 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00157/2.332, allocations: 1.118 MB / 1.382 GB, free: 8.727 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005749/2.332, allocations: 335.2 kB / 1.382 GB, free: 8.418 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.115e-05/2.332, allocations: 59.31 kB / 1.382 GB, free: 8.375 MB / 1.014 GB Notification: Performance of pre-optimization done (n=186): time 5.781e-06/2.332, allocations: 0 / 1.382 GB, free: 8.375 MB / 1.014 GB Notification: Performance of matching and sorting (n=186): time 0.005682/2.338, allocations: 2.786 MB / 1.385 GB, free: 7.855 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.493e-05/2.338, allocations: 71.97 kB / 1.385 GB, free: 7.789 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002968/2.341, allocations: 1.981 MB / 1.387 GB, free: 7.227 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002909/2.341, allocations: 69.8 kB / 1.387 GB, free: 7.191 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001167/2.343, allocations: 1.412 MB / 1.389 GB, free: 6.516 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007717/2.343, allocations: 0.6533 MB / 1.389 GB, free: 6.035 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/2.344, allocations: 43.5 kB / 1.389 GB, free: 6.035 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002007/2.344, allocations: 387.3 kB / 1.39 GB, free: 5.707 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001332/2.345, allocations: 0.8015 MB / 1.39 GB, free: 5.582 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00179/2.347, allocations: 1.444 MB / 1.392 GB, free: 4.727 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0016/2.349, allocations: 1.062 MB / 1.393 GB, free: 4.594 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.097e-05/2.349, allocations: 6.672 kB / 1.393 GB, free: 4.59 MB / 1.014 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.004156/2.353, allocations: 2.51 MB / 1.395 GB, free: 4.133 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004485/2.353, allocations: 464.7 kB / 1.396 GB, free: 3.574 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.614e-05/2.353, allocations: 14.25 kB / 1.396 GB, free: 3.574 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.684e-05/2.353, allocations: 23.22 kB / 1.396 GB, free: 3.574 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002525/2.356, allocations: 0.5645 MB / 1.396 GB, free: 3.48 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002793/2.359, allocations: 4.16 MB / 1.4 GB, free: 15.34 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003976/2.363, allocations: 409.2 kB / 1.401 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001986/2.363, allocations: 90.77 kB / 1.401 GB, free: 15.14 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/2.363, allocations: 2.812 kB / 1.401 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003612/2.366, allocations: 2.24 MB / 1.403 GB, free: 14.85 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.357e-05/2.366, allocations: 16.12 kB / 1.403 GB, free: 14.85 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.523e-05/2.367, allocations: 25.22 kB / 1.403 GB, free: 14.85 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001688/2.368, allocations: 478.2 kB / 1.404 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.071e-05/2.368, allocations: 32.86 kB / 1.404 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003605/2.372, allocations: 383.2 kB / 1.404 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000168/2.372, allocations: 90.98 kB / 1.404 GB, free: 14.46 MB / 1.029 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.002207/2.374, allocations: 0.8618 MB / 1.405 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008359/2.375, allocations: 272.7 kB / 1.405 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003592/2.379, allocations: 2.148 MB / 1.407 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.675e-05/2.379, allocations: 23.94 kB / 1.407 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/2.379, allocations: 0 / 1.407 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002527/2.381, allocations: 1.922 MB / 1.409 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0088/2.39, allocations: 5.237 MB / 1.414 GB, free: 7.156 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.668e-05/2.39, allocations: 11.94 kB / 1.414 GB, free: 7.145 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002243/2.392, allocations: 0.491 MB / 1.415 GB, free: 6.684 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.389e-05/2.392, allocations: 14.72 kB / 1.415 GB, free: 6.672 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001293/2.393, allocations: 57.38 kB / 1.415 GB, free: 6.645 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002038/2.395, allocations: 4.125 MB / 1.419 GB, free: 2.414 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/2.395, allocations: 4.031 kB / 1.419 GB, free: 2.41 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005143/2.4, allocations: 3.284 MB / 1.422 GB, free: 60 kB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001767/2.402, allocations: 0.5714 MB / 1.423 GB, free: 15.57 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004313/2.402, allocations: 49.48 kB / 1.423 GB, free: 15.55 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002099/2.404, allocations: 243.2 kB / 1.423 GB, free: 15.34 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002061/2.404, allocations: 123.9 kB / 1.423 GB, free: 15.23 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001303/2.404, allocations: 72.95 kB / 1.423 GB, free: 15.17 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001961/2.406, allocations: 1.318 MB / 1.424 GB, free: 14.19 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.2e-07/2.406, allocations: 0 / 1.424 GB, free: 14.19 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.004354/2.411, allocations: 1.722 MB / 1.426 GB, free: 12.56 MB / 1.045 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.0008292/2.412, allocations: 397.5 kB / 1.426 GB, free: 12.25 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.006041/2.418, allocations: 3.342 MB / 1.43 GB, free: 9.941 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/2.418, allocations: 6 kB / 1.43 GB, free: 9.938 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.00176/2.42, allocations: 1.046 MB / 1.431 GB, free: 9.223 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007877/2.427, allocations: 1.613 MB / 1.432 GB, free: 7.887 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01194/2.439, allocations: 8.141 MB / 1.44 GB, free: 420 kB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001852/2.441, allocations: 2.197 MB / 1.442 GB, free: 14.31 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001098/2.442, allocations: 249.9 kB / 1.443 GB, free: 14.08 MB / 1.061 GB Notification: Performance of SimCode: time 8.11e-07/2.442, allocations: 0 / 1.443 GB, free: 14.08 MB / 1.061 GB Notification: Performance of Templates: time 0.1644/2.607, allocations: 141.6 MB / 1.581 GB, free: 1.309 MB / 1.186 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.makefile make -j1 -f Buildings_latest_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_latest_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSourceCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSourceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSourceCalcHelperMain.o] Error 1