Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.00114, 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.002336/0.002337, allocations: 173.5 kB / 16.58 MB, free: 6.344 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.557/1.557, allocations: 223.3 MB / 240.6 MB, free: 5.441 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.59/2.59, allocations: 390.4 MB / 0.6662 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003918/0.0003918, allocations: 16 kB / 0.8154 GB, free: 14.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9039/0.9044, allocations: 142.3 MB / 0.9544 GB, free: 8.258 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.225/1.129, allocations: 170.4 MB / 1.121 GB, free: 5.48 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01538/1.145, allocations: 12.14 MB / 1.133 GB, free: 9.316 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001301/1.146, allocations: 27.81 kB / 1.133 GB, free: 9.289 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001143/1.147, allocations: 298 kB / 1.133 GB, free: 8.996 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002843/1.15, allocations: 0.8864 MB / 1.134 GB, free: 8.105 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001874/1.152, allocations: 0.5292 MB / 1.134 GB, free: 7.578 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003507/1.156, allocations: 2.34 MB / 1.137 GB, free: 5.234 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00112/1.157, allocations: 0.6021 MB / 1.137 GB, free: 4.613 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004277/1.161, allocations: 1.361 MB / 1.139 GB, free: 3.246 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00161/1.163, allocations: 0.6187 MB / 1.139 GB, free: 2.625 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001025/1.163, allocations: 35.94 kB / 1.139 GB, free: 2.59 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001697/1.165, allocations: 459 kB / 1.14 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004332/1.165, allocations: 331 kB / 1.14 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003718/1.165, allocations: 205.2 kB / 1.14 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001447/1.167, allocations: 1.033 MB / 1.141 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/1.167, allocations: 0 / 1.141 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.244e-06/1.167, allocations: 0 / 1.141 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.529e-05/1.167, allocations: 0 / 1.141 GB, free: 0.5742 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001932/1.169, allocations: 1.06 MB / 1.142 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.87e-05/1.169, allocations: 12.03 kB / 1.142 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001267/1.17, allocations: 214.6 kB / 1.142 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001228/1.171, allocations: 0.6251 MB / 1.143 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.646e-05/1.171, allocations: 58 kB / 1.143 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/1.172, allocations: 75.98 kB / 1.143 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001553/1.173, allocations: 0.9249 MB / 1.144 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.892e-05/1.173, allocations: 7.938 kB / 1.144 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.463e-05/1.173, allocations: 32 kB / 1.144 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.467e-05/1.173, allocations: 29.31 kB / 1.144 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00105/1.174, allocations: 0.6138 MB / 1.145 GB, free: 12.75 MB / 0.9044 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.005495/1.18, allocations: 4.59 MB / 1.149 GB, free: 7.867 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009559/1.181, allocations: 0.5364 MB / 1.15 GB, free: 7.285 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003588/1.181, allocations: 240.6 kB / 1.15 GB, free: 7.043 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002147/1.181, allocations: 113 kB / 1.15 GB, free: 6.914 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.196e-05/1.182, allocations: 50.28 kB / 1.15 GB, free: 6.855 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=43): time 2.485e-06/1.182, allocations: 0 / 1.15 GB, free: 6.855 MB / 0.9044 GB Notification: Performance of matching and sorting (n=45): time 0.003006/1.185, allocations: 1.575 MB / 1.152 GB, free: 5.223 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.943e-05/1.185, allocations: 106.8 kB / 1.152 GB, free: 5.094 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008615/1.185, allocations: 0.7154 MB / 1.152 GB, free: 4.371 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.981e-05/1.186, allocations: 33.7 kB / 1.152 GB, free: 4.332 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000308/1.186, allocations: 419.7 kB / 1.153 GB, free: 3.914 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001442/1.186, allocations: 161.7 kB / 1.153 GB, free: 3.754 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.692e-05/1.186, allocations: 12 kB / 1.153 GB, free: 3.742 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001423/1.186, allocations: 330 kB / 1.153 GB, free: 3.414 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002851/1.186, allocations: 185.2 kB / 1.153 GB, free: 3.234 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004523/1.187, allocations: 416.9 kB / 1.154 GB, free: 2.73 MB / 0.9044 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001574/1.189, allocations: 0.674 MB / 1.155 GB, free: 2.039 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-05/1.189, allocations: 4 kB / 1.155 GB, free: 2.035 MB / 0.9044 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001016/1.19, allocations: 0.6682 MB / 1.155 GB, free: 1.359 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/1.19, allocations: 8 kB / 1.155 GB, free: 1.352 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/1.19, allocations: 8.781 kB / 1.155 GB, free: 1.344 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.538e-05/1.19, allocations: 12 kB / 1.155 GB, free: 1.332 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004339/1.19, allocations: 123.8 kB / 1.155 GB, free: 1.211 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.575e-05/1.19, allocations: 11.94 kB / 1.155 GB, free: 1.199 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005854/1.191, allocations: 55.89 kB / 1.155 GB, free: 1.145 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.492e-05/1.191, allocations: 35.95 kB / 1.155 GB, free: 1.109 MB / 0.9044 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004413/1.191, allocations: 277.5 kB / 1.156 GB, free: 0.8281 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001518/1.191, allocations: 82.97 kB / 1.156 GB, free: 0.7461 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001776/1.192, allocations: 87.66 kB / 1.156 GB, free: 0.6602 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.006e-06/1.192, allocations: 4 kB / 1.156 GB, free: 0.6562 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/1.192, allocations: 4.062 kB / 1.156 GB, free: 0.6523 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007484/1.192, allocations: 0.7003 MB / 1.157 GB, free: 15.86 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002356/1.195, allocations: 1.638 MB / 1.158 GB, free: 14.12 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/1.195, allocations: 4 kB / 1.158 GB, free: 14.12 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004137/1.195, allocations: 104.3 kB / 1.158 GB, free: 14.02 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.095e-05/1.195, allocations: 8 kB / 1.158 GB, free: 14.01 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.293e-05/1.195, allocations: 16 kB / 1.158 GB, free: 13.99 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.308e-06/1.195, allocations: 11.98 kB / 1.158 GB, free: 13.98 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/1.195, allocations: 4 kB / 1.158 GB, free: 13.98 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/1.196, allocations: 0.8608 MB / 1.159 GB, free: 13.05 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003073/1.197, allocations: 204.1 kB / 1.159 GB, free: 12.83 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.451e-05/1.197, allocations: 16 kB / 1.159 GB, free: 12.82 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004482/1.197, allocations: 43.91 kB / 1.159 GB, free: 12.77 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.833e-05/1.197, allocations: 35.86 kB / 1.159 GB, free: 12.74 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-05/1.197, allocations: 27.92 kB / 1.159 GB, free: 12.71 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0006089/1.198, allocations: 0.4989 MB / 1.16 GB, free: 12.21 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/1.198, allocations: 8 kB / 1.16 GB, free: 12.21 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0007661/1.199, allocations: 208 kB / 1.16 GB, free: 12 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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 (45): * Single equations (assignments): 45 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005113/1.199, allocations: 189.3 kB / 1.16 GB, free: 11.83 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0007635/1.2, allocations: 468.2 kB / 1.161 GB, free: 11.37 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/1.2, allocations: 4 kB / 1.161 GB, free: 11.37 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002743/1.2, allocations: 210.4 kB / 1.161 GB, free: 11.16 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001889/1.202, allocations: 459.7 kB / 1.161 GB, free: 10.72 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002762/1.205, allocations: 2.067 MB / 1.163 GB, free: 8.574 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006021/1.206, allocations: 1.028 MB / 1.164 GB, free: 7.52 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001772/1.206, allocations: 71.42 kB / 1.165 GB, free: 7.449 MB / 0.92 GB Notification: Performance of SimCode: time 9.52e-07/1.206, allocations: 0 / 1.165 GB, free: 7.449 MB / 0.92 GB Notification: Performance of Templates: time 0.02122/1.227, allocations: 12.81 MB / 1.177 GB, free: 10.75 MB / 0.9356 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalanceCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalanceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalanceCalcHelperMain.o] Error 1