Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.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_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y") translateModel(IDEAS.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007237/0.0007238, allocations: 92.08 kB / 16.02 MB, free: 76 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.0009168/0.0009168, allocations: 182.9 kB / 16.92 MB, free: 6.926 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.336/1.336, allocations: 223.3 MB / 241 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7386/0.7386, allocations: 132.3 MB / 424.4 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003446/0.0003448, allocations: 8.281 kB / 0.5046 GB, free: 3.938 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4839/0.4842, allocations: 81.59 MB / 0.5843 GB, free: 4.305 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_y): time 0.07211/0.5564, allocations: 73.44 MB / 0.656 GB, free: 6.973 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02011/0.5765, allocations: 15.02 MB / 0.6707 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002985/0.5796, allocations: 55.62 kB / 0.6707 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002229/0.5818, allocations: 0.676 MB / 0.6714 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007135/0.589, allocations: 2.38 MB / 0.6737 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003418/0.5924, allocations: 1.272 MB / 0.675 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006799/0.5992, allocations: 5.554 MB / 0.6804 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001853/0.6011, allocations: 1.163 MB / 0.6815 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002812/0.6039, allocations: 1.33 MB / 0.6828 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0015/0.6054, allocations: 1.151 MB / 0.6839 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001289/0.6056, allocations: 56 kB / 0.684 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002691/0.6083, allocations: 1.243 MB / 0.6852 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003134/0.6086, allocations: 290.5 kB / 0.6855 GB, free: 8.688 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0009019/0.6095, allocations: 0.7984 MB / 0.6863 GB, free: 7.879 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002344/0.6118, allocations: 2.155 MB / 0.6884 GB, free: 5.719 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.6119, allocations: 4 kB / 0.6884 GB, free: 5.715 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.024e-06/0.6119, allocations: 0 / 0.6884 GB, free: 5.715 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.302e-05/0.6119, allocations: 0 / 0.6884 GB, free: 5.715 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.003047/0.6149, allocations: 1.795 MB / 0.6901 GB, free: 3.855 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.615, allocations: 8.031 kB / 0.6901 GB, free: 3.848 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007159/0.6157, allocations: 246.8 kB / 0.6904 GB, free: 3.605 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002169/0.6179, allocations: 1.497 MB / 0.6918 GB, free: 2.051 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.438e-05/0.618, allocations: 74 kB / 0.6919 GB, free: 1.98 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001426/0.6181, allocations: 104 kB / 0.692 GB, free: 1.879 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001878/0.62, allocations: 1.128 MB / 0.6931 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.431e-05/0.62, allocations: 0 / 0.6931 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.743e-05/0.6201, allocations: 44 kB / 0.6931 GB, free: 0.6719 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.475e-05/0.6202, allocations: 24 kB / 0.6932 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001809/0.622, allocations: 0.9329 MB / 0.6941 GB, free: 15.71 MB / 0.5294 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.005322/0.6273, allocations: 4.915 MB / 0.6989 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001349/0.6287, allocations: 0.6439 MB / 0.6995 GB, free: 9.859 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006934/0.6294, allocations: 375 kB / 0.6999 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005774/0.63, allocations: 0.8277 MB / 0.7007 GB, free: 8.48 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.973e-05/0.63, allocations: 43.12 kB / 0.7007 GB, free: 8.43 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 2.705e-06/0.63, allocations: 0 / 0.7007 GB, free: 8.43 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.007195/0.6372, allocations: 1.9 MB / 0.7026 GB, free: 6.504 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.6373, allocations: 59.91 kB / 0.7026 GB, free: 6.43 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001594/0.6389, allocations: 1.214 MB / 0.7038 GB, free: 5.199 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 8.234e-05/0.639, allocations: 41.7 kB / 0.7038 GB, free: 5.152 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004737/0.6395, allocations: 0.6026 MB / 0.7044 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001891/0.6397, allocations: 212.9 kB / 0.7046 GB, free: 4.332 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.251e-05/0.6398, allocations: 65.67 kB / 0.7047 GB, free: 4.262 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.6399, allocations: 337.9 kB / 0.705 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006519/0.6405, allocations: 305.8 kB / 0.7053 GB, free: 3.625 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00079/0.6413, allocations: 0.5085 MB / 0.7058 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001373/0.6427, allocations: 0.7442 MB / 0.7065 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/0.6427, allocations: 0 / 0.7065 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004721/0.6475, allocations: 1.41 MB / 0.7079 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000114/0.6476, allocations: 193.9 kB / 0.7081 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.6476, allocations: 8 kB / 0.7081 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005683/0.6482, allocations: 151.9 kB / 0.7083 GB, free: 444 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005587/0.6487, allocations: 171.7 kB / 0.7084 GB, free: 272 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007992/0.6496, allocations: 0.7084 MB / 0.7091 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001176/0.6507, allocations: 175 kB / 0.7093 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.655e-05/0.6508, allocations: 31.98 kB / 0.7093 GB, free: 15.33 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.364e-06/0.6508, allocations: 0 / 0.7093 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004329/0.6552, allocations: 1.257 MB / 0.7105 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/0.6552, allocations: 8.094 kB / 0.7105 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004613/0.6557, allocations: 144.7 kB / 0.7107 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005429/0.6562, allocations: 175.7 kB / 0.7108 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007408/0.657, allocations: 0.7085 MB / 0.7115 GB, free: 13.01 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/0.6581, allocations: 159.1 kB / 0.7117 GB, free: 12.85 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-05/0.6582, allocations: 35.98 kB / 0.7117 GB, free: 12.82 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (78): * Single equations (assignments): 77 * 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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0006069/0.6588, allocations: 421.4 kB / 0.7121 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001755/0.659, allocations: 138.4 kB / 0.7123 GB, free: 12.26 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004682/0.6637, allocations: 1.396 MB / 0.7136 GB, free: 10.85 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-05/0.6637, allocations: 4 kB / 0.7136 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/0.6638, allocations: 4 kB / 0.7136 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004284/0.668, allocations: 1.236 MB / 0.7148 GB, free: 9.57 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006732/0.6748, allocations: 2.731 MB / 0.7175 GB, free: 6.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/0.6748, allocations: 4.094 kB / 0.7175 GB, free: 6.727 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000456/0.6753, allocations: 123.8 kB / 0.7176 GB, free: 6.605 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004682/0.6758, allocations: 140.7 kB / 0.7178 GB, free: 6.465 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.317e-05/0.6758, allocations: 24 kB / 0.7178 GB, free: 6.441 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004611/0.6804, allocations: 2.504 MB / 0.7202 GB, free: 3.789 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.6805, allocations: 4 kB / 0.7202 GB, free: 3.785 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005306/0.6858, allocations: 1.848 MB / 0.722 GB, free: 1.867 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006758/0.6865, allocations: 335 kB / 0.7224 GB, free: 1.52 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001389/0.6866, allocations: 16 kB / 0.7224 GB, free: 1.504 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008568/0.6875, allocations: 95.81 kB / 0.7225 GB, free: 1.41 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/0.6876, allocations: 60.3 kB / 0.7225 GB, free: 1.352 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.464e-05/0.6877, allocations: 27.98 kB / 0.7225 GB, free: 1.324 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001147/0.6888, allocations: 0.874 MB / 0.7234 GB, free: 460 kB / 0.545 GB Notification: Performance of sort global known variables: time 1.653e-06/0.6888, allocations: 112 / 0.7234 GB, free: 460 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.001742/0.6906, allocations: 0.7136 MB / 0.7241 GB, free: 15.73 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * 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 (55): * Single equations (assignments): 50 * 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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008087/0.6914, allocations: 442.3 kB / 0.7245 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002601/0.694, allocations: 1.18 MB / 0.7257 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.694, allocations: 0 / 0.7257 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001456/0.6955, allocations: 0.5995 MB / 0.7263 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004014/0.6995, allocations: 0.789 MB / 0.727 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003739/0.7033, allocations: 2.852 MB / 0.7298 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006671/0.704, allocations: 1.169 MB / 0.731 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003121/0.7043, allocations: 119.4 kB / 0.7311 GB, free: 8.496 MB / 0.5606 GB Notification: Performance of SimCode: time 6.51e-07/0.7043, allocations: 0 / 0.7311 GB, free: 8.496 MB / 0.5606 GB Notification: Performance of Templates: time 0.04063/0.7449, allocations: 30.74 MB / 0.7611 GB, free: 9.953 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.makefile make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.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_yCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_yCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_yCalcHelperMain.o] Error 1