Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009509/0.0009513, allocations: 97.78 kB / 16.02 MB, free: 76 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.001176/0.001176, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.418/1.418, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001668/0.001668, allocations: 270.7 kB / 292.3 MB, free: 1.883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9551/0.9551, allocations: 169.5 MB / 0.501 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004618/0.0004618, allocations: 13.97 kB / 0.5993 GB, free: 28.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2217/0.2221, allocations: 88.54 MB / 0.6858 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.5999/0.8221, allocations: 166.5 MB / 0.8484 GB, free: 476 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00671/0.8288, allocations: 4.3 MB / 0.8526 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007573/0.8296, allocations: 19.28 kB / 0.8526 GB, free: 13 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000932/0.8306, allocations: 297.9 kB / 0.8529 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002185/0.8328, allocations: 0.9355 MB / 0.8538 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001967/0.8347, allocations: 0.7285 MB / 0.8545 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001896/0.8366, allocations: 1.796 MB / 0.8563 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005719/0.8372, allocations: 397.9 kB / 0.8566 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001214/0.8384, allocations: 0.5786 MB / 0.8572 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001018/0.8395, allocations: 468.3 kB / 0.8576 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.655e-05/0.8395, allocations: 21.44 kB / 0.8577 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00173/0.8413, allocations: 0.9967 MB / 0.8586 GB, free: 9.195 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001984/0.8415, allocations: 182.9 kB / 0.8588 GB, free: 9.078 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000338/0.8418, allocations: 315.6 kB / 0.8591 GB, free: 8.883 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000953/0.8428, allocations: 0.8306 MB / 0.8599 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.8428, allocations: 4 kB / 0.8599 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.054e-06/0.8428, allocations: 0 / 0.8599 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.245e-06/0.8428, allocations: 0 / 0.8599 GB, free: 8.363 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001502/0.8443, allocations: 0.8377 MB / 0.8607 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.8444, allocations: 7.938 kB / 0.8608 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001614/0.846, allocations: 279 kB / 0.861 GB, free: 7.559 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008136/0.8468, allocations: 492.1 kB / 0.8615 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003292/0.8472, allocations: 102.3 kB / 0.8616 GB, free: 7.102 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.618e-05/0.8472, allocations: 43.8 kB / 0.8616 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001306/0.8486, allocations: 0.6369 MB / 0.8623 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.8486, allocations: 0 / 0.8623 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.013e-05/0.8487, allocations: 17.66 kB / 0.8623 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.099e-05/0.8487, allocations: 16.72 kB / 0.8623 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001444/0.8501, allocations: 0.5982 MB / 0.8629 GB, free: 6.41 MB / 0.5762 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.003883/0.854, allocations: 2.308 MB / 0.8651 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009921/0.855, allocations: 317.9 kB / 0.8654 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005795/0.8556, allocations: 190.6 kB / 0.8656 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.048e-05/0.8557, allocations: 6.094 kB / 0.8656 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.8557, allocations: 37.53 kB / 0.8657 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.603e-06/0.8557, allocations: 0 / 0.8657 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.00526/0.861, allocations: 1.181 MB / 0.8668 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.769e-05/0.861, allocations: 86.98 kB / 0.8669 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006468/0.8617, allocations: 0.55 MB / 0.8674 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.734e-05/0.8618, allocations: 28.7 kB / 0.8675 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002395/0.862, allocations: 313 kB / 0.8677 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.381e-05/0.8621, allocations: 36.33 kB / 0.8678 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.073e-05/0.8621, allocations: 25.94 kB / 0.8678 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.8623, allocations: 358.4 kB / 0.8682 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006325/0.8629, allocations: 207.4 kB / 0.8683 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006787/0.8636, allocations: 300.5 kB / 0.8686 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001208/0.8648, allocations: 441.6 kB / 0.8691 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.8648, allocations: 0 / 0.8691 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002748/0.8676, allocations: 0.7866 MB / 0.8698 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.8676, allocations: 9.938 kB / 0.8698 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.8676, allocations: 2.562 kB / 0.8698 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006212/0.8683, allocations: 185.2 kB / 0.87 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003819/0.8686, allocations: 81.78 kB / 0.8701 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003733/0.8724, allocations: 2.104 MB / 0.8721 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006842/0.8731, allocations: 99.72 kB / 0.8722 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.55e-05/0.8731, allocations: 12 kB / 0.8723 GB, free: 15.66 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002892/0.8734, allocations: 193.9 kB / 0.8724 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.462e-05/0.8735, allocations: 51.19 kB / 0.8725 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.169e-05/0.8736, allocations: 48.84 kB / 0.8725 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.8736, allocations: 0 / 0.8725 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.8736, allocations: 0 / 0.8725 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.8736, allocations: 5.719 kB / 0.8725 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003079/0.8767, allocations: 1.189 MB / 0.8737 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.8767, allocations: 2.844 kB / 0.8737 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002548/0.877, allocations: 46.02 kB / 0.8737 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005122/0.8775, allocations: 193.2 kB / 0.8739 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.16e-05/0.8776, allocations: 6.703 kB / 0.8739 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003431/0.881, allocations: 2.068 MB / 0.876 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.881, allocations: 12.03 kB / 0.876 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002681/0.8837, allocations: 0.7548 MB / 0.8767 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002593/0.884, allocations: 164.5 kB / 0.8769 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.188e-05/0.884, allocations: 0 / 0.8769 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006068/0.8847, allocations: 64.88 kB / 0.8769 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.511e-05/0.8847, allocations: 15.98 kB / 0.8769 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.381e-05/0.8848, allocations: 11.98 kB / 0.877 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004775/0.8853, allocations: 394.8 kB / 0.8773 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8853, allocations: 7.938 kB / 0.8773 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006939/0.886, allocations: 183.8 kB / 0.8775 GB, free: 10.86 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004457/0.8864, allocations: 175.1 kB / 0.8777 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001619/0.8881, allocations: 0.5647 MB / 0.8782 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.8881, allocations: 0 / 0.8782 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007533/0.8888, allocations: 326.9 kB / 0.8785 GB, free: 9.789 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001557/0.8904, allocations: 294.2 kB / 0.8788 GB, free: 9.504 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003634/0.894, allocations: 1.327 MB / 0.8801 GB, free: 8.137 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006048/0.8947, allocations: 0.8585 MB / 0.881 GB, free: 7.25 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001631/0.8948, allocations: 39.42 kB / 0.881 GB, free: 7.211 MB / 0.5919 GB Notification: Performance of SimCode: time 5.51e-07/0.8948, allocations: 0 / 0.881 GB, free: 7.211 MB / 0.5919 GB Notification: Performance of Templates: time 0.01746/0.9123, allocations: 11.02 MB / 0.8918 GB, free: 12.3 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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.Examples.MixingVolumePrescribedHeatFlowRateCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRateCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRateCalcHelperMain.o] Error 1