Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerDTorWorEff.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.TestStaticExchangerDTorWorEff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerDTorWorEff") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerDTorWorEff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerDTorWorEff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6962/0.6962, allocations: 150.8 MB / 166.7 MB, free: 15.64 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.485e-05/1.487e-05, allocations: 4 kB / 205.4 MB, free: 10.21 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1262, allocations: 31.99 MB / 237.4 MB, free: 5.402 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.TestStaticExchangerDTorWorEff): time 1.332/1.458, allocations: 294.8 MB / 0.5197 GB, free: 12.07 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1674/1.625, allocations: 187.4 MB / 0.7027 GB, free: 272 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002738/1.626, allocations: 11.94 kB / 0.7027 GB, free: 260 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001086/1.626, allocations: 63.41 kB / 0.7028 GB, free: 196 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.2348/1.861, allocations: 201.6 kB / 0.703 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02092/1.882, allocations: 9.109 MB / 0.7119 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006576/1.882, allocations: 0.7637 MB / 0.7126 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003032/1.883, allocations: 353.4 kB / 0.713 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001886/1.883, allocations: 249.1 kB / 0.7132 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002142/1.883, allocations: 301.9 kB / 0.7135 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.125e-05/1.883, allocations: 28.97 kB / 0.7135 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02624/1.909, allocations: 20.36 MB / 0.7334 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001285/1.91, allocations: 113.5 kB / 0.7335 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003383/1.91, allocations: 346 kB / 0.7338 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00824/1.918, allocations: 7.091 MB / 0.7408 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/1.918, allocations: 0 / 0.7408 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.202e-06/1.918, allocations: 0 / 0.7408 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.236e-06/1.918, allocations: 0 / 0.7408 GB, free: 1.113 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.003924/1.922, allocations: 1.979 MB / 0.7427 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/1.922, allocations: 8.719 kB / 0.7427 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001325/1.922, allocations: 86.77 kB / 0.7428 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005957/1.923, allocations: 440.4 kB / 0.7432 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.066e-05/1.923, allocations: 50.25 kB / 0.7433 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.164e-05/1.923, allocations: 62.25 kB / 0.7433 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000845/1.924, allocations: 0.7058 MB / 0.744 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/1.924, allocations: 0 / 0.744 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.021e-05/1.924, allocations: 27.62 kB / 0.744 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.262e-05/1.924, allocations: 20.97 kB / 0.7441 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006655/1.925, allocations: 0.5164 MB / 0.7446 GB, free: 15.13 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.002315/1.927, allocations: 3.141 MB / 0.7476 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003436/1.927, allocations: 233 kB / 0.7479 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000136/1.927, allocations: 111.1 kB / 0.748 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3327/2.26, allocations: 184.2 MB / 0.9278 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/2.26, allocations: 37.47 kB / 0.9279 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=25): time 2.215e-06/2.26, allocations: 0 / 0.9279 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of matching and sorting (n=25): time 0.00221/2.263, allocations: 0.7464 MB / 0.9286 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/2.263, allocations: 59.41 kB / 0.9286 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005077/2.263, allocations: 498.6 kB / 0.9291 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/2.263, allocations: 32.23 kB / 0.9292 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001951/2.263, allocations: 360.8 kB / 0.9295 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.354e-05/2.263, allocations: 92.41 kB / 0.9296 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.16e-05/2.263, allocations: 44.45 kB / 0.9296 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001219/2.264, allocations: 360.8 kB / 0.93 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001563/2.264, allocations: 105.4 kB / 0.9301 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002368/2.264, allocations: 272.7 kB / 0.9303 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004314/2.264, allocations: 398.2 kB / 0.9307 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/2.264, allocations: 0 / 0.9307 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007228/2.265, allocations: 0.4997 MB / 0.9312 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/2.265, allocations: 8 kB / 0.9312 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/2.265, allocations: 8 kB / 0.9312 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001696/2.267, allocations: 387.8 kB / 0.9316 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001727/2.267, allocations: 73.47 kB / 0.9317 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006394/2.268, allocations: 0.7742 MB / 0.9324 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002598/2.268, allocations: 58.66 kB / 0.9325 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.782e-05/2.268, allocations: 23.62 kB / 0.9325 GB, free: 10.13 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 8 (sourceWaterSteam_FF.C.ftype,sourceWaterSteam_FC.C.ftype,sinkWaterSteam_FF.fluid,sinkWaterSteam_FC.fluid,exchangerWaterSteamDTorWorEFF.fluid_c,exchangerWaterSteamDTorWorEFF.fluid_f,sourceWaterSteam_FC.fluid1,sourceWaterSteam_FF.fluid1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * 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 {(2,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0001982/2.268, allocations: 196.5 kB / 0.9327 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.892e-05/2.268, allocations: 51.34 kB / 0.9327 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001065/2.269, allocations: 0.4954 MB / 0.9332 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/2.269, allocations: 0 / 0.9332 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/2.269, allocations: 3.938 kB / 0.9332 GB, free: 9.539 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/2.269, allocations: 0 / 0.9332 GB, free: 9.539 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001859/2.271, allocations: 1.064 MB / 0.9343 GB, free: 8.637 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/2.271, allocations: 0 / 0.9343 GB, free: 8.637 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.821e-05/2.271, allocations: 18.95 kB / 0.9343 GB, free: 8.621 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001276/2.273, allocations: 314.9 kB / 0.9346 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/2.273, allocations: 7.5 kB / 0.9346 GB, free: 8.336 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005907/2.273, allocations: 0.7673 MB / 0.9353 GB, free: 7.641 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/2.273, allocations: 0 / 0.9353 GB, free: 7.641 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007655/2.274, allocations: 493.9 kB / 0.9358 GB, free: 7.227 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001588/2.274, allocations: 163.1 kB / 0.936 GB, free: 7.062 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.878e-05/2.274, allocations: 3.625 kB / 0.936 GB, free: 7.062 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001564/2.274, allocations: 7.688 kB / 0.936 GB, free: 7.059 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.782e-05/2.274, allocations: 26.5 kB / 0.936 GB, free: 7.039 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/2.274, allocations: 8 kB / 0.936 GB, free: 7.031 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003356/2.275, allocations: 364 kB / 0.9363 GB, free: 6.758 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/2.275, allocations: 0 / 0.9363 GB, free: 6.758 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.002985/2.278, allocations: 1.546 MB / 0.9379 GB, free: 5.312 MB / 0.7794 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 {(2,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005734/2.284, allocations: 2.317 MB / 0.9401 GB, free: 3.305 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005176/2.284, allocations: 287.3 kB / 0.9404 GB, free: 3.109 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/2.284, allocations: 0.625 kB / 0.9404 GB, free: 3.109 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002009/2.284, allocations: 115.3 kB / 0.9405 GB, free: 3.031 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006891/2.285, allocations: 140.4 kB / 0.9406 GB, free: 2.93 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/2.286, allocations: 1.153 MB / 0.9418 GB, free: 1.793 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003566/2.287, allocations: 0.8698 MB / 0.9426 GB, free: 0.8945 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.874e-05/2.287, allocations: 41.31 kB / 0.9427 GB, free: 0.8555 MB / 0.7794 GB Notification: Performance of SimCode: time 2e-07/2.287, allocations: 0 / 0.9427 GB, free: 0.8555 MB / 0.7794 GB Notification: Performance of Templates: time 0.03607/2.323, allocations: 32.91 MB / 0.9748 GB, free: 116 kB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerDTorWorEff.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerDTorWorEff.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.TestStaticExchangerDTorWorEffCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerDTorWorEffCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerDTorWorEffCalcHelperMain.o] Error 1