Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0008032/0.0008032, allocations: 97.02 kB / 15.71 MB, free: 452 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.00105/0.00105, allocations: 181.7 kB / 16.58 MB, free: 6.422 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.428/1.428, allocations: 223.2 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1/1, allocations: 135.3 MB / 427 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000343/0.0003431, allocations: 8 kB / 0.5076 GB, free: 5.27 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.18/0.1804, allocations: 82.31 MB / 0.588 GB, free: 3.125 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.4975/0.6779, allocations: 56.46 MB / 0.6431 GB, free: 20.36 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0158/0.6938, allocations: 11.2 MB / 0.6541 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002633/0.6965, allocations: 46.97 kB / 0.6541 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001911/0.6984, allocations: 478.1 kB / 0.6546 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005892/0.7043, allocations: 1.515 MB / 0.656 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003189/0.7075, allocations: 0.8597 MB / 0.6569 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005153/0.7127, allocations: 3.395 MB / 0.6602 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00141/0.7141, allocations: 0.7921 MB / 0.661 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002666/0.7168, allocations: 1.045 MB / 0.662 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001702/0.7185, allocations: 0.7973 MB / 0.6628 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001553/0.7187, allocations: 42.16 kB / 0.6628 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003553/0.7222, allocations: 1.088 MB / 0.6639 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003385/0.7226, allocations: 206.7 kB / 0.6641 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006483/0.7232, allocations: 282.5 kB / 0.6643 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003448/0.7267, allocations: 1.621 MB / 0.6659 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.846e-06/0.7267, allocations: 0.9688 kB / 0.6659 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.196e-06/0.7267, allocations: 0 / 0.6659 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.858e-05/0.7268, allocations: 0 / 0.6659 GB, free: 7.176 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.003619/0.7304, allocations: 1.502 MB / 0.6674 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.7305, allocations: 8.281 kB / 0.6674 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002293/0.7328, allocations: 473.7 kB / 0.6678 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002739/0.7355, allocations: 1.087 MB / 0.6689 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003553/0.7359, allocations: 131.2 kB / 0.669 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001643/0.7361, allocations: 79.62 kB / 0.6691 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002924/0.739, allocations: 0.9986 MB / 0.6701 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.627e-05/0.739, allocations: 5.25 kB / 0.6701 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.363e-05/0.7391, allocations: 35.5 kB / 0.6701 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.846e-05/0.7392, allocations: 18.56 kB / 0.6701 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003013/0.7422, allocations: 0.9116 MB / 0.671 GB, free: 4.551 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.008413/0.7506, allocations: 4.897 MB / 0.6758 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003286/0.7539, allocations: 0.8973 MB / 0.6767 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007803/0.7548, allocations: 321.1 kB / 0.677 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006945/0.7555, allocations: 0.9005 MB / 0.6779 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.046e-05/0.7555, allocations: 44.61 kB / 0.6779 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 2.635e-06/0.7555, allocations: 1.094 kB / 0.6779 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.008826/0.7644, allocations: 2.145 MB / 0.68 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.789e-05/0.7645, allocations: 56.69 kB / 0.6801 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002241/0.7667, allocations: 1.05 MB / 0.6811 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001347/0.7669, allocations: 34.92 kB / 0.6811 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005456/0.7674, allocations: 0.5219 MB / 0.6816 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001839/0.7676, allocations: 149.4 kB / 0.6818 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.091e-05/0.7677, allocations: 10.47 kB / 0.6818 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.7678, allocations: 325.9 kB / 0.6821 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009341/0.7688, allocations: 319.9 kB / 0.6824 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001168/0.7699, allocations: 0.5341 MB / 0.6829 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001034/0.771, allocations: 359.2 kB / 0.6833 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.498e-06/0.771, allocations: 1.25 kB / 0.6833 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.004012/0.775, allocations: 1.219 MB / 0.6845 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002049/0.7753, allocations: 217.5 kB / 0.6847 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.096e-05/0.7753, allocations: 8.109 kB / 0.6847 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001445/0.7767, allocations: 332.3 kB / 0.685 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005998/0.7774, allocations: 131.7 kB / 0.6851 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001714/0.7791, allocations: 0.9349 MB / 0.686 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00187/0.781, allocations: 189.5 kB / 0.6862 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001648/0.7811, allocations: 33.92 kB / 0.6862 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.7812, allocations: 8.25 kB / 0.6863 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003671/0.7848, allocations: 1.081 MB / 0.6873 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.7849, allocations: 4.125 kB / 0.6873 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001284/0.7862, allocations: 325.1 kB / 0.6876 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005766/0.7868, allocations: 126.4 kB / 0.6877 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001663/0.7884, allocations: 0.9396 MB / 0.6887 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001641/0.7901, allocations: 170.5 kB / 0.6888 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001254/0.7902, allocations: 27.36 kB / 0.6888 GB, free: 10.4 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0009495/0.7912, allocations: 353.4 kB / 0.6892 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004642/0.7917, allocations: 111.1 kB / 0.6893 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004358/0.796, allocations: 1.197 MB / 0.6905 GB, free: 9.68 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.328e-05/0.7961, allocations: 10.16 kB / 0.6905 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.198e-05/0.7961, allocations: 0 / 0.6905 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.299e-05/0.7961, allocations: 2.625 kB / 0.6905 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007436/0.8036, allocations: 2.25 MB / 0.6927 GB, free: 8.672 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.75e-05/0.8037, allocations: 2.688 kB / 0.6927 GB, free: 8.672 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003226/0.804, allocations: 79.22 kB / 0.6927 GB, free: 8.656 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001149/0.8052, allocations: 320.2 kB / 0.6931 GB, free: 8.578 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.624e-05/0.8052, allocations: 11.06 kB / 0.6931 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001674/0.8069, allocations: 0.9686 MB / 0.694 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.672e-06/0.807, allocations: 2.375 kB / 0.694 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004096/0.8111, allocations: 1.253 MB / 0.6952 GB, free: 7.375 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001047/0.8121, allocations: 289 kB / 0.6955 GB, free: 7.156 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005095/0.8126, allocations: 13.56 kB / 0.6955 GB, free: 7.148 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00137/0.814, allocations: 113 kB / 0.6956 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.8142, allocations: 47.44 kB / 0.6957 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.002e-05/0.8143, allocations: 25.59 kB / 0.6957 GB, free: 7.105 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002074/0.8163, allocations: 0.7332 MB / 0.6964 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8164, allocations: 0 / 0.6964 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003348/0.8197, allocations: 0.5554 MB / 0.697 GB, free: 6.68 MB / 0.5137 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.001275/0.821, allocations: 359.6 kB / 0.6973 GB, free: 6.5 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003975/0.825, allocations: 1.168 MB / 0.6984 GB, free: 6.051 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.137e-05/0.825, allocations: 1 kB / 0.6984 GB, free: 6.051 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001096/0.8261, allocations: 370.9 kB / 0.6988 GB, free: 5.887 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003797/0.8299, allocations: 0.4944 MB / 0.6993 GB, free: 5.641 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007059/0.837, allocations: 2.517 MB / 0.7017 GB, free: 4.039 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001032/0.8381, allocations: 1.056 MB / 0.7028 GB, free: 3.176 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004355/0.8386, allocations: 84.03 kB / 0.7028 GB, free: 3.16 MB / 0.5137 GB Notification: Performance of SimCode: time 1.242e-06/0.8386, allocations: 0 / 0.7028 GB, free: 3.16 MB / 0.5137 GB Notification: Performance of Templates: time 0.0437/0.8823, allocations: 23.66 MB / 0.726 GB, free: 14.53 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.makefile make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/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_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TConCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TConCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TConCalcHelperMain.o] Error 1