Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.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.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y") translateModel(IDEAS.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 100.5 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.00153/0.00153, allocations: 175.4 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.391/1.391, allocations: 223.2 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7354/0.7354, allocations: 132.3 MB / 424 MB, free: 2.117 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004142/0.0004142, allocations: 8 kB / 0.504 GB, free: 4.277 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5127/0.5132, allocations: 81.57 MB / 0.5837 GB, free: 3.984 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_y): time 0.09375/0.607, allocations: 69.38 MB / 0.6514 GB, free: 11.06 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01894/0.626, allocations: 11.93 MB / 0.6631 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003141/0.6292, allocations: 59.62 kB / 0.6631 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002309/0.6315, allocations: 0.5549 MB / 0.6637 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006799/0.6383, allocations: 1.891 MB / 0.6655 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003496/0.6418, allocations: 0.9801 MB / 0.6665 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007426/0.6493, allocations: 4.778 MB / 0.6711 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002441/0.6518, allocations: 1.021 MB / 0.6721 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003502/0.6553, allocations: 1.268 MB / 0.6734 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002708/0.658, allocations: 1.062 MB / 0.6744 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005905/0.6586, allocations: 60 kB / 0.6745 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003826/0.6625, allocations: 0.9199 MB / 0.6754 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007028/0.6632, allocations: 274.7 kB / 0.6756 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001014/0.6642, allocations: 352.9 kB / 0.676 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003737/0.668, allocations: 2.081 MB / 0.678 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.726e-06/0.668, allocations: 0 / 0.678 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.535e-06/0.668, allocations: 3.938 kB / 0.678 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.11e-05/0.6681, allocations: 4 kB / 0.678 GB, free: 15.74 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.004725/0.6728, allocations: 1.795 MB / 0.6798 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.6729, allocations: 8.031 kB / 0.6798 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001081/0.674, allocations: 234 kB / 0.68 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00335/0.6774, allocations: 1.451 MB / 0.6814 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.437e-05/0.6775, allocations: 74 kB / 0.6815 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002528/0.6777, allocations: 100 kB / 0.6816 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002409/0.6801, allocations: 1.12 MB / 0.6827 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.054e-05/0.6802, allocations: 7.938 kB / 0.6827 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001/0.6803, allocations: 43.94 kB / 0.6827 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-05/0.6803, allocations: 24 kB / 0.6827 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002018/0.6824, allocations: 0.9212 MB / 0.6836 GB, free: 9.816 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.006556/0.6889, allocations: 4.911 MB / 0.6884 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001377/0.6903, allocations: 0.6322 MB / 0.689 GB, free: 3.98 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000715/0.6911, allocations: 372.6 kB / 0.6894 GB, free: 3.617 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007096/0.6918, allocations: 0.8277 MB / 0.6902 GB, free: 2.602 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.695e-05/0.6918, allocations: 39.12 kB / 0.6902 GB, free: 2.555 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=61): time 2.835e-06/0.6918, allocations: 0 / 0.6902 GB, free: 2.555 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61): time 0.006538/0.6984, allocations: 1.881 MB / 0.6921 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.6985, allocations: 55.97 kB / 0.6921 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002296/0.7008, allocations: 1.206 MB / 0.6933 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001115/0.7009, allocations: 37.7 kB / 0.6934 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006996/0.7016, allocations: 0.5987 MB / 0.6939 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002643/0.7019, allocations: 224.9 kB / 0.6942 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.046e-05/0.7019, allocations: 12 kB / 0.6942 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001755/0.7021, allocations: 337.9 kB / 0.6945 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006957/0.7028, allocations: 297.8 kB / 0.6948 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008745/0.7037, allocations: 0.4959 MB / 0.6953 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008193/0.7045, allocations: 359 kB / 0.6956 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/0.7046, allocations: 0 / 0.6956 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004376/0.7089, allocations: 1.398 MB / 0.697 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001568/0.7091, allocations: 194 kB / 0.6971 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.7091, allocations: 8 kB / 0.6972 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005812/0.7097, allocations: 144.7 kB / 0.6973 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006015/0.7103, allocations: 167.8 kB / 0.6975 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008659/0.7112, allocations: 0.7123 MB / 0.6981 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/0.7125, allocations: 163.1 kB / 0.6983 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.458e-05/0.7126, allocations: 24 kB / 0.6983 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.7126, allocations: 4.094 kB / 0.6983 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004084/0.7167, allocations: 1.257 MB / 0.6996 GB, free: 8.789 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.7167, allocations: 4 kB / 0.6996 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004841/0.7172, allocations: 140.8 kB / 0.6997 GB, free: 8.645 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005907/0.7178, allocations: 175.7 kB / 0.6999 GB, free: 8.473 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008005/0.7186, allocations: 0.7006 MB / 0.7005 GB, free: 7.746 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001169/0.7198, allocations: 159.1 kB / 0.7007 GB, free: 7.59 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.476e-05/0.7199, allocations: 35.98 kB / 0.7007 GB, free: 7.555 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 (79): * Single equations (assignments): 78 * 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 9} Notification: Performance of prepare postOptimizeDAE: time 0.0007569/0.7206, allocations: 409 kB / 0.7011 GB, free: 7.145 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003332/0.721, allocations: 134.4 kB / 0.7013 GB, free: 7.012 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00436/0.7253, allocations: 1.396 MB / 0.7026 GB, free: 5.602 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.667e-05/0.7254, allocations: 8 kB / 0.7026 GB, free: 5.594 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.7254, allocations: 3.938 kB / 0.7026 GB, free: 5.59 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003806/0.7292, allocations: 1.236 MB / 0.7038 GB, free: 4.32 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006976/0.7362, allocations: 2.731 MB / 0.7065 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.205e-06/0.7362, allocations: 4.438 kB / 0.7065 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004719/0.7367, allocations: 123.9 kB / 0.7066 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004834/0.7372, allocations: 140.7 kB / 0.7068 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.232e-05/0.7373, allocations: 20 kB / 0.7068 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004572/0.7418, allocations: 2.443 MB / 0.7092 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.411e-06/0.7419, allocations: 4 kB / 0.7092 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00511/0.747, allocations: 1.844 MB / 0.711 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008303/0.7478, allocations: 335.1 kB / 0.7113 GB, free: 12.33 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003413/0.7482, allocations: 12 kB / 0.7113 GB, free: 12.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001051/0.7492, allocations: 95.81 kB / 0.7114 GB, free: 12.22 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/0.7494, allocations: 64.3 kB / 0.7115 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.886e-05/0.7495, allocations: 27.98 kB / 0.7115 GB, free: 12.13 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001511/0.751, allocations: 0.8659 MB / 0.7123 GB, free: 11.27 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.91e-07/0.751, allocations: 0 / 0.7123 GB, free: 11.27 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002303/0.7533, allocations: 0.7018 MB / 0.713 GB, free: 10.56 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.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 (56): * Single equations (assignments): 51 * 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 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009485/0.7543, allocations: 428.5 kB / 0.7134 GB, free: 10.15 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002711/0.757, allocations: 1.153 MB / 0.7145 GB, free: 8.996 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.757, allocations: 0 / 0.7145 GB, free: 8.996 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001458/0.7585, allocations: 0.5956 MB / 0.7151 GB, free: 8.391 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003923/0.7624, allocations: 0.7631 MB / 0.7159 GB, free: 7.645 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005044/0.7675, allocations: 2.791 MB / 0.7186 GB, free: 4.777 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009623/0.7685, allocations: 1.169 MB / 0.7197 GB, free: 3.582 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003528/0.7688, allocations: 107.4 kB / 0.7198 GB, free: 3.477 MB / 0.545 GB Notification: Performance of SimCode: time 1.002e-06/0.7688, allocations: 4 kB / 0.7198 GB, free: 3.473 MB / 0.545 GB Notification: Performance of Templates: time 0.04564/0.8145, allocations: 30.65 MB / 0.7498 GB, free: 5.016 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.makefile make -j1 -f IDEAS_IDEAS.Fluid.Chillers.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.Chillers.Examples.Carnot_yCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_yCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_yCalcHelperMain.o] Error 1