Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.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.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva") translateModel(IDEAS.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009194/0.0009193, allocations: 98.89 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.001377/0.001377, allocations: 179.1 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.422/1.422, allocations: 223.3 MB / 240.6 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7648/0.7648, allocations: 132.3 MB / 424 MB, free: 2.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003301/0.0003302, allocations: 12 kB / 0.504 GB, free: 4.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4832/0.4835, allocations: 81.58 MB / 0.5837 GB, free: 3.965 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_TEva): time 0.05887/0.5425, allocations: 56.46 MB / 0.6388 GB, free: 7.961 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01659/0.5591, allocations: 11.2 MB / 0.6497 GB, free: 12.74 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002558/0.5617, allocations: 55.62 kB / 0.6498 GB, free: 12.69 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0017/0.5634, allocations: 460.8 kB / 0.6502 GB, free: 12.23 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005126/0.5686, allocations: 1.531 MB / 0.6517 GB, free: 10.7 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002839/0.5714, allocations: 0.8624 MB / 0.6526 GB, free: 9.848 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004682/0.5761, allocations: 3.379 MB / 0.6559 GB, free: 6.457 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001415/0.5775, allocations: 0.7977 MB / 0.6566 GB, free: 5.633 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002333/0.5799, allocations: 1.038 MB / 0.6577 GB, free: 4.59 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001116/0.581, allocations: 0.805 MB / 0.6584 GB, free: 3.781 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001017/0.5811, allocations: 44 kB / 0.6585 GB, free: 3.738 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002481/0.5836, allocations: 1.095 MB / 0.6596 GB, free: 2.641 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000218/0.5838, allocations: 203 kB / 0.6598 GB, free: 2.441 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003589/0.5842, allocations: 281.1 kB / 0.66 GB, free: 2.16 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00186/0.5861, allocations: 1.641 MB / 0.6616 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.5861, allocations: 0 / 0.6616 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.5861, allocations: 0 / 0.6616 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.173e-05/0.5861, allocations: 0 / 0.6616 GB, free: 0.5156 MB / 494.1 MB 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.002495/0.5886, allocations: 1.493 MB / 0.6631 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.5887, allocations: 12.02 kB / 0.6631 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001874/0.5906, allocations: 473.9 kB / 0.6635 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001936/0.5925, allocations: 1.094 MB / 0.6646 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003057/0.5928, allocations: 121.9 kB / 0.6647 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/0.5929, allocations: 88 kB / 0.6648 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001849/0.5948, allocations: 0.9973 MB / 0.6658 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/0.5948, allocations: 4 kB / 0.6658 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.37e-05/0.5949, allocations: 32 kB / 0.6658 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.885e-05/0.5949, allocations: 16 kB / 0.6658 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002073/0.597, allocations: 0.9094 MB / 0.6667 GB, free: 11.13 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.005838/0.6029, allocations: 4.885 MB / 0.6715 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003032/0.6059, allocations: 0.8941 MB / 0.6724 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006734/0.6066, allocations: 316.7 kB / 0.6727 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006337/0.6072, allocations: 0.9103 MB / 0.6736 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.895e-05/0.6073, allocations: 42.56 kB / 0.6736 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=43): time 2.665e-06/0.6073, allocations: 0 / 0.6736 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43): time 0.006361/0.6137, allocations: 1.939 MB / 0.6755 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/0.6137, allocations: 63.41 kB / 0.6756 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001471/0.6152, allocations: 1.04 MB / 0.6766 GB, free: 416 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.724e-05/0.6153, allocations: 37.7 kB / 0.6766 GB, free: 372 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004226/0.6157, allocations: 0.5313 MB / 0.6771 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001235/0.6158, allocations: 149.8 kB / 0.6773 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.241e-05/0.6159, allocations: 8 kB / 0.6773 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.616, allocations: 326 kB / 0.6776 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007766/0.6168, allocations: 324.8 kB / 0.6779 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009417/0.6177, allocations: 0.5219 MB / 0.6784 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008288/0.6186, allocations: 357.9 kB / 0.6787 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.762e-06/0.6186, allocations: 4 kB / 0.6788 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003231/0.6218, allocations: 1.204 MB / 0.6799 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.000136/0.622, allocations: 219.3 kB / 0.6801 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.622, allocations: 4 kB / 0.6801 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001124/0.6231, allocations: 328.7 kB / 0.6805 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004898/0.6236, allocations: 131.8 kB / 0.6806 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001353/0.625, allocations: 0.9533 MB / 0.6815 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/0.6262, allocations: 191.2 kB / 0.6817 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.779e-05/0.6263, allocations: 31.98 kB / 0.6817 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.107e-06/0.6263, allocations: 4 kB / 0.6817 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0029/0.6292, allocations: 1.07 MB / 0.6828 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.689e-06/0.6292, allocations: 8 kB / 0.6828 GB, free: 9.848 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009797/0.6302, allocations: 312.8 kB / 0.6831 GB, free: 9.539 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004744/0.6307, allocations: 131.8 kB / 0.6832 GB, free: 9.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00129/0.632, allocations: 0.9387 MB / 0.6841 GB, free: 8.445 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001099/0.6331, allocations: 167.3 kB / 0.6843 GB, free: 8.281 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.413e-05/0.6332, allocations: 31.94 kB / 0.6843 GB, free: 8.25 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.0005838/0.6338, allocations: 345 kB / 0.6846 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001587/0.6339, allocations: 110.6 kB / 0.6847 GB, free: 7.793 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002153/0.6361, allocations: 0.9808 MB / 0.6857 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.488e-05/0.6361, allocations: 7.984 kB / 0.6857 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.6361, allocations: 3.953 kB / 0.6857 GB, free: 6.781 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.6362, allocations: 3.984 kB / 0.6857 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004525/0.6407, allocations: 2.249 MB / 0.6879 GB, free: 4.445 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.278e-06/0.6407, allocations: 4 kB / 0.6879 GB, free: 4.441 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002619/0.641, allocations: 67.89 kB / 0.688 GB, free: 4.375 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009519/0.6419, allocations: 316.8 kB / 0.6883 GB, free: 4.062 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.625e-05/0.642, allocations: 15.98 kB / 0.6883 GB, free: 4.047 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001317/0.6433, allocations: 0.9716 MB / 0.6892 GB, free: 3.051 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.802e-06/0.6433, allocations: 7.969 kB / 0.6893 GB, free: 3.043 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003204/0.6465, allocations: 1.26 MB / 0.6905 GB, free: 1.738 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006228/0.6472, allocations: 287.3 kB / 0.6908 GB, free: 1.438 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001263/0.6473, allocations: 12 kB / 0.6908 GB, free: 1.426 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000826/0.6481, allocations: 111.9 kB / 0.6909 GB, free: 1.316 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.312e-05/0.6482, allocations: 31.95 kB / 0.6909 GB, free: 1.285 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.491e-05/0.6483, allocations: 23.98 kB / 0.6909 GB, free: 1.262 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00127/0.6496, allocations: 0.743 MB / 0.6917 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6496, allocations: 0 / 0.6917 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001814/0.6514, allocations: 0.5535 MB / 0.6922 GB, free: 15.95 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 (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.0007728/0.6522, allocations: 375.3 kB / 0.6926 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00293/0.6551, allocations: 1.159 MB / 0.6937 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.6551, allocations: 0 / 0.6937 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008124/0.656, allocations: 368.4 kB / 0.694 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002517/0.6585, allocations: 0.4951 MB / 0.6945 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005161/0.6637, allocations: 2.537 MB / 0.697 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006072/0.6643, allocations: 1.058 MB / 0.698 GB, free: 9.902 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002519/0.6646, allocations: 83.41 kB / 0.6981 GB, free: 9.824 MB / 0.5294 GB Notification: Performance of SimCode: time 2.154e-06/0.6646, allocations: 0 / 0.6981 GB, free: 9.824 MB / 0.5294 GB Notification: Performance of Templates: time 0.0323/0.6969, allocations: 23.61 MB / 0.7212 GB, free: 2.391 MB / 0.545 GB make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.makefile make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.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_IDEAS.Fluid.Chillers.Examples.Carnot_TEvaCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEvaCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEvaCalcHelperMain.o] Error 1