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.0009875/0.0009874, allocations: 92.55 kB / 16.02 MB, free: 80 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.00127/0.00127, allocations: 180.8 kB / 16.92 MB, free: 6.926 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.878/1.878, allocations: 205.4 MB / 223.1 MB, free: 5.484 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.851/1.851, allocations: 292.7 MB / 0.5509 GB, free: 14.49 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.0008693/0.0008693, allocations: 18.62 kB / 0.675 GB, free: 25.8 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3745/0.3754, allocations: 116.3 MB / 0.7885 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 1.072/1.448, allocations: 298.7 MB / 1.08 GB, free: 1.27 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0418/1.49, allocations: 25.54 MB / 1.105 GB, free: 7.664 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007004/1.497, allocations: 103.2 kB / 1.105 GB, free: 7.562 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.006297/1.503, allocations: 1.539 MB / 1.107 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.02041/1.524, allocations: 5.609 MB / 1.112 GB, free: 400 kB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.008789/1.532, allocations: 2.355 MB / 1.115 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.02012/1.553, allocations: 12.35 MB / 1.127 GB, free: 1.68 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006195/1.559, allocations: 2.987 MB / 1.13 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01436/1.573, allocations: 3.545 MB / 1.133 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008383/1.582, allocations: 2.933 MB / 1.136 GB, free: 8.164 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001593/1.583, allocations: 152 kB / 1.136 GB, free: 8.016 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01496/1.598, allocations: 5.276 MB / 1.141 GB, free: 2.727 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.00372/1.602, allocations: 1.414 MB / 1.143 GB, free: 1.309 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.006574/1.609, allocations: 1.883 MB / 1.144 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01082/1.619, allocations: 4.965 MB / 1.149 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/1.62, allocations: 3.938 kB / 1.149 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.775e-06/1.62, allocations: 0 / 1.149 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0002213/1.62, allocations: 0 / 1.149 GB, free: 10.43 MB / 0.8575 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.009051/1.629, allocations: 3.409 MB / 1.153 GB, free: 6.953 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 7.71e-05/1.629, allocations: 8.031 kB / 1.153 GB, free: 6.945 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006599/1.636, allocations: 0.9361 MB / 1.153 GB, free: 6.004 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005632/1.641, allocations: 2.232 MB / 1.156 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003398/1.642, allocations: 281.2 kB / 1.156 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007232/1.642, allocations: 299.8 kB / 1.156 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006764/1.649, allocations: 3.363 MB / 1.16 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.858e-05/1.649, allocations: 0 / 1.16 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002705/1.649, allocations: 120 kB / 1.16 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001234/1.65, allocations: 109.3 kB / 1.16 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005042/1.655, allocations: 2.792 MB / 1.162 GB, free: 12.63 MB / 0.8731 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.01893/1.674, allocations: 13.21 MB / 1.175 GB, free: 14.23 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002814/1.676, allocations: 1.826 MB / 1.177 GB, free: 12.4 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001612/1.678, allocations: 1.102 MB / 1.178 GB, free: 11.3 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005617/1.679, allocations: 333.2 kB / 1.179 GB, free: 10.92 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.926e-05/1.679, allocations: 56.56 kB / 1.179 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=182): time 3.566e-06/1.679, allocations: 4 kB / 1.179 GB, free: 10.85 MB / 0.8887 GB Notification: Performance of matching and sorting (n=182): time 0.005488/1.684, allocations: 2.732 MB / 1.181 GB, free: 8.113 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.903e-05/1.684, allocations: 69.41 kB / 1.181 GB, free: 8.031 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003505/1.688, allocations: 1.972 MB / 1.183 GB, free: 6.039 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0002678/1.688, allocations: 65.7 kB / 1.183 GB, free: 5.969 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.00119/1.689, allocations: 1.402 MB / 1.185 GB, free: 4.551 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007624/1.69, allocations: 0.6431 MB / 1.185 GB, free: 3.898 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002684/1.69, allocations: 169.6 kB / 1.185 GB, free: 3.727 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001667/1.691, allocations: 305.1 kB / 1.186 GB, free: 3.426 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00136/1.692, allocations: 0.7965 MB / 1.187 GB, free: 2.625 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001993/1.694, allocations: 1.435 MB / 1.188 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003539/1.697, allocations: 2.26 MB / 1.19 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.12e-05/1.697, allocations: 7.938 kB / 1.19 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.004367/1.702, allocations: 2.49 MB / 1.193 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004144/1.702, allocations: 492.7 kB / 1.193 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-05/1.702, allocations: 12 kB / 1.193 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.012e-05/1.702, allocations: 24 kB / 1.193 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002453/1.705, allocations: 0.5578 MB / 1.194 GB, free: 10.72 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002625/1.707, allocations: 4.157 MB / 1.198 GB, free: 6.398 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003776/1.711, allocations: 371.8 kB / 1.198 GB, free: 6.039 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000163/1.711, allocations: 87.98 kB / 1.198 GB, free: 5.953 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/1.711, allocations: 7.938 kB / 1.198 GB, free: 5.945 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003667/1.715, allocations: 2.214 MB / 1.2 GB, free: 3.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.751e-05/1.715, allocations: 12 kB / 1.2 GB, free: 3.719 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/1.715, allocations: 24 kB / 1.2 GB, free: 3.695 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001645/1.717, allocations: 475.3 kB / 1.201 GB, free: 3.23 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.093e-05/1.717, allocations: 28.36 kB / 1.201 GB, free: 3.203 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003482/1.72, allocations: 353.3 kB / 1.201 GB, free: 2.859 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001543/1.721, allocations: 87.98 kB / 1.201 GB, free: 2.773 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * 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 (257): * Single equations (assignments): 250 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 7 systems {1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001953/1.722, allocations: 0.8595 MB / 1.202 GB, free: 1.902 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007313/1.723, allocations: 272.8 kB / 1.202 GB, free: 1.633 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003605/1.727, allocations: 2.091 MB / 1.204 GB, free: 15.52 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.95e-05/1.727, allocations: 23.98 kB / 1.204 GB, free: 15.5 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/1.727, allocations: 4 kB / 1.204 GB, free: 15.5 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002653/1.73, allocations: 1.89 MB / 1.206 GB, free: 13.56 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00989/1.739, allocations: 5.157 MB / 1.211 GB, free: 8.305 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.395e-05/1.74, allocations: 4.375 kB / 1.211 GB, free: 8.301 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002329/1.742, allocations: 0.5033 MB / 1.212 GB, free: 7.797 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.283e-05/1.742, allocations: 16 kB / 1.212 GB, free: 7.781 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001317/1.742, allocations: 43.98 kB / 1.212 GB, free: 7.738 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002284/1.744, allocations: 4.13 MB / 1.216 GB, free: 3.445 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/1.744, allocations: 4 kB / 1.216 GB, free: 3.441 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005419/1.75, allocations: 3.375 MB / 1.219 GB, free: 8 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001894/1.752, allocations: 0.5598 MB / 1.22 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003761/1.752, allocations: 51.92 kB / 1.22 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002177/1.754, allocations: 247.4 kB / 1.22 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002348/1.755, allocations: 117.8 kB / 1.22 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001238/1.755, allocations: 67.95 kB / 1.22 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.002015/1.757, allocations: 1.325 MB / 1.221 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.8e-07/1.757, allocations: 0 / 1.221 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.004665/1.761, allocations: 1.718 MB / 1.223 GB, free: 11.89 MB / 0.9356 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 (182): * Single equations (assignments): 175 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 7 systems {1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000886/1.762, allocations: 348.2 kB / 1.223 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.006454/1.769, allocations: 3.298 MB / 1.227 GB, free: 8.262 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.354e-05/1.769, allocations: 4.75 kB / 1.227 GB, free: 8.258 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001864/1.771, allocations: 1.038 MB / 1.228 GB, free: 7.219 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009945/1.781, allocations: 1.593 MB / 1.229 GB, free: 5.633 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01343/1.794, allocations: 8.277 MB / 1.237 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002099/1.796, allocations: 2.189 MB / 1.24 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001126/1.797, allocations: 227.4 kB / 1.24 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of SimCode: time 1.473e-06/1.797, allocations: 0 / 1.24 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of Templates: time 0.7194/2.517, allocations: 140 MB / 1.376 GB, free: 308.3 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++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/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