Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.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.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 100.9 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.001246/0.001246, allocations: 174.9 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.49/1.49, allocations: 223.2 MB / 240.6 MB, free: 5.41 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.63/2.63, allocations: 390.4 MB / 0.6662 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000476/0.0004763, allocations: 12 kB / 0.8154 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9465/0.947, allocations: 142.3 MB / 0.9544 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.2047/1.152, allocations: 173.3 MB / 1.124 GB, free: 2.375 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.009323/1.161, allocations: 5.374 MB / 1.129 GB, free: 12.99 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001113/1.162, allocations: 31.81 kB / 1.129 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001159/1.163, allocations: 393.5 kB / 1.129 GB, free: 12.57 MB / 0.8887 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003307/1.167, allocations: 1.213 MB / 1.131 GB, free: 11.35 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002529/1.169, allocations: 0.8956 MB / 1.131 GB, free: 10.47 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003372/1.173, allocations: 2.986 MB / 1.134 GB, free: 7.477 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001083/1.174, allocations: 0.7262 MB / 1.135 GB, free: 6.738 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001562/1.175, allocations: 0.8635 MB / 1.136 GB, free: 5.871 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001232/1.177, allocations: 0.7939 MB / 1.137 GB, free: 5.074 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001064/1.177, allocations: 44 kB / 1.137 GB, free: 5.031 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002208/1.179, allocations: 0.9198 MB / 1.138 GB, free: 4.109 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004963/1.179, allocations: 442.8 kB / 1.138 GB, free: 3.676 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002971/1.18, allocations: 249.1 kB / 1.138 GB, free: 3.426 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001639/1.181, allocations: 1.528 MB / 1.14 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/1.181, allocations: 0 / 1.14 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.983e-06/1.181, allocations: 0 / 1.14 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.311e-05/1.181, allocations: 0 / 1.14 GB, free: 1.895 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: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.002124/1.183, allocations: 1.311 MB / 1.141 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/1.184, allocations: 8.031 kB / 1.141 GB, free: 0.5273 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002834/1.186, allocations: 0.4981 MB / 1.141 GB, free: 28 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001356/1.188, allocations: 0.7895 MB / 1.142 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000314/1.188, allocations: 137.9 kB / 1.142 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001336/1.188, allocations: 84 kB / 1.142 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002242/1.19, allocations: 1.198 MB / 1.144 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/1.191, allocations: 4 kB / 1.144 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.385e-05/1.191, allocations: 36 kB / 1.144 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-05/1.191, allocations: 41.94 kB / 1.144 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002315/1.193, allocations: 1.105 MB / 1.145 GB, free: 12.57 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.006911/1.2, allocations: 4.362 MB / 1.149 GB, free: 7.941 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001965/1.202, allocations: 0.7999 MB / 1.15 GB, free: 7.133 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001014/1.203, allocations: 432.6 kB / 1.15 GB, free: 6.707 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001804/1.203, allocations: 97.09 kB / 1.15 GB, free: 6.594 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/1.203, allocations: 42.52 kB / 1.15 GB, free: 6.543 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=43): time 2.275e-06/1.203, allocations: 0 / 1.15 GB, free: 6.543 MB / 0.9044 GB Notification: Performance of matching and sorting (n=45): time 0.006161/1.209, allocations: 2.279 MB / 1.153 GB, free: 4.211 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.073e-05/1.209, allocations: 63.41 kB / 1.153 GB, free: 4.137 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001319/1.211, allocations: 0.853 MB / 1.154 GB, free: 3.273 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.732e-05/1.211, allocations: 41.64 kB / 1.154 GB, free: 3.227 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004321/1.211, allocations: 499.2 kB / 1.154 GB, free: 2.734 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001909/1.211, allocations: 165.6 kB / 1.154 GB, free: 2.57 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.202e-05/1.212, allocations: 12 kB / 1.154 GB, free: 2.559 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001339/1.212, allocations: 326 kB / 1.154 GB, free: 2.234 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009267/1.213, allocations: 401 kB / 1.155 GB, free: 1.84 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009871/1.214, allocations: 0.5131 MB / 1.155 GB, free: 1.277 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.004144/1.218, allocations: 1.564 MB / 1.157 GB, free: 15.7 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/1.218, allocations: 0 / 1.157 GB, free: 15.7 MB / 0.92 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002256/1.22, allocations: 1.033 MB / 1.158 GB, free: 14.66 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/1.22, allocations: 4 kB / 1.158 GB, free: 14.66 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/1.22, allocations: 4 kB / 1.158 GB, free: 14.65 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.323e-05/1.22, allocations: 11.98 kB / 1.158 GB, free: 14.64 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009528/1.221, allocations: 211.8 kB / 1.158 GB, free: 14.43 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.786e-05/1.221, allocations: 11.98 kB / 1.158 GB, free: 14.42 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009995/1.222, allocations: 107.8 kB / 1.158 GB, free: 14.32 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.266e-05/1.222, allocations: 24 kB / 1.158 GB, free: 14.29 MB / 0.92 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (73): * Single equations (assignments): 73 * 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.0005021/1.223, allocations: 305.6 kB / 1.159 GB, free: 13.98 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000146/1.223, allocations: 106.8 kB / 1.159 GB, free: 13.88 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002232/1.223, allocations: 104.8 kB / 1.159 GB, free: 13.77 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/1.223, allocations: 4 kB / 1.159 GB, free: 13.77 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/1.223, allocations: 3.984 kB / 1.159 GB, free: 13.76 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001956/1.225, allocations: 1.065 MB / 1.16 GB, free: 12.61 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004339/1.229, allocations: 2.206 MB / 1.162 GB, free: 10.3 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/1.229, allocations: 4 kB / 1.162 GB, free: 10.3 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008268/1.23, allocations: 184 kB / 1.162 GB, free: 10.12 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.797e-06/1.23, allocations: 4 kB / 1.162 GB, free: 10.12 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.712e-05/1.23, allocations: 24 kB / 1.162 GB, free: 10.09 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.045e-05/1.23, allocations: 15.94 kB / 1.162 GB, free: 10.08 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/1.23, allocations: 7.938 kB / 1.162 GB, free: 10.07 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002898/1.233, allocations: 1.472 MB / 1.164 GB, free: 8.543 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004401/1.234, allocations: 252 kB / 1.164 GB, free: 8.277 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/1.234, allocations: 15.98 kB / 1.164 GB, free: 8.262 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008867/1.235, allocations: 103.8 kB / 1.164 GB, free: 8.16 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.214e-05/1.235, allocations: 47.84 kB / 1.164 GB, free: 8.113 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.797e-05/1.235, allocations: 27.98 kB / 1.164 GB, free: 8.086 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0007681/1.236, allocations: 0.5927 MB / 1.165 GB, free: 7.5 MB / 0.92 GB Notification: Performance of sort global known variables: time 5.01e-07/1.236, allocations: 0 / 1.165 GB, free: 7.5 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0008568/1.237, allocations: 264 kB / 1.165 GB, free: 7.242 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.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 (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.0004571/1.237, allocations: 220.8 kB / 1.165 GB, free: 7.027 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.00197/1.239, allocations: 0.8508 MB / 1.166 GB, free: 6.172 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/1.239, allocations: 4 kB / 1.166 GB, free: 6.168 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.000944/1.24, allocations: 413.3 kB / 1.166 GB, free: 5.766 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002346/1.242, allocations: 0.5611 MB / 1.167 GB, free: 5.211 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004803/1.247, allocations: 2.631 MB / 1.169 GB, free: 2.496 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007256/1.248, allocations: 1.107 MB / 1.171 GB, free: 1.363 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003083/1.248, allocations: 79.41 kB / 1.171 GB, free: 1.285 MB / 0.92 GB Notification: Performance of SimCode: time 6.71e-07/1.248, allocations: 0 / 1.171 GB, free: 1.285 MB / 0.92 GB Notification: Performance of Templates: time 0.02951/1.278, allocations: 16.82 MB / 1.187 GB, free: 0.6289 MB / 0.9356 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.makefile make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.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.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRateCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRateCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRateCalcHelperMain.o] Error 1