Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger.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.Examples.SimpleExamples.TestDynamicWaterWaterExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger") translateModel(ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8179/0.8179, allocations: 150.9 MB / 166.6 MB, free: 14.52 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003038/0.0003038, allocations: 19.97 kB / 204.7 MB, free: 10.07 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.2128, allocations: 31.33 MB / 236 MB, free: 5.445 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.Examples.SimpleExamples.TestDynamicWaterWaterExchanger): time 1.795/2.008, allocations: 294.3 MB / 0.5178 GB, free: 11.03 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03137/2.04, allocations: 26.06 MB / 0.5433 GB, free: 4.23 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006774/2.04, allocations: 4 kB / 0.5433 GB, free: 4.227 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/DynamicWaterWaterExchanger.mo:117:3-118:48:writable] Warning: Connector Ec is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/DynamicWaterWaterExchanger.mo:119:3-120:48:writable] Warning: Connector Ef is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/DynamicWaterWaterExchanger.mo:121:3-122:46:writable] Warning: Connector Sf is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/DynamicWaterWaterExchanger.mo:123:3-124:46:writable] Warning: Connector Sc is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SourceP.mo:30:3-31:45:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SinkP.mo:33:3-34:47:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0006135/2.041, allocations: 156.1 kB / 0.5434 GB, free: 4.074 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007423/2.042, allocations: 338 kB / 0.5438 GB, free: 3.742 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01794/2.06, allocations: 5.31 MB / 0.549 GB, free: 14.45 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002727/2.062, allocations: 2.677 MB / 0.5516 GB, free: 11.76 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006058/2.063, allocations: 0.6192 MB / 0.5522 GB, free: 11.13 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007752/2.064, allocations: 0.7785 MB / 0.5529 GB, free: 10.35 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009261/2.065, allocations: 0.8724 MB / 0.5538 GB, free: 9.477 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000157/2.065, allocations: 68 kB / 0.5539 GB, free: 9.41 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0259/2.091, allocations: 15.23 MB / 0.5687 GB, free: 10.16 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000891/2.092, allocations: 422.7 kB / 0.5691 GB, free: 9.746 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001257/2.093, allocations: 0.7036 MB / 0.5698 GB, free: 9.039 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01162/2.105, allocations: 5.286 MB / 0.575 GB, free: 3.742 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.828e-06/2.105, allocations: 0 / 0.575 GB, free: 3.742 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.655e-06/2.105, allocations: 0 / 0.575 GB, free: 3.742 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.453e-05/2.105, allocations: 0 / 0.575 GB, free: 3.742 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 418 * Number of variables: 418 Notification: Performance of Generate backend data structure: time 0.008745/2.113, allocations: 2.307 MB / 0.5772 GB, free: 1.379 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/2.114, allocations: 11.97 kB / 0.5772 GB, free: 1.367 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003155/2.114, allocations: 138 kB / 0.5774 GB, free: 1.234 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008655/2.115, allocations: 0.5702 MB / 0.5779 GB, free: 0.625 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001083/2.115, allocations: 98 kB / 0.578 GB, free: 0.5273 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001843/2.115, allocations: 103.9 kB / 0.5781 GB, free: 436 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003122/2.118, allocations: 1.962 MB / 0.58 GB, free: 14.4 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.445e-05/2.118, allocations: 0 / 0.58 GB, free: 14.4 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001176/2.118, allocations: 40 kB / 0.5801 GB, free: 14.36 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-05/2.118, allocations: 71.94 kB / 0.5801 GB, free: 14.29 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00317/2.122, allocations: 1.911 MB / 0.582 GB, free: 12.38 MB / 478.1 MB 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.07733/2.199, allocations: 39.55 MB / 0.6206 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003115/2.202, allocations: 1.713 MB / 0.6223 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002136/2.204, allocations: 1.193 MB / 0.6235 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06935/2.274, allocations: 33.61 MB / 0.6563 GB, free: 9.133 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.466e-05/2.274, allocations: 43.88 kB / 0.6563 GB, free: 9.082 MB / 0.545 GB Notification: Performance of pre-optimization done (n=292): time 3.596e-06/2.274, allocations: 3.938 kB / 0.6563 GB, free: 9.078 MB / 0.545 GB Notification: Performance of matching and sorting (n=292): time 0.03347/2.307, allocations: 7.314 MB / 0.6635 GB, free: 1.633 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.533e-05/2.307, allocations: 64.72 kB / 0.6635 GB, free: 1.555 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004865/2.308, allocations: 353.5 kB / 0.6639 GB, free: 1.203 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0002631/2.308, allocations: 49.7 kB / 0.6639 GB, free: 1.148 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002127/2.308, allocations: 279.7 kB / 0.6642 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001006/2.309, allocations: 0.9428 MB / 0.6651 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007584/2.31, allocations: 347.8 kB / 0.6654 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001332/2.31, allocations: 330 kB / 0.6658 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001961/2.312, allocations: 1.019 MB / 0.6668 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002093/2.314, allocations: 1.22 MB / 0.6679 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004269/2.319, allocations: 2.46 MB / 0.6704 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/2.319, allocations: 0 / 0.6704 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of matching and sorting (n=316) (initialization): time 0.006923/2.326, allocations: 3.737 MB / 0.674 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/2.326, allocations: 8.188 kB / 0.674 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/2.326, allocations: 4 kB / 0.674 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01677/2.342, allocations: 4.827 MB / 0.6787 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001669/2.343, allocations: 31.92 kB / 0.6788 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009887/2.352, allocations: 4.898 MB / 0.6835 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001361/2.354, allocations: 193.7 kB / 0.6837 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002093/2.354, allocations: 67.95 kB / 0.6838 GB, free: 12.63 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 (puitsP1.C.a,puitsP.C.a,sourceP1.C.b,sourceP.C.b,echangeurAPlaques1D.Sc.b,echangeurAPlaques1D.Sf.b,echangeurAPlaques1D.Ef.a,echangeurAPlaques1D.Ec.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {(22,100)} Notification: Performance of prepare postOptimizeDAE: time 0.0008295/2.355, allocations: 365.1 kB / 0.6841 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004013/2.355, allocations: 102.6 kB / 0.6842 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01275/2.368, allocations: 10.92 MB / 0.6949 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006485/2.375, allocations: 4.026 MB / 0.6988 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-05/2.375, allocations: 0 / 0.6988 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.641e-05/2.375, allocations: 11.95 kB / 0.6988 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01735/2.392, allocations: 8.264 MB / 0.7069 GB, free: 4.562 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.309e-05/2.392, allocations: 4 kB / 0.7069 GB, free: 4.559 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001435/2.394, allocations: 355.5 kB / 0.7073 GB, free: 4.211 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007218/2.401, allocations: 2.976 MB / 0.7102 GB, free: 1.234 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002419/2.401, allocations: 75.88 kB / 0.7102 GB, free: 1.16 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008018/2.409, allocations: 6.658 MB / 0.7167 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/2.409, allocations: 3.938 kB / 0.7167 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01288/2.422, allocations: 6.196 MB / 0.7228 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004632/2.423, allocations: 258.5 kB / 0.723 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002928/2.423, allocations: 71.67 kB / 0.7231 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001258/2.424, allocations: 91.73 kB / 0.7232 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003618/2.424, allocations: 177.9 kB / 0.7234 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001586/2.425, allocations: 75.95 kB / 0.7234 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005382/2.425, allocations: 399.1 kB / 0.7238 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.51e-07/2.425, allocations: 3.938 kB / 0.7238 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.004233/2.429, allocations: 1.358 MB / 0.7251 GB, free: 1.477 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (echangeurAPlaques1D.Hmc[1],echangeurAPlaques1D.Hmc[2],echangeurAPlaques1D.Hmc[3],echangeurAPlaques1D.Hmc[4],echangeurAPlaques1D.Hmc[5],echangeurAPlaques1D.Hmf[1],echangeurAPlaques1D.Hmf[2],echangeurAPlaques1D.Hmf[3],echangeurAPlaques1D.Hmf[4],echangeurAPlaques1D.Hmf[5]) * 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 (188): * Single equations (assignments): 180 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,35), (5,35)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005617/2.435, allocations: 1.238 MB / 0.7264 GB, free: 248 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.2072/2.642, allocations: 3.964 MB / 0.7302 GB, free: 254.4 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/2.642, allocations: 0 / 0.7302 GB, free: 254.4 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.005428/2.648, allocations: 2.158 MB / 0.7323 GB, free: 254.1 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004395/2.652, allocations: 0.8533 MB / 0.7332 GB, free: 254.1 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009542/2.662, allocations: 6.024 MB / 0.739 GB, free: 252.2 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008797/2.663, allocations: 1.527 MB / 0.7405 GB, free: 251.4 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003218/2.663, allocations: 108.6 kB / 0.7406 GB, free: 251.4 MB / 0.6075 GB Notification: Performance of SimCode: time 1.463e-06/2.663, allocations: 0 / 0.7406 GB, free: 251.4 MB / 0.6075 GB Notification: Performance of Templates: time 0.06798/2.731, allocations: 55.2 MB / 0.7946 GB, free: 214.5 MB / 0.6075 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchangerCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchangerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchangerCalcHelperMain.o] Error 1