Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestJunctions4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestJunctions4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestJunctions4") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestJunctions4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestJunctions4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7558/0.7558, allocations: 150.8 MB / 166.7 MB, free: 15.32 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 2.03e-05/2.041e-05, allocations: 4 kB / 205.4 MB, free: 9.797 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.138, allocations: 31.98 MB / 237.4 MB, free: 5.25 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.SimpleExamples.TestJunctions4): time 1.448/1.586, allocations: 295.3 MB / 0.5202 GB, free: 11.83 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1808/1.767, allocations: 186.6 MB / 0.7024 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005714/1.767, allocations: 15.88 kB / 0.7024 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002748/1.768, allocations: 75.39 kB / 0.7025 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0008767/1.769, allocations: 246 kB / 0.7027 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.2819/2.051, allocations: 9.056 MB / 0.7116 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009013/2.052, allocations: 0.9533 MB / 0.7125 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004059/2.052, allocations: 483.7 kB / 0.713 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000254/2.052, allocations: 321.5 kB / 0.7133 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002708/2.052, allocations: 373.9 kB / 0.7136 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.758e-05/2.053, allocations: 38.91 kB / 0.7137 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02825/2.081, allocations: 20.25 MB / 0.7335 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001949/2.081, allocations: 141.1 kB / 0.7336 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005025/2.082, allocations: 441.4 kB / 0.734 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.009902/2.091, allocations: 7.173 MB / 0.741 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/2.091, allocations: 0 / 0.741 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.643e-06/2.091, allocations: 0 / 0.741 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.024e-05/2.091, allocations: 3.562 kB / 0.741 GB, free: 1.039 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.004761/2.096, allocations: 2.094 MB / 0.7431 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/2.096, allocations: 8.125 kB / 0.7431 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001468/2.096, allocations: 113.5 kB / 0.7432 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005187/2.097, allocations: 479.2 kB / 0.7436 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.855e-05/2.097, allocations: 104.1 kB / 0.7437 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.048e-05/2.097, allocations: 89.94 kB / 0.7438 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/2.098, allocations: 0.9827 MB / 0.7448 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/2.098, allocations: 2.906 kB / 0.7448 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.952e-05/2.098, allocations: 41.03 kB / 0.7448 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.66e-05/2.099, allocations: 23.09 kB / 0.7448 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009295/2.099, allocations: 0.6355 MB / 0.7455 GB, free: 14.8 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.01024/2.11, allocations: 10.45 MB / 0.7557 GB, free: 5.703 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003251/2.11, allocations: 238.1 kB / 0.7559 GB, free: 5.66 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001522/2.11, allocations: 109.3 kB / 0.756 GB, free: 5.641 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6045/2.715, allocations: 220.7 MB / 0.9716 GB, free: 460.6 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/2.715, allocations: 37.69 kB / 0.9716 GB, free: 460.5 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=25): time 2.655e-06/2.715, allocations: 3.469 kB / 0.9716 GB, free: 460.5 MB / 0.8106 GB Notification: Performance of matching and sorting (n=25): time 0.002445/2.717, allocations: 0.9372 MB / 0.9725 GB, free: 460.2 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.202e-05/2.717, allocations: 56.61 kB / 0.9726 GB, free: 460.1 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007492/2.718, allocations: 0.533 MB / 0.9731 GB, free: 460 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/2.718, allocations: 30.2 kB / 0.9731 GB, free: 460 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002733/2.718, allocations: 481.2 kB / 0.9736 GB, free: 459.7 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.733e-05/2.718, allocations: 97.08 kB / 0.9737 GB, free: 459.7 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.691e-05/2.719, allocations: 73.2 kB / 0.9738 GB, free: 459.7 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.331e-05/2.719, allocations: 360.8 kB / 0.9741 GB, free: 459.3 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002713/2.719, allocations: 133.8 kB / 0.9742 GB, free: 459.3 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003535/2.719, allocations: 452.8 kB / 0.9747 GB, free: 458.9 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006246/2.72, allocations: 0.6214 MB / 0.9753 GB, free: 458.5 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-06/2.72, allocations: 4.719 kB / 0.9753 GB, free: 458.5 MB / 0.8106 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001536/2.721, allocations: 0.7913 MB / 0.976 GB, free: 458.3 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/2.721, allocations: 11.38 kB / 0.9761 GB, free: 458.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.968e-05/2.722, allocations: 11.97 kB / 0.9761 GB, free: 458.3 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001585/2.723, allocations: 389.1 kB / 0.9764 GB, free: 458.3 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002542/2.723, allocations: 96.95 kB / 0.9765 GB, free: 458.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00102/2.724, allocations: 1.825 MB / 0.9783 GB, free: 456.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004999/2.725, allocations: 106.4 kB / 0.9784 GB, free: 456.7 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.373e-05/2.725, allocations: 37.11 kB / 0.9784 GB, free: 456.7 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 20 (source.fluid1,sourceP.fluid1,source.C.ftype,sourceP.C.ftype,deheaterMixer2_1.Cs.ftype,deheaterMixer2_1.fluids[1],singularPressureLoss.fluid,singularPressureLoss1.fluid,singularPressureLoss2.fluid,sinkP.fluid,deheaterMixer2_1.fluid1,singularPressureLoss2.C2.diff_on_1,singularPressureLoss.C2.diff_on_1,deheaterMixer2_1.Cs.diff_on_2,deheaterMixer2_1.Ce_mix.diff_on_2,source.C.diff_on_2,deheaterMixer2_1.Cs.diff_on_1,singularPressureLoss1.C2.diff_on_1,deheaterMixer2_1.Ce.diff_on_2,sourceP.C.diff_on_2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,3), (3,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0002748/2.725, allocations: 232.2 kB / 0.9787 GB, free: 456.5 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.655e-05/2.725, allocations: 61.53 kB / 0.9787 GB, free: 456.5 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00104/2.726, allocations: 478.1 kB / 0.9792 GB, free: 456.4 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/2.726, allocations: 3.312 kB / 0.9792 GB, free: 456.4 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/2.726, allocations: 1.188 kB / 0.9792 GB, free: 456.4 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/2.726, allocations: 1.828 kB / 0.9792 GB, free: 456.4 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000714/2.727, allocations: 0.5655 MB / 0.9797 GB, free: 456.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/2.727, allocations: 2.875 kB / 0.9797 GB, free: 456.2 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.067e-05/2.727, allocations: 20.66 kB / 0.9798 GB, free: 456.2 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001101/2.728, allocations: 305.3 kB / 0.9801 GB, free: 456.2 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/2.728, allocations: 15.27 kB / 0.9801 GB, free: 456.2 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008369/2.729, allocations: 1.8 MB / 0.9818 GB, free: 454.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/2.729, allocations: 1.031 kB / 0.9818 GB, free: 454.6 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007212/2.73, allocations: 0.5072 MB / 0.9823 GB, free: 454.4 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001418/2.73, allocations: 154 kB / 0.9825 GB, free: 454.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.065e-05/2.73, allocations: 10.59 kB / 0.9825 GB, free: 454.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001715/2.73, allocations: 11.03 kB / 0.9825 GB, free: 454.3 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.51e-05/2.73, allocations: 22 kB / 0.9825 GB, free: 454.3 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-05/2.73, allocations: 9.812 kB / 0.9825 GB, free: 454.3 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003157/2.731, allocations: 345.1 kB / 0.9829 GB, free: 454.2 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/2.731, allocations: 2.75 kB / 0.9829 GB, free: 454.2 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.00365/2.734, allocations: 1.573 MB / 0.9844 GB, free: 454.1 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (9): * 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: 3 * 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): 3 systems {(1,3), (1,3), (3,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005847/2.74, allocations: 2.256 MB / 0.9866 GB, free: 454 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0008185/2.741, allocations: 420.9 kB / 0.987 GB, free: 453.9 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/2.741, allocations: 0 / 0.987 GB, free: 453.9 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000344/2.741, allocations: 171.9 kB / 0.9872 GB, free: 453.9 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006638/2.742, allocations: 145.9 kB / 0.9873 GB, free: 453.9 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001395/2.744, allocations: 1.416 MB / 0.9887 GB, free: 453 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002798/2.744, allocations: 0.9113 MB / 0.9896 GB, free: 452.3 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.779e-05/2.744, allocations: 51.52 kB / 0.9896 GB, free: 452.3 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/2.744, allocations: 0 / 0.9896 GB, free: 452.3 MB / 0.8106 GB Notification: Performance of Templates: time 0.03971/2.784, allocations: 40.35 MB / 1.029 GB, free: 431.4 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestJunctions4.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestJunctions4.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 OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestJunctions4CalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestJunctions4CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestJunctions4CalcHelperMain.o] Error 1