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.0008566/0.0008566, allocations: 102.5 kB / 15.71 MB, free: 440 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.000984/0.0009839, allocations: 173.4 kB / 16.58 MB, free: 6.074 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.421/1.421, allocations: 223.2 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/package.mo): time 0.7853/0.7853, allocations: 132.3 MB / 424 MB, free: 2.098 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000321/0.0003212, allocations: 8.812 kB / 0.504 GB, free: 4.254 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4903/0.4907, allocations: 81.58 MB / 0.5837 GB, free: 3.973 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_y): time 0.06787/0.5586, allocations: 69.41 MB / 0.6515 GB, free: 11.01 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01867/0.5773, allocations: 14.17 MB / 0.6653 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00276/0.5801, allocations: 59.62 kB / 0.6653 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00206/0.5822, allocations: 0.5627 MB / 0.6659 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006349/0.5886, allocations: 1.992 MB / 0.6678 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003106/0.5917, allocations: 0.964 MB / 0.6688 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006073/0.5978, allocations: 4.809 MB / 0.6735 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00178/0.5996, allocations: 1.017 MB / 0.6745 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002848/0.6025, allocations: 1.279 MB / 0.6757 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001872/0.6043, allocations: 1.085 MB / 0.6768 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001962/0.6045, allocations: 56 kB / 0.6768 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002504/0.6071, allocations: 0.9277 MB / 0.6777 GB, free: 12 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003248/0.6074, allocations: 270.7 kB / 0.678 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005407/0.6079, allocations: 356.9 kB / 0.6783 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002404/0.6104, allocations: 2.088 MB / 0.6804 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.6104, allocations: 0 / 0.6804 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.003e-06/0.6104, allocations: 0 / 0.6804 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.849e-05/0.6104, allocations: 0 / 0.6804 GB, free: 13.3 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.003131/0.6135, allocations: 1.8 MB / 0.6821 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.6136, allocations: 8.031 kB / 0.6821 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007009/0.6143, allocations: 245.8 kB / 0.6824 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002308/0.6166, allocations: 1.451 MB / 0.6838 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.913e-05/0.6167, allocations: 78 kB / 0.6839 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001376/0.6168, allocations: 100 kB / 0.684 GB, free: 9.504 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001905/0.6188, allocations: 1.112 MB / 0.685 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.422e-05/0.6188, allocations: 3.938 kB / 0.6851 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.737e-05/0.6189, allocations: 47.98 kB / 0.6851 GB, free: 8.305 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.213e-05/0.6189, allocations: 24 kB / 0.6851 GB, free: 8.281 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001803/0.6207, allocations: 0.929 MB / 0.686 GB, free: 7.352 MB / 0.5137 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.005906/0.6266, allocations: 4.911 MB / 0.6908 GB, free: 2.152 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001331/0.628, allocations: 0.6387 MB / 0.6914 GB, free: 1.512 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006781/0.6287, allocations: 363.1 kB / 0.6918 GB, free: 1.156 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000622/0.6293, allocations: 0.8355 MB / 0.6926 GB, free: 136 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.943e-05/0.6294, allocations: 39.12 kB / 0.6926 GB, free: 88 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=61): time 2.905e-06/0.6294, allocations: 0 / 0.6926 GB, free: 88 kB / 0.5137 GB Notification: Performance of matching and sorting (n=61): time 0.006638/0.636, allocations: 1.896 MB / 0.6945 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.474e-05/0.6361, allocations: 59.97 kB / 0.6946 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001731/0.6379, allocations: 1.202 MB / 0.6957 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 8.986e-05/0.638, allocations: 41.7 kB / 0.6958 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005264/0.6385, allocations: 0.6143 MB / 0.6964 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002128/0.6387, allocations: 212.9 kB / 0.6966 GB, free: 12 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.189e-05/0.6388, allocations: 12 kB / 0.6966 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.6389, allocations: 334 kB / 0.6969 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006065/0.6395, allocations: 297.8 kB / 0.6972 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007653/0.6403, allocations: 0.5007 MB / 0.6977 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007006/0.641, allocations: 363 kB / 0.698 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/0.641, allocations: 0 / 0.698 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004209/0.6452, allocations: 1.394 MB / 0.6994 GB, free: 9.035 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001326/0.6454, allocations: 198.3 kB / 0.6996 GB, free: 8.789 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.6454, allocations: 4 kB / 0.6996 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005596/0.6459, allocations: 152.7 kB / 0.6997 GB, free: 8.633 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005783/0.6465, allocations: 171.7 kB / 0.6999 GB, free: 8.465 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007763/0.6473, allocations: 0.7081 MB / 0.7006 GB, free: 7.734 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/0.6485, allocations: 167 kB / 0.7007 GB, free: 7.57 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.23e-05/0.6485, allocations: 32 kB / 0.7008 GB, free: 7.539 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.6486, allocations: 8 kB / 0.7008 GB, free: 7.531 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003961/0.6525, allocations: 1.253 MB / 0.702 GB, free: 6.273 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.6526, allocations: 4 kB / 0.702 GB, free: 6.27 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004577/0.653, allocations: 157 kB / 0.7022 GB, free: 6.113 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005497/0.6536, allocations: 163.8 kB / 0.7023 GB, free: 5.953 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007475/0.6543, allocations: 0.7124 MB / 0.703 GB, free: 5.215 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/0.6555, allocations: 163.1 kB / 0.7032 GB, free: 5.055 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.874e-05/0.6556, allocations: 31.98 kB / 0.7032 GB, free: 5.023 MB / 0.5294 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 (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 10} Notification: Performance of prepare postOptimizeDAE: time 0.0007148/0.6563, allocations: 420.9 kB / 0.7036 GB, free: 4.602 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002132/0.6565, allocations: 134.4 kB / 0.7037 GB, free: 4.469 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004094/0.6606, allocations: 1.404 MB / 0.7051 GB, free: 3.047 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.438e-05/0.6606, allocations: 4 kB / 0.7051 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.6607, allocations: 0 / 0.7051 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003597/0.6643, allocations: 1.228 MB / 0.7063 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005941/0.6702, allocations: 2.735 MB / 0.709 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.345e-06/0.6702, allocations: 4 kB / 0.709 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004565/0.6707, allocations: 128.2 kB / 0.7091 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004503/0.6712, allocations: 144.6 kB / 0.7092 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.509e-05/0.6712, allocations: 19.98 kB / 0.7092 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004311/0.6755, allocations: 2.482 MB / 0.7117 GB, free: 12.01 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.6756, allocations: 12.05 kB / 0.7117 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004942/0.6805, allocations: 1.848 MB / 0.7135 GB, free: 10.08 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007573/0.6813, allocations: 335.1 kB / 0.7138 GB, free: 9.734 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001527/0.6815, allocations: 20.06 kB / 0.7138 GB, free: 9.715 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008049/0.6823, allocations: 91.84 kB / 0.7139 GB, free: 9.625 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/0.6824, allocations: 60.27 kB / 0.714 GB, free: 9.566 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.584e-05/0.6825, allocations: 39.97 kB / 0.714 GB, free: 9.527 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001225/0.6837, allocations: 0.8623 MB / 0.7149 GB, free: 8.664 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.41e-07/0.6837, allocations: 0 / 0.7149 GB, free: 8.664 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001895/0.6856, allocations: 0.7057 MB / 0.7155 GB, free: 7.957 MB / 0.545 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 (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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007792/0.6864, allocations: 416.9 kB / 0.7159 GB, free: 7.551 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002454/0.6889, allocations: 1.16 MB / 0.7171 GB, free: 6.391 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.6889, allocations: 3.938 kB / 0.7171 GB, free: 6.387 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001359/0.6903, allocations: 0.6034 MB / 0.7177 GB, free: 5.773 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003212/0.6935, allocations: 0.7531 MB / 0.7184 GB, free: 5.035 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003967/0.6975, allocations: 2.795 MB / 0.7211 GB, free: 2.164 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006988/0.6982, allocations: 1.165 MB / 0.7223 GB, free: 0.9727 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003112/0.6985, allocations: 115.4 kB / 0.7224 GB, free: 0.8594 MB / 0.545 GB Notification: Performance of SimCode: time 1.914e-06/0.6985, allocations: 4 kB / 0.7224 GB, free: 0.8555 MB / 0.545 GB Notification: Performance of Templates: time 0.04355/0.7421, allocations: 30.72 MB / 0.7524 GB, free: 2.332 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.makefile make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.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.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