Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource") translateModel(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0009764/0.0009763, 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.001384/0.001384, allocations: 172.8 kB / 16.58 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.845/1.845, allocations: 205.4 MB / 222.8 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.893/1.893, allocations: 292.7 MB / 0.5505 GB, free: 14.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008469/0.000847, allocations: 16.31 kB / 0.6743 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3108/0.3116, allocations: 116.3 MB / 0.7879 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 1.059/1.37, allocations: 278.7 MB / 1.06 GB, free: 2.773 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.04183/1.412, allocations: 23.97 MB / 1.084 GB, free: 13.22 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006553/1.419, allocations: 95.31 kB / 1.084 GB, free: 13.13 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.006088/1.425, allocations: 1.196 MB / 1.085 GB, free: 11.93 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.01951/1.445, allocations: 4.355 MB / 1.089 GB, free: 7.555 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.008123/1.453, allocations: 1.941 MB / 1.091 GB, free: 5.633 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.01832/1.471, allocations: 10.4 MB / 1.101 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00738/1.479, allocations: 2.528 MB / 1.104 GB, free: 8.645 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01214/1.491, allocations: 3.194 MB / 1.107 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007518/1.498, allocations: 2.814 MB / 1.109 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.00177/1.5, allocations: 156 kB / 1.11 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01065/1.511, allocations: 2.409 MB / 1.112 GB, free: 48 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.004136/1.515, allocations: 1.426 MB / 1.113 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.004521/1.52, allocations: 0.7615 MB / 1.114 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.01435/1.534, allocations: 4.735 MB / 1.119 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 1.063e-05/1.534, allocations: 8 kB / 1.119 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of FrontEnd: time 4.148e-06/1.534, allocations: 0 / 1.119 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0003124/1.534, allocations: 0 / 1.119 GB, free: 9.094 MB / 0.8262 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.01003/1.544, allocations: 3.463 MB / 1.122 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/1.544, allocations: 8.031 kB / 1.122 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006625/1.551, allocations: 0.9361 MB / 1.123 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00654/1.558, allocations: 2.36 MB / 1.125 GB, free: 2.18 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002937/1.558, allocations: 281.4 kB / 1.126 GB, free: 1.891 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004903/1.558, allocations: 299.9 kB / 1.126 GB, free: 1.598 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006535/1.565, allocations: 3.351 MB / 1.129 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.421e-05/1.565, allocations: 3.938 kB / 1.129 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002602/1.565, allocations: 116 kB / 1.129 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001208/1.565, allocations: 109.3 kB / 1.129 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00506/1.571, allocations: 2.781 MB / 1.132 GB, free: 11.14 MB / 0.8419 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.0194/1.59, allocations: 13.25 MB / 1.145 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002871/1.593, allocations: 1.859 MB / 1.147 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001587/1.594, allocations: 1.121 MB / 1.148 GB, free: 9.727 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004972/1.595, allocations: 329.2 kB / 1.148 GB, free: 9.348 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.691e-05/1.595, allocations: 60.5 kB / 1.148 GB, free: 9.281 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=186): time 3.357e-06/1.595, allocations: 0 / 1.148 GB, free: 9.281 MB / 0.8575 GB Notification: Performance of matching and sorting (n=186): time 0.005271/1.6, allocations: 2.77 MB / 1.151 GB, free: 6.508 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.636e-05/1.6, allocations: 73.41 kB / 1.151 GB, free: 6.422 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002921/1.603, allocations: 1.957 MB / 1.153 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0002763/1.604, allocations: 73.7 kB / 1.153 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.00136/1.605, allocations: 1.391 MB / 1.154 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007811/1.606, allocations: 0.6584 MB / 1.155 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.973e-05/1.606, allocations: 40 kB / 1.155 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002184/1.606, allocations: 389.9 kB / 1.155 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001318/1.607, allocations: 0.8004 MB / 1.156 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001934/1.609, allocations: 1.466 MB / 1.158 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001706/1.611, allocations: 1.06 MB / 1.159 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-05/1.611, allocations: 4 kB / 1.159 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.004417/1.616, allocations: 2.486 MB / 1.161 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004536/1.616, allocations: 481.8 kB / 1.162 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.348e-05/1.616, allocations: 16 kB / 1.162 GB, free: 11.1 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.17e-05/1.616, allocations: 24 kB / 1.162 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002416/1.619, allocations: 0.5656 MB / 1.162 GB, free: 10.51 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002305/1.621, allocations: 4.153 MB / 1.166 GB, free: 6.191 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003269/1.624, allocations: 379 kB / 1.167 GB, free: 5.824 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001498/1.624, allocations: 91.98 kB / 1.167 GB, free: 5.734 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/1.624, allocations: 4 kB / 1.167 GB, free: 5.73 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003444/1.628, allocations: 2.225 MB / 1.169 GB, free: 3.504 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/1.628, allocations: 15.94 kB / 1.169 GB, free: 3.488 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.941e-05/1.628, allocations: 24 kB / 1.169 GB, free: 3.465 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001636/1.63, allocations: 484 kB / 1.169 GB, free: 2.992 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.645e-05/1.63, allocations: 31.86 kB / 1.169 GB, free: 2.961 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003189/1.633, allocations: 349.2 kB / 1.17 GB, free: 2.621 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001484/1.633, allocations: 99.95 kB / 1.17 GB, free: 2.523 MB / 0.8731 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.002078/1.635, allocations: 0.8557 MB / 1.171 GB, free: 1.656 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000576/1.636, allocations: 268.8 kB / 1.171 GB, free: 1.391 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003525/1.639, allocations: 2.15 MB / 1.173 GB, free: 15.23 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.918e-05/1.639, allocations: 20 kB / 1.173 GB, free: 15.21 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/1.639, allocations: 0 / 1.173 GB, free: 15.21 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002844/1.642, allocations: 1.902 MB / 1.175 GB, free: 13.26 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009002/1.651, allocations: 5.208 MB / 1.18 GB, free: 7.945 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.959e-06/1.651, allocations: 4 kB / 1.18 GB, free: 7.941 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002214/1.653, allocations: 0.5114 MB / 1.18 GB, free: 7.43 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-05/1.653, allocations: 8 kB / 1.18 GB, free: 7.422 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001289/1.653, allocations: 51.97 kB / 1.181 GB, free: 7.371 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002182/1.656, allocations: 4.13 MB / 1.185 GB, free: 3.078 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/1.656, allocations: 0 / 1.185 GB, free: 3.078 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005292/1.661, allocations: 3.426 MB / 1.188 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001553/1.663, allocations: 0.5754 MB / 1.188 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003189/1.663, allocations: 40 kB / 1.189 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001856/1.665, allocations: 251.3 kB / 1.189 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002009/1.665, allocations: 125.9 kB / 1.189 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00013/1.665, allocations: 67.97 kB / 1.189 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.002022/1.667, allocations: 1.302 MB / 1.19 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.51e-07/1.667, allocations: 4 kB / 1.19 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.004466/1.672, allocations: 1.726 MB / 1.192 GB, free: 11.48 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 20 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.dynBal.mC[1],vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol1.dynBal.mC[1],vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1],vol2.dynBal.mC[1],vol3.dynBal.U,vol3.dynBal.m,vol3.dynBal.mXi[1],vol3.dynBal.mC[1],vol4.dynBal.U,vol4.dynBal.m,vol4.dynBal.mXi[1],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.001032/1.673, allocations: 371.1 kB / 1.192 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.006999/1.68, allocations: 3.345 MB / 1.196 GB, free: 7.781 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.626e-05/1.68, allocations: 3.938 kB / 1.196 GB, free: 7.777 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.002123/1.682, allocations: 1.039 MB / 1.197 GB, free: 6.742 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00896/1.691, allocations: 1.609 MB / 1.198 GB, free: 5.141 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01497/1.706, allocations: 8.065 MB / 1.206 GB, free: 13 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002405/1.708, allocations: 2.189 MB / 1.208 GB, free: 10.78 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001181/1.71, allocations: 243.4 kB / 1.208 GB, free: 10.54 MB / 0.92 GB Notification: Performance of SimCode: time 1.633e-06/1.71, allocations: 0 / 1.208 GB, free: 10.54 MB / 0.92 GB Notification: Performance of Templates: time 0.7274/2.437, allocations: 141 MB / 1.346 GB, free: 340.2 MB / 0.9825 GB make -j1 -f Buildings_8_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.makefile make -j1 -f Buildings_8_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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSourceCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSourceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSourceCalcHelperMain.o] Error 1