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.00077/0.0007701, allocations: 98.88 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.0008333/0.0008333, allocations: 181.8 kB / 16.92 MB, free: 6.918 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.275/1.275, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7288/0.7288, allocations: 132.3 MB / 424.4 MB, free: 1.961 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003618/0.0003616, allocations: 8.844 kB / 0.5046 GB, free: 3.938 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4373/0.4377, allocations: 81.58 MB / 0.5843 GB, free: 4.051 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_y): time 0.07295/0.5107, allocations: 73.39 MB / 0.656 GB, free: 6.891 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01817/0.5289, allocations: 12.66 MB / 0.6683 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002869/0.5318, allocations: 55.62 kB / 0.6684 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002087/0.5339, allocations: 0.6799 MB / 0.669 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00663/0.5406, allocations: 2.258 MB / 0.6712 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003292/0.5439, allocations: 1.264 MB / 0.6725 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00685/0.5507, allocations: 5.539 MB / 0.6779 GB, free: 392 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001972/0.5527, allocations: 1.151 MB / 0.679 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003057/0.5558, allocations: 1.322 MB / 0.6803 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001878/0.5577, allocations: 1.124 MB / 0.6814 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001601/0.5579, allocations: 59.94 kB / 0.6815 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003006/0.5609, allocations: 1.243 MB / 0.6827 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003231/0.5612, allocations: 282.7 kB / 0.6829 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001018/0.5622, allocations: 0.8022 MB / 0.6837 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002706/0.5649, allocations: 2.155 MB / 0.6858 GB, free: 8.191 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.565, allocations: 0 / 0.6858 GB, free: 8.191 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.234e-06/0.565, allocations: 0 / 0.6858 GB, free: 8.191 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.344e-05/0.565, allocations: 0 / 0.6858 GB, free: 8.191 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.003296/0.5683, allocations: 1.783 MB / 0.6876 GB, free: 6.344 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.5684, allocations: 8.031 kB / 0.6876 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007523/0.5691, allocations: 238.9 kB / 0.6878 GB, free: 6.102 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002237/0.5714, allocations: 1.497 MB / 0.6893 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.767e-05/0.5714, allocations: 81.94 kB / 0.6893 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001451/0.5716, allocations: 108 kB / 0.6894 GB, free: 4.363 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001937/0.5735, allocations: 1.12 MB / 0.6905 GB, free: 3.207 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.564e-05/0.5736, allocations: 3.938 kB / 0.6905 GB, free: 3.203 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.415e-05/0.5737, allocations: 36 kB / 0.6906 GB, free: 3.168 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.481e-05/0.5737, allocations: 31.98 kB / 0.6906 GB, free: 3.137 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001848/0.5756, allocations: 0.9251 MB / 0.6915 GB, free: 2.211 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.005522/0.5811, allocations: 4.915 MB / 0.6963 GB, free: 13 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001366/0.5825, allocations: 0.6361 MB / 0.6969 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007365/0.5832, allocations: 371.1 kB / 0.6973 GB, free: 12 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006458/0.5839, allocations: 0.8277 MB / 0.6981 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.5839, allocations: 43.12 kB / 0.6981 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 2.365e-06/0.5839, allocations: 0 / 0.6981 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.007267/0.5912, allocations: 1.885 MB / 0.7 GB, free: 9.027 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.5913, allocations: 55.97 kB / 0.7 GB, free: 8.957 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001597/0.5929, allocations: 1.214 MB / 0.7012 GB, free: 7.727 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 8.237e-05/0.593, allocations: 37.7 kB / 0.7012 GB, free: 7.684 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005189/0.5935, allocations: 0.6065 MB / 0.7018 GB, free: 7.07 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001936/0.5937, allocations: 212.9 kB / 0.702 GB, free: 6.859 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.543e-05/0.5938, allocations: 65.69 kB / 0.7021 GB, free: 6.789 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.5939, allocations: 337.9 kB / 0.7024 GB, free: 6.453 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006652/0.5946, allocations: 305.8 kB / 0.7027 GB, free: 6.152 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000817/0.5954, allocations: 0.5076 MB / 0.7032 GB, free: 5.57 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001398/0.5968, allocations: 0.748 MB / 0.7039 GB, free: 4.781 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.5968, allocations: 0 / 0.7039 GB, free: 4.781 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004833/0.6017, allocations: 1.406 MB / 0.7053 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001364/0.6018, allocations: 198.1 kB / 0.7055 GB, free: 3.121 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.6019, allocations: 4 kB / 0.7055 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005973/0.6025, allocations: 148.7 kB / 0.7057 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005917/0.6031, allocations: 167.7 kB / 0.7058 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008574/0.6039, allocations: 0.7084 MB / 0.7065 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/0.6051, allocations: 167.1 kB / 0.7067 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.253e-05/0.6052, allocations: 31.98 kB / 0.7067 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.698e-06/0.6052, allocations: 6.5 kB / 0.7067 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004531/0.6097, allocations: 1.253 MB / 0.7079 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.6097, allocations: 4 kB / 0.7079 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004766/0.6102, allocations: 144.8 kB / 0.7081 GB, free: 472 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005576/0.6108, allocations: 163.8 kB / 0.7082 GB, free: 308 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007828/0.6116, allocations: 0.7155 MB / 0.7089 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001089/0.6127, allocations: 159.3 kB / 0.7091 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.361e-05/0.6128, allocations: 31.98 kB / 0.7091 GB, free: 15.38 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 (79): * Single equations (assignments): 78 * 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,9)} Notification: Performance of prepare postOptimizeDAE: time 0.000621/0.6134, allocations: 425.5 kB / 0.7095 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001975/0.6136, allocations: 138.3 kB / 0.7096 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004742/0.6183, allocations: 1.392 MB / 0.711 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.381e-05/0.6184, allocations: 8 kB / 0.711 GB, free: 13.4 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.6184, allocations: 0 / 0.711 GB, free: 13.4 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004365/0.6227, allocations: 1.24 MB / 0.7122 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006689/0.6295, allocations: 2.743 MB / 0.7149 GB, free: 9.273 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.166e-06/0.6295, allocations: 8.062 kB / 0.7149 GB, free: 9.266 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004728/0.63, allocations: 119.8 kB / 0.715 GB, free: 9.148 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004886/0.6305, allocations: 140.7 kB / 0.7152 GB, free: 9.008 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.353e-05/0.6305, allocations: 23.92 kB / 0.7152 GB, free: 8.984 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004831/0.6354, allocations: 2.427 MB / 0.7175 GB, free: 6.406 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.6354, allocations: 4.281 kB / 0.7176 GB, free: 6.402 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005538/0.6409, allocations: 1.855 MB / 0.7194 GB, free: 4.473 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006666/0.6416, allocations: 331.1 kB / 0.7197 GB, free: 4.129 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001416/0.6418, allocations: 27.86 kB / 0.7197 GB, free: 4.102 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000838/0.6426, allocations: 95.81 kB / 0.7198 GB, free: 4.008 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/0.6427, allocations: 64.25 kB / 0.7199 GB, free: 3.945 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.686e-05/0.6428, allocations: 31.97 kB / 0.7199 GB, free: 3.914 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00119/0.644, allocations: 0.866 MB / 0.7207 GB, free: 3.047 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.644, allocations: 0 / 0.7207 GB, free: 3.047 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001719/0.6457, allocations: 0.7057 MB / 0.7214 GB, free: 2.34 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 (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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007704/0.6465, allocations: 441.8 kB / 0.7218 GB, free: 1.914 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002439/0.649, allocations: 1.172 MB / 0.723 GB, free: 0.7422 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.649, allocations: 0 / 0.723 GB, free: 0.7422 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001445/0.6504, allocations: 0.6033 MB / 0.7236 GB, free: 132 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003926/0.6544, allocations: 0.7927 MB / 0.7244 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003877/0.6582, allocations: 2.823 MB / 0.7271 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000744/0.659, allocations: 1.169 MB / 0.7283 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003541/0.6594, allocations: 111.4 kB / 0.7284 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of SimCode: time 4.01e-07/0.6594, allocations: 8 kB / 0.7284 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of Templates: time 0.03949/0.6989, allocations: 30.66 MB / 0.7583 GB, free: 12.67 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.makefile make -j1 -f IDEAS_IDEAS.Fluid.Chillers.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.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