Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001506/0.001506, allocations: 100.1 kB / 15.88 MB, free: 12 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.001935/0.001936, allocations: 197.1 kB / 16.79 MB, free: 6.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.543/2.543, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003317/0.003318, allocations: 283 kB / 290.9 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.766/1.766, allocations: 169.2 MB / 0.4983 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00247/0.00247, allocations: 92.09 kB / 0.5951 GB, free: 28.69 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.3344, allocations: 86.98 MB / 0.6801 GB, free: 1.188 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 1.45/1.784, allocations: 185 MB / 0.8608 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03911/1.823, allocations: 13.13 MB / 0.8736 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004085/1.827, allocations: 30.12 kB / 0.8736 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003495/1.831, allocations: 346.5 kB / 0.8739 GB, free: 9.973 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.008793/1.84, allocations: 1.091 MB / 0.875 GB, free: 9.125 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004894/1.845, allocations: 0.6254 MB / 0.8756 GB, free: 8.66 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.009607/1.854, allocations: 2.773 MB / 0.8783 GB, free: 7.152 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002575/1.857, allocations: 0.7254 MB / 0.879 GB, free: 6.707 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01033/1.868, allocations: 1.655 MB / 0.8807 GB, free: 5.664 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004507/1.872, allocations: 0.6846 MB / 0.8813 GB, free: 5.277 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0006547/1.873, allocations: 45.41 kB / 0.8814 GB, free: 5.277 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005258/1.878, allocations: 0.9803 MB / 0.8823 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001428/1.88, allocations: 353.2 kB / 0.8827 GB, free: 4.512 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001654/1.881, allocations: 471.9 kB / 0.8831 GB, free: 4.223 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003162/1.884, allocations: 1.104 MB / 0.8842 GB, free: 3.504 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.344e-05/1.884, allocations: 0 / 0.8842 GB, free: 3.504 MB / 0.5919 GB Notification: Performance of FrontEnd: time 4.679e-06/1.884, allocations: 0 / 0.8842 GB, free: 3.504 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.433e-05/1.885, allocations: 4 kB / 0.8842 GB, free: 3.5 MB / 0.5919 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.0036/1.888, allocations: 1.235 MB / 0.8854 GB, free: 2.535 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 7.961e-05/1.888, allocations: 14.06 kB / 0.8854 GB, free: 2.531 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002091/1.89, allocations: 215.5 kB / 0.8856 GB, free: 2.43 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001864/1.892, allocations: 0.6435 MB / 0.8862 GB, free: 1.914 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.395e-05/1.892, allocations: 56.22 kB / 0.8863 GB, free: 1.891 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002112/1.893, allocations: 76.53 kB / 0.8864 GB, free: 1.867 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002507/1.895, allocations: 0.9336 MB / 0.8873 GB, free: 1.195 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.201e-05/1.895, allocations: 14.77 kB / 0.8873 GB, free: 1.184 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001388/1.895, allocations: 31.25 kB / 0.8873 GB, free: 1.16 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.9e-05/1.895, allocations: 37.16 kB / 0.8874 GB, free: 1.152 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002066/1.897, allocations: 0.619 MB / 0.888 GB, free: 0.8438 MB / 0.5919 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.009261/1.907, allocations: 4.586 MB / 0.8924 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001926/1.909, allocations: 0.5396 MB / 0.893 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006463/1.909, allocations: 247.8 kB / 0.8932 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003228/1.91, allocations: 98.53 kB / 0.8933 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.218e-05/1.91, allocations: 41.28 kB / 0.8933 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 3.978e-06/1.91, allocations: 0 / 0.8933 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.005399/1.915, allocations: 1.596 MB / 0.8949 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000157/1.915, allocations: 107.9 kB / 0.895 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001578/1.917, allocations: 0.7192 MB / 0.8957 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.161e-05/1.917, allocations: 36.36 kB / 0.8957 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005633/1.918, allocations: 422.6 kB / 0.8961 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002608/1.918, allocations: 161.7 kB / 0.8963 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002987/1.918, allocations: 118.2 kB / 0.8964 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002251/1.919, allocations: 330.7 kB / 0.8967 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004978/1.919, allocations: 183.5 kB / 0.8969 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008457/1.92, allocations: 417 kB / 0.8973 GB, free: 8.84 MB / 0.6075 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.003805/1.924, allocations: 1.186 MB / 0.8985 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/1.924, allocations: 0 / 0.8985 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001873/1.926, allocations: 0.6641 MB / 0.8991 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.195e-05/1.926, allocations: 15.88 kB / 0.8991 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.198e-05/1.926, allocations: 8 kB / 0.8991 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.962e-05/1.926, allocations: 8 kB / 0.8991 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007502/1.927, allocations: 123.9 kB / 0.8993 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.871e-05/1.927, allocations: 15.92 kB / 0.8993 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001224/1.928, allocations: 59.08 kB / 0.8993 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.146e-05/1.928, allocations: 31.98 kB / 0.8994 GB, free: 6.625 MB / 0.6075 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008969/1.929, allocations: 275.5 kB / 0.8996 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003517/1.929, allocations: 86.91 kB / 0.8997 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003384/1.93, allocations: 91.66 kB / 0.8998 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.829e-05/1.93, allocations: 4 kB / 0.8998 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.701e-05/1.93, allocations: 0 / 0.8998 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001595/1.931, allocations: 0.6988 MB / 0.9005 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004792/1.936, allocations: 1.64 MB / 0.9021 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.454e-05/1.936, allocations: 4 kB / 0.9021 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007415/1.937, allocations: 95.89 kB / 0.9022 GB, free: 3.539 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-05/1.937, allocations: 7.938 kB / 0.9022 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.413e-05/1.937, allocations: 19.98 kB / 0.9022 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.671e-05/1.937, allocations: 11.94 kB / 0.9022 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.009e-05/1.937, allocations: 4.438 kB / 0.9022 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002085/1.939, allocations: 0.8766 MB / 0.9031 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000593/1.94, allocations: 200.1 kB / 0.9033 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000257/1.94, allocations: 23.94 kB / 0.9033 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009856/1.941, allocations: 39.91 kB / 0.9033 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/1.941, allocations: 47.83 kB / 0.9034 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.775e-05/1.941, allocations: 20 kB / 0.9034 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001231/1.942, allocations: 0.5068 MB / 0.9039 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.61e-07/1.942, allocations: 0 / 0.9039 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001598/1.944, allocations: 204 kB / 0.9041 GB, free: 1.512 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009583/1.945, allocations: 213.4 kB / 0.9043 GB, free: 1.316 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001473/1.946, allocations: 469.2 kB / 0.9047 GB, free: 0.8594 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 8.296e-06/1.947, allocations: 8 kB / 0.9047 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005594/1.947, allocations: 208.2 kB / 0.9049 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003735/1.951, allocations: 440.1 kB / 0.9054 GB, free: 232 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005739/1.957, allocations: 2.023 MB / 0.9073 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001064/1.958, allocations: 1.028 MB / 0.9083 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003543/1.958, allocations: 71.42 kB / 0.9084 GB, free: 13 MB / 0.6231 GB Notification: Performance of SimCode: time 1.944e-06/1.958, allocations: 0 / 0.9084 GB, free: 13 MB / 0.6231 GB Notification: Performance of Templates: time 0.044/2.002, allocations: 12.91 MB / 0.921 GB, free: 236 kB / 0.6231 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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/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/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalanceCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalanceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalanceCalcHelperMain.o] Error 1