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.8522/0.8522, allocations: 150.9 MB / 166.6 MB, free: 14.64 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000415/0.0004151, allocations: 19.97 kB / 204.7 MB, free: 10.11 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1934/0.1938, allocations: 31.33 MB / 236 MB, free: 5.457 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerDTorWorEff): time 1.754/1.948, allocations: 293.9 MB / 0.5174 GB, free: 12.64 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.5782/2.526, allocations: 189.6 MB / 0.7026 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008735/2.527, allocations: 16.34 kB / 0.7026 GB, free: 3.746 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourceQ.mo:62:3-63:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SinkP.mo:46:3-47:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourceQ.mo:62:3-63:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SinkP.mo:46:3-47:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/StaticExchangerDTorWorEff.mo:73:3-74:65:writable] Warning: Connector Ec is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/StaticExchangerDTorWorEff.mo:75:3-76:67:writable] Warning: Connector Ef is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/StaticExchangerDTorWorEff.mo:77:3-78:64:writable] Warning: Connector Sf is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/StaticExchangerDTorWorEff.mo:79:3-80:63:writable] Warning: Connector Sc is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0003112/2.527, allocations: 57.7 kB / 0.7027 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0007056/2.528, allocations: 211.5 kB / 0.7029 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.03103/2.559, allocations: 8.934 MB / 0.7116 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001211/2.56, allocations: 0.7626 MB / 0.7124 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004199/2.561, allocations: 394.9 kB / 0.7127 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003111/2.561, allocations: 291.3 kB / 0.713 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003291/2.561, allocations: 344.5 kB / 0.7133 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.501e-05/2.561, allocations: 55.2 kB / 0.7134 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0408/2.602, allocations: 20.29 MB / 0.7332 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002907/2.603, allocations: 140.9 kB / 0.7333 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000651/2.603, allocations: 364.8 kB / 0.7337 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01818/2.621, allocations: 7.185 MB / 0.7407 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.168e-05/2.621, allocations: 2.469 kB / 0.7407 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.014e-06/2.621, allocations: 1.094 kB / 0.7407 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.165e-05/2.621, allocations: 0 / 0.7407 GB, free: 1.348 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.006229/2.628, allocations: 2.122 MB / 0.7428 GB, free: 16 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/2.628, allocations: 10.19 kB / 0.7428 GB, free: 16 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001805/2.628, allocations: 80.16 kB / 0.7429 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005565/2.629, allocations: 436.7 kB / 0.7433 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.069e-05/2.629, allocations: 57.56 kB / 0.7433 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.778e-05/2.629, allocations: 64.41 kB / 0.7434 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009752/2.63, allocations: 0.6965 MB / 0.7441 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/2.63, allocations: 1.906 kB / 0.7441 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.932e-05/2.63, allocations: 31.2 kB / 0.7441 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.654e-05/2.63, allocations: 18.75 kB / 0.7441 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007741/2.631, allocations: 0.5165 MB / 0.7446 GB, free: 15.35 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.002942/2.633, allocations: 3.15 MB / 0.7477 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004222/2.634, allocations: 231.2 kB / 0.7479 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001658/2.634, allocations: 104.2 kB / 0.748 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3689/3.003, allocations: 182.6 MB / 0.9263 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.229e-05/3.003, allocations: 40.3 kB / 0.9264 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=25): time 2.796e-06/3.003, allocations: 0 / 0.9264 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of matching and sorting (n=25): time 0.002752/3.006, allocations: 0.7351 MB / 0.9271 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.857e-05/3.006, allocations: 56.03 kB / 0.9272 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008702/3.007, allocations: 0.4889 MB / 0.9276 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.546e-05/3.007, allocations: 28.83 kB / 0.9277 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003346/3.007, allocations: 365 kB / 0.928 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.695e-05/3.007, allocations: 91 kB / 0.9281 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001613/3.008, allocations: 99.14 kB / 0.9282 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001644/3.008, allocations: 363.4 kB / 0.9285 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002254/3.008, allocations: 94.72 kB / 0.9286 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003297/3.008, allocations: 270.1 kB / 0.9289 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005495/3.009, allocations: 398.6 kB / 0.9293 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.224e-06/3.009, allocations: 5.203 kB / 0.9293 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009114/3.01, allocations: 0.5078 MB / 0.9298 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/3.01, allocations: 8 kB / 0.9298 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/3.01, allocations: 4 kB / 0.9298 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00178/3.012, allocations: 382.4 kB / 0.9301 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002019/3.012, allocations: 67.88 kB / 0.9302 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008136/3.013, allocations: 0.7714 MB / 0.931 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000367/3.013, allocations: 59.16 kB / 0.931 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.692e-05/3.013, allocations: 23.12 kB / 0.931 GB, free: 10.18 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.0002922/3.013, allocations: 189.9 kB / 0.9312 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/3.013, allocations: 47.44 kB / 0.9313 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001228/3.015, allocations: 0.4933 MB / 0.9317 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/3.015, allocations: 0 / 0.9317 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/3.015, allocations: 3.938 kB / 0.9317 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/3.015, allocations: 0 / 0.9317 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00214/3.017, allocations: 1.066 MB / 0.9328 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/3.017, allocations: 7.984 kB / 0.9328 GB, free: 8.676 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.405e-05/3.017, allocations: 12 kB / 0.9328 GB, free: 8.664 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001347/3.018, allocations: 309.1 kB / 0.9331 GB, free: 8.391 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.25e-05/3.018, allocations: 7.25 kB / 0.9331 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000682/3.019, allocations: 0.7658 MB / 0.9339 GB, free: 7.695 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/3.019, allocations: 0 / 0.9339 GB, free: 7.695 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008969/3.02, allocations: 488.1 kB / 0.9343 GB, free: 7.289 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002247/3.02, allocations: 161.7 kB / 0.9345 GB, free: 7.129 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.487e-05/3.02, allocations: 4 kB / 0.9345 GB, free: 7.125 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/3.02, allocations: 3.625 kB / 0.9345 GB, free: 7.125 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.396e-05/3.021, allocations: 18.73 kB / 0.9345 GB, free: 7.109 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/3.021, allocations: 11.98 kB / 0.9345 GB, free: 7.098 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0004136/3.021, allocations: 367.5 kB / 0.9349 GB, free: 6.82 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.3e-07/3.021, allocations: 0 / 0.9349 GB, free: 6.82 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.004778/3.026, allocations: 1.547 MB / 0.9364 GB, free: 5.383 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.009095/3.035, allocations: 2.355 MB / 0.9387 GB, free: 3.387 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007723/3.036, allocations: 281.4 kB / 0.9389 GB, free: 3.199 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/3.036, allocations: 0 / 0.9389 GB, free: 3.199 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002562/3.036, allocations: 117.1 kB / 0.9391 GB, free: 3.113 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000857/3.037, allocations: 144.6 kB / 0.9392 GB, free: 3.008 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00185/3.039, allocations: 1.12 MB / 0.9403 GB, free: 1.902 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004472/3.039, allocations: 0.8686 MB / 0.9411 GB, free: 1.008 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/3.039, allocations: 41.38 kB / 0.9412 GB, free: 0.9688 MB / 0.7794 GB Notification: Performance of SimCode: time 3.5e-07/3.039, allocations: 0 / 0.9412 GB, free: 0.9688 MB / 0.7794 GB Notification: Performance of Templates: time 0.2469/3.286, allocations: 33.64 MB / 0.974 GB, free: 456.7 MB / 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