Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.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.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009887/0.0009888, allocations: 102.7 kB / 15.71 MB, free: 460 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.001415/0.001415, allocations: 175.5 kB / 16.58 MB, free: 6.398 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.487/1.487, allocations: 223.3 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.032/1.032, allocations: 135.3 MB / 427 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003721/0.0003722, allocations: 16 kB / 0.5076 GB, free: 5.145 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2126, allocations: 82.32 MB / 0.588 GB, free: 3.004 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.4609/0.6736, allocations: 56.49 MB / 0.6432 GB, free: 20.2 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01554/0.6892, allocations: 11.2 MB / 0.6541 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002889/0.6921, allocations: 56.31 kB / 0.6541 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002121/0.6943, allocations: 468.3 kB / 0.6546 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005872/0.7002, allocations: 1.522 MB / 0.6561 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003659/0.7039, allocations: 0.8572 MB / 0.6569 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004983/0.7089, allocations: 3.393 MB / 0.6602 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001616/0.7105, allocations: 0.812 MB / 0.661 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002607/0.7131, allocations: 1.044 MB / 0.662 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001931/0.7151, allocations: 0.8082 MB / 0.6628 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001946/0.7153, allocations: 43 kB / 0.6629 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003241/0.7185, allocations: 1.099 MB / 0.6639 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003063/0.7189, allocations: 199.1 kB / 0.6641 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006545/0.7195, allocations: 286.4 kB / 0.6644 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003253/0.7228, allocations: 1.644 MB / 0.666 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.595e-06/0.7228, allocations: 0 / 0.666 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.025e-06/0.7228, allocations: 0.6094 kB / 0.666 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.817e-05/0.7229, allocations: 1.312 kB / 0.666 GB, free: 6.988 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.003524/0.7264, allocations: 1.51 MB / 0.6675 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.7264, allocations: 8.469 kB / 0.6675 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002698/0.7292, allocations: 0.5145 MB / 0.668 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002718/0.7319, allocations: 1.097 MB / 0.6691 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003518/0.7323, allocations: 129.1 kB / 0.6692 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001456/0.7324, allocations: 82.47 kB / 0.6693 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002447/0.7349, allocations: 1.03 MB / 0.6703 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/0.7349, allocations: 3.984 kB / 0.6703 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.89e-05/0.735, allocations: 31.88 kB / 0.6703 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.533e-05/0.735, allocations: 27.38 kB / 0.6703 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003431/0.7385, allocations: 0.9976 MB / 0.6713 GB, free: 4.344 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.00959/0.7481, allocations: 4.718 MB / 0.6759 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005313/0.7534, allocations: 1.125 MB / 0.677 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001602/0.755, allocations: 447.4 kB / 0.6774 GB, free: 448 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001204/0.7563, allocations: 1.03 MB / 0.6785 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.097e-05/0.7563, allocations: 39.23 kB / 0.6785 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=53): time 3.597e-06/0.7564, allocations: 0 / 0.6785 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53): time 0.01335/0.7697, allocations: 2.485 MB / 0.6809 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.036e-05/0.7698, allocations: 65.78 kB / 0.681 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002772/0.7726, allocations: 0.9225 MB / 0.6819 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002599/0.7729, allocations: 37.61 kB / 0.6819 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000802/0.7737, allocations: 0.5107 MB / 0.6824 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004754/0.7742, allocations: 180.8 kB / 0.6826 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.094e-05/0.7743, allocations: 14.19 kB / 0.6826 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002224/0.7745, allocations: 326 kB / 0.6829 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001368/0.7759, allocations: 377.4 kB / 0.6833 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001611/0.7776, allocations: 0.5442 MB / 0.6838 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001282/0.7789, allocations: 400.6 kB / 0.6842 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.676e-06/0.7789, allocations: 1.094 kB / 0.6842 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00351/0.7824, allocations: 1.123 MB / 0.6853 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001573/0.7826, allocations: 170.7 kB / 0.6854 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.7826, allocations: 2.578 kB / 0.6855 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00143/0.784, allocations: 324.8 kB / 0.6858 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006877/0.7847, allocations: 143.2 kB / 0.6859 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001786/0.7865, allocations: 0.9401 MB / 0.6868 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001721/0.7883, allocations: 168.6 kB / 0.687 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001566/0.7884, allocations: 29.88 kB / 0.687 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.7885, allocations: 11.86 kB / 0.687 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003076/0.7916, allocations: 1.002 MB / 0.688 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.7916, allocations: 11.09 kB / 0.688 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001267/0.7929, allocations: 321.6 kB / 0.6883 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006825/0.7936, allocations: 141.3 kB / 0.6884 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001673/0.7952, allocations: 0.93 MB / 0.6894 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001688/0.7969, allocations: 178.3 kB / 0.6895 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/0.7971, allocations: 28.61 kB / 0.6896 GB, free: 10.21 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (55): * Single equations (assignments): 54 * 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.001002/0.7981, allocations: 355.9 kB / 0.6899 GB, free: 9.922 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004832/0.7986, allocations: 106.5 kB / 0.69 GB, free: 9.867 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004963/0.8035, allocations: 1.439 MB / 0.6914 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.567e-05/0.8036, allocations: 15.97 kB / 0.6914 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/0.8036, allocations: 0 / 0.6914 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.8036, allocations: 2.766 kB / 0.6914 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007386/0.811, allocations: 2.519 MB / 0.6939 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.234e-05/0.8111, allocations: 1.219 kB / 0.6939 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005576/0.8116, allocations: 115.4 kB / 0.694 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001188/0.8128, allocations: 326 kB / 0.6943 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.839e-05/0.8129, allocations: 16.39 kB / 0.6943 GB, free: 8.238 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001987/0.8149, allocations: 0.9727 MB / 0.6953 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.704e-06/0.8149, allocations: 1.844 kB / 0.6953 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005662/0.8206, allocations: 1.451 MB / 0.6967 GB, free: 6.992 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001062/0.8217, allocations: 290.2 kB / 0.697 GB, free: 6.742 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004944/0.8222, allocations: 15.98 kB / 0.697 GB, free: 6.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001325/0.8235, allocations: 121.5 kB / 0.6971 GB, free: 6.684 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.8237, allocations: 42.09 kB / 0.6971 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.499e-05/0.8238, allocations: 24.33 kB / 0.6972 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001517/0.8253, allocations: 0.6494 MB / 0.6978 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8253, allocations: 0 / 0.6978 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002801/0.8281, allocations: 0.5742 MB / 0.6983 GB, free: 6.137 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.001156/0.8293, allocations: 363.3 kB / 0.6987 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004032/0.8333, allocations: 1.394 MB / 0.7001 GB, free: 5.332 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.8334, allocations: 0 / 0.7001 GB, free: 5.332 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001306/0.8347, allocations: 492.9 kB / 0.7005 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003092/0.8378, allocations: 0.4933 MB / 0.701 GB, free: 4.863 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005318/0.8431, allocations: 2.361 MB / 0.7033 GB, free: 3.324 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008565/0.844, allocations: 1.064 MB / 0.7044 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003917/0.8444, allocations: 89.75 kB / 0.7044 GB, free: 2.438 MB / 0.5137 GB Notification: Performance of SimCode: time 1.222e-06/0.8444, allocations: 0 / 0.7044 GB, free: 2.438 MB / 0.5137 GB Notification: Performance of Templates: time 0.03976/0.8842, allocations: 23.85 MB / 0.7277 GB, free: 12.67 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.makefile make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.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.Validation.Carnot_TCon_reverseFlowCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlowCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlowCalcHelperMain.o] Error 1