Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") translateModel(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009654/0.0009655, allocations: 100.2 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.001293/0.001293, allocations: 176.8 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.385/1.385, allocations: 223.3 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7335/0.7335, allocations: 132.3 MB / 424 MB, free: 2.078 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003201/0.0003202, allocations: 12.89 kB / 0.504 GB, free: 4.266 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5214/0.5218, allocations: 81.57 MB / 0.5837 GB, free: 3.969 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1948/0.7166, allocations: 155.4 MB / 0.7354 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006593/0.7233, allocations: 4.024 MB / 0.7394 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007451/0.724, allocations: 19.88 kB / 0.7394 GB, free: 0.7188 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008428/0.7249, allocations: 234.6 kB / 0.7396 GB, free: 500 kB / 0.5606 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:730:36-731: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:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.002573/0.7275, allocations: 0.9018 MB / 0.7405 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00176/0.7293, allocations: 0.5625 MB / 0.7411 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002251/0.7315, allocations: 1.987 MB / 0.743 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006049/0.7321, allocations: 416.6 kB / 0.7434 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009606/0.7331, allocations: 0.5757 MB / 0.744 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007371/0.7339, allocations: 0.5254 MB / 0.7445 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.531e-05/0.7339, allocations: 28 kB / 0.7445 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001081/0.735, allocations: 419 kB / 0.7449 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002354/0.7353, allocations: 227.3 kB / 0.7451 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001725/0.7355, allocations: 165.4 kB / 0.7453 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000968/0.7364, allocations: 0.8922 MB / 0.7461 GB, free: 9.793 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.7365, allocations: 4 kB / 0.7461 GB, free: 9.789 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.446e-06/0.7365, allocations: 3.984 kB / 0.7461 GB, free: 9.785 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.646e-06/0.7365, allocations: 0 / 0.7461 GB, free: 9.785 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001619/0.7381, allocations: 0.9078 MB / 0.747 GB, free: 8.828 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.7382, allocations: 12.03 kB / 0.747 GB, free: 8.816 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009096/0.7391, allocations: 171 kB / 0.7472 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007606/0.7398, allocations: 0.498 MB / 0.7477 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.744e-05/0.7399, allocations: 41.31 kB / 0.7477 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.876e-05/0.74, allocations: 48 kB / 0.7478 GB, free: 8.023 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001095/0.7411, allocations: 0.6596 MB / 0.7484 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.7411, allocations: 0 / 0.7484 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.502e-05/0.7412, allocations: 27.95 kB / 0.7484 GB, free: 7.32 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.353e-05/0.7412, allocations: 25.25 kB / 0.7485 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009219/0.7421, allocations: 0.5243 MB / 0.749 GB, free: 6.77 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.003163/0.7453, allocations: 2.305 MB / 0.7512 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005046/0.7458, allocations: 259.1 kB / 0.7515 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002412/0.7461, allocations: 146.3 kB / 0.7516 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.098e-05/0.7461, allocations: 7.938 kB / 0.7516 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/0.7462, allocations: 38.56 kB / 0.7517 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=20): time 1.513e-06/0.7462, allocations: 0 / 0.7517 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20): time 0.001576/0.7477, allocations: 0.6819 MB / 0.7523 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.564e-05/0.7478, allocations: 81.11 kB / 0.7524 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006477/0.7485, allocations: 0.5535 MB / 0.7529 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.229e-05/0.7485, allocations: 37.7 kB / 0.753 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002449/0.7488, allocations: 335.3 kB / 0.7533 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.635e-05/0.7488, allocations: 71 kB / 0.7534 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.808e-05/0.7489, allocations: 4 kB / 0.7534 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.749, allocations: 362.8 kB / 0.7537 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002514/0.7493, allocations: 136.6 kB / 0.7539 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003072/0.7496, allocations: 231.8 kB / 0.7541 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002908/0.7499, allocations: 167.9 kB / 0.7542 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.7499, allocations: 0 / 0.7542 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008649/0.7508, allocations: 0.5039 MB / 0.7547 GB, free: 0.5586 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.7508, allocations: 11.95 kB / 0.7547 GB, free: 0.5469 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.7508, allocations: 0 / 0.7547 GB, free: 0.5469 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002997/0.7511, allocations: 97.58 kB / 0.7548 GB, free: 456 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003002/0.7514, allocations: 71.91 kB / 0.7549 GB, free: 384 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003047/0.7545, allocations: 3.098 MB / 0.7579 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004899/0.755, allocations: 67.47 kB / 0.758 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.675e-05/0.755, allocations: 12 kB / 0.758 GB, free: 12.93 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 (34): * Single equations (assignments): 32 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003168/0.7554, allocations: 225.7 kB / 0.7582 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.604e-05/0.7555, allocations: 59.38 kB / 0.7583 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00015/0.7556, allocations: 52.5 kB / 0.7583 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.7556, allocations: 4 kB / 0.7583 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.7556, allocations: 0 / 0.7583 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007548/0.7564, allocations: 0.5384 MB / 0.7589 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001355/0.7578, allocations: 0.9314 MB / 0.7598 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.7578, allocations: 0 / 0.7598 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002074/0.758, allocations: 43.97 kB / 0.7598 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001933/0.7582, allocations: 64.81 kB / 0.7599 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/0.7582, allocations: 0 / 0.7599 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00171/0.7599, allocations: 1.695 MB / 0.7615 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.7599, allocations: 0 / 0.7615 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006615/0.7606, allocations: 454.9 kB / 0.762 GB, free: 8.57 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000235/0.7609, allocations: 172.3 kB / 0.7621 GB, free: 8.383 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.778e-05/0.7609, allocations: 8 kB / 0.7621 GB, free: 8.375 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000425/0.7614, allocations: 28.62 kB / 0.7622 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.079e-05/0.7615, allocations: 23.98 kB / 0.7622 GB, free: 8.324 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.678e-05/0.7615, allocations: 11.98 kB / 0.7622 GB, free: 8.312 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005053/0.762, allocations: 394.8 kB / 0.7626 GB, free: 7.93 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.762, allocations: 4 kB / 0.7626 GB, free: 7.926 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007199/0.7628, allocations: 211.6 kB / 0.7628 GB, free: 7.719 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 (15): * Single equations (assignments): 14 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004245/0.7632, allocations: 159.2 kB / 0.7629 GB, free: 7.566 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009203/0.7641, allocations: 0.5437 MB / 0.7635 GB, free: 7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.7641, allocations: 0 / 0.7635 GB, free: 7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003749/0.7645, allocations: 259.2 kB / 0.7637 GB, free: 6.734 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001539/0.7661, allocations: 357.2 kB / 0.764 GB, free: 6.395 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00186/0.7679, allocations: 1.233 MB / 0.7652 GB, free: 5.129 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005613/0.7685, allocations: 0.9093 MB / 0.7661 GB, free: 4.191 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/0.7686, allocations: 43.44 kB / 0.7662 GB, free: 4.148 MB / 0.5919 GB Notification: Performance of SimCode: time 3.11e-07/0.7686, allocations: 3.938 kB / 0.7662 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of Templates: time 0.01919/0.7878, allocations: 13.36 MB / 0.7792 GB, free: 6.895 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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 OMCppIDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConductionCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConductionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeHeatConductionCalcHelperMain.o] Error 1