Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.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.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007293/0.0007291, allocations: 92.31 kB / 16.02 MB, free: 80 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.0008051/0.0008052, allocations: 180.2 kB / 16.92 MB, free: 6.652 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.292/1.292, allocations: 223.2 MB / 241 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7346/0.7346, allocations: 132.3 MB / 424.4 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003249/0.000325, allocations: 8 kB / 0.5046 GB, free: 3.875 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.47/0.4704, allocations: 81.58 MB / 0.5843 GB, free: 4.008 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.05932/0.5297, allocations: 59.72 MB / 0.6426 GB, free: 4.512 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01779/0.5476, allocations: 11.9 MB / 0.6542 GB, free: 8.586 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002801/0.5504, allocations: 47.69 kB / 0.6543 GB, free: 8.539 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00204/0.5525, allocations: 0.5516 MB / 0.6548 GB, free: 7.984 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005881/0.5584, allocations: 1.796 MB / 0.6566 GB, free: 6.18 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003088/0.5615, allocations: 1.077 MB / 0.6576 GB, free: 5.113 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.005243/0.5667, allocations: 3.902 MB / 0.6614 GB, free: 1.203 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001742/0.5685, allocations: 0.902 MB / 0.6623 GB, free: 272 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002853/0.5714, allocations: 1.131 MB / 0.6634 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001854/0.5733, allocations: 0.8553 MB / 0.6642 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003538/0.5736, allocations: 40 kB / 0.6643 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00331/0.5769, allocations: 1.321 MB / 0.6656 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004234/0.5774, allocations: 210.9 kB / 0.6658 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001146/0.5785, allocations: 0.6389 MB / 0.6664 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002596/0.5811, allocations: 1.687 MB / 0.668 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.5812, allocations: 0 / 0.668 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.783e-06/0.5812, allocations: 0 / 0.668 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.674e-05/0.5812, allocations: 3.938 kB / 0.668 GB, free: 10.36 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.00306/0.5843, allocations: 1.485 MB / 0.6695 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.5844, allocations: 12.03 kB / 0.6695 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002159/0.5865, allocations: 474.8 kB / 0.67 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002028/0.5886, allocations: 1.132 MB / 0.6711 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003459/0.5889, allocations: 121.9 kB / 0.6712 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001215/0.5891, allocations: 88 kB / 0.6713 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002096/0.5912, allocations: 1.001 MB / 0.6722 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.283e-05/0.5912, allocations: 3.938 kB / 0.6722 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.974e-05/0.5913, allocations: 32 kB / 0.6723 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.157e-05/0.5913, allocations: 20 kB / 0.6723 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00237/0.5937, allocations: 0.9211 MB / 0.6732 GB, free: 4.918 MB / 0.4981 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.006444/0.6001, allocations: 4.89 MB / 0.678 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00341/0.6036, allocations: 0.8936 MB / 0.6788 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007378/0.6043, allocations: 332.5 kB / 0.6792 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006781/0.605, allocations: 0.9024 MB / 0.68 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.221e-05/0.6051, allocations: 42.52 kB / 0.6801 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 3.246e-06/0.6051, allocations: 4 kB / 0.6801 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.008967/0.6141, allocations: 2.146 MB / 0.6822 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/0.6141, allocations: 59.41 kB / 0.6822 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001936/0.6161, allocations: 1.063 MB / 0.6833 GB, free: 9.953 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 9.598e-05/0.6162, allocations: 37.7 kB / 0.6833 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004424/0.6167, allocations: 0.5157 MB / 0.6838 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001572/0.6168, allocations: 157.8 kB / 0.684 GB, free: 9.234 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.232e-05/0.6169, allocations: 53.69 kB / 0.684 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.617, allocations: 322 kB / 0.6843 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008909/0.6179, allocations: 328.9 kB / 0.6846 GB, free: 8.535 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001041/0.619, allocations: 0.5298 MB / 0.6852 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001675/0.6207, allocations: 0.7363 MB / 0.6859 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.6207, allocations: 4 kB / 0.6859 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002843/0.6235, allocations: 1.044 MB / 0.6869 GB, free: 6.07 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001502/0.6237, allocations: 227.9 kB / 0.6871 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.6237, allocations: 4 kB / 0.6871 GB, free: 5.785 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001365/0.6251, allocations: 334.1 kB / 0.6874 GB, free: 5.457 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000539/0.6257, allocations: 135.8 kB / 0.6876 GB, free: 5.324 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001566/0.6272, allocations: 0.9367 MB / 0.6885 GB, free: 4.363 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001534/0.6288, allocations: 195.1 kB / 0.6887 GB, free: 4.172 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.357e-05/0.6289, allocations: 31.98 kB / 0.6887 GB, free: 4.141 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.6289, allocations: 4 kB / 0.6887 GB, free: 4.137 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00254/0.6315, allocations: 0.9103 MB / 0.6896 GB, free: 3.223 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.6315, allocations: 12.06 kB / 0.6896 GB, free: 3.211 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001192/0.6327, allocations: 324.6 kB / 0.6899 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005185/0.6332, allocations: 127.8 kB / 0.69 GB, free: 2.766 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001511/0.6347, allocations: 0.9387 MB / 0.691 GB, free: 1.801 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/0.6361, allocations: 171.4 kB / 0.6911 GB, free: 1.633 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.436e-05/0.6362, allocations: 27.98 kB / 0.6911 GB, free: 1.605 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (51): * Single equations (assignments): 50 * 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 {(1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0006188/0.6368, allocations: 349 kB / 0.6915 GB, free: 1.254 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002993/0.6371, allocations: 110.6 kB / 0.6916 GB, free: 1.145 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004132/0.6413, allocations: 1.199 MB / 0.6928 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.148e-05/0.6413, allocations: 11.98 kB / 0.6928 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.217e-05/0.6413, allocations: 3.938 kB / 0.6928 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.6413, allocations: 0 / 0.6928 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006487/0.6478, allocations: 2.262 MB / 0.695 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-05/0.6479, allocations: 7.984 kB / 0.695 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002812/0.6482, allocations: 67.89 kB / 0.695 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001103/0.6493, allocations: 324.8 kB / 0.6954 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.932e-05/0.6493, allocations: 11.98 kB / 0.6954 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001548/0.6509, allocations: 0.9717 MB / 0.6963 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.6509, allocations: 4.062 kB / 0.6963 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003839/0.6548, allocations: 1.26 MB / 0.6976 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007002/0.6555, allocations: 287.4 kB / 0.6978 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002808/0.6558, allocations: 8 kB / 0.6978 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/0.6569, allocations: 111.9 kB / 0.6979 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/0.657, allocations: 43.77 kB / 0.698 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.444e-05/0.6571, allocations: 23.98 kB / 0.698 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001472/0.6585, allocations: 0.7389 MB / 0.6987 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6585, allocations: 0 / 0.6987 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001928/0.6605, allocations: 0.5613 MB / 0.6993 GB, free: 9.059 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (33): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(1,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001023/0.6615, allocations: 393.4 kB / 0.6996 GB, free: 8.68 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003305/0.6648, allocations: 1.169 MB / 0.7008 GB, free: 7.516 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.6649, allocations: 0 / 0.7008 GB, free: 7.516 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009123/0.6658, allocations: 366.5 kB / 0.7011 GB, free: 7.156 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00293/0.6687, allocations: 0.504 MB / 0.7016 GB, free: 6.66 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006043/0.6748, allocations: 2.563 MB / 0.7041 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007113/0.6755, allocations: 1.058 MB / 0.7052 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002655/0.6758, allocations: 83.41 kB / 0.7052 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of SimCode: time 1.062e-06/0.6758, allocations: 4 kB / 0.7053 GB, free: 2.859 MB / 0.5294 GB Notification: Performance of Templates: time 0.05063/0.7264, allocations: 23.66 MB / 0.7284 GB, free: 11.38 MB / 0.5606 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.makefile make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.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 OMCppIDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TConCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TConCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TConCalcHelperMain.o] Error 1