Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/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(BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_y") translateModel(BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.001041/0.001042, 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.001082/0.001082, allocations: 175.3 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.458/1.458, allocations: 223.3 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.122/1.122, allocations: 143.4 MB / 435.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000317/0.0003171, allocations: 8 kB / 0.5166 GB, free: 11.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1802/0.1805, allocations: 83.42 MB / 0.5981 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_y): time 0.5237/0.7043, allocations: 69.38 MB / 0.6658 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02127/0.7257, allocations: 11.96 MB / 0.6775 GB, free: 6.809 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0035/0.7292, allocations: 57.53 kB / 0.6775 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002694/0.732, allocations: 0.5626 MB / 0.6781 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008928/0.7409, allocations: 1.891 MB / 0.6799 GB, free: 5.383 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004387/0.7453, allocations: 0.9674 MB / 0.6809 GB, free: 4.926 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01004/0.7554, allocations: 4.798 MB / 0.6856 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003315/0.7588, allocations: 1.021 MB / 0.6866 GB, free: 2.492 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004813/0.7636, allocations: 1.261 MB / 0.6878 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004183/0.7678, allocations: 1.062 MB / 0.6888 GB, free: 1.543 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0009072/0.7688, allocations: 58.69 kB / 0.6889 GB, free: 1.539 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005898/0.7747, allocations: 0.9178 MB / 0.6898 GB, free: 1.246 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001112/0.7759, allocations: 274.9 kB / 0.69 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001711/0.7776, allocations: 359.3 kB / 0.6904 GB, free: 0.8984 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.006054/0.7837, allocations: 2.213 MB / 0.6926 GB, free: 404 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/0.7837, allocations: 1.375 kB / 0.6926 GB, free: 404 kB / 0.5137 GB Notification: Performance of FrontEnd: time 6.653e-06/0.7837, allocations: 0 / 0.6926 GB, free: 404 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.591e-05/0.7838, allocations: 3.938 kB / 0.6926 GB, free: 400 kB / 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.005297/0.7891, allocations: 1.803 MB / 0.6943 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.164e-05/0.7892, allocations: 9 kB / 0.6943 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001011/0.7902, allocations: 241.8 kB / 0.6946 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003286/0.7935, allocations: 1.447 MB / 0.696 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.657e-05/0.7936, allocations: 75.81 kB / 0.696 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001886/0.7938, allocations: 109.4 kB / 0.6961 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002549/0.7964, allocations: 1.108 MB / 0.6972 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.756e-05/0.7964, allocations: 1.469 kB / 0.6972 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.87e-05/0.7965, allocations: 41.03 kB / 0.6973 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.108e-05/0.7966, allocations: 33.56 kB / 0.6973 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002231/0.7988, allocations: 0.9163 MB / 0.6982 GB, free: 13.34 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.007398/0.8062, allocations: 4.931 MB / 0.703 GB, free: 9.711 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001472/0.8077, allocations: 0.6416 MB / 0.7036 GB, free: 9.406 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007691/0.8085, allocations: 363.5 kB / 0.704 GB, free: 9.242 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007227/0.8092, allocations: 0.8284 MB / 0.7048 GB, free: 8.273 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.365e-05/0.8093, allocations: 42.7 kB / 0.7048 GB, free: 8.223 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 3.727e-06/0.8093, allocations: 0 / 0.7048 GB, free: 8.223 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.007185/0.8165, allocations: 1.877 MB / 0.7067 GB, free: 7.32 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/0.8166, allocations: 62.36 kB / 0.7067 GB, free: 7.254 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002159/0.8187, allocations: 1.198 MB / 0.7079 GB, free: 6.582 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001457/0.8189, allocations: 42.89 kB / 0.7079 GB, free: 6.539 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005675/0.8195, allocations: 0.6114 MB / 0.7085 GB, free: 5.996 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002773/0.8197, allocations: 211.7 kB / 0.7087 GB, free: 5.812 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.523e-05/0.8198, allocations: 10.19 kB / 0.7087 GB, free: 5.805 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.8199, allocations: 332.9 kB / 0.7091 GB, free: 5.48 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007218/0.8207, allocations: 299.2 kB / 0.7093 GB, free: 5.34 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008676/0.8215, allocations: 0.4967 MB / 0.7098 GB, free: 4.957 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007774/0.8223, allocations: 363.3 kB / 0.7102 GB, free: 4.777 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.8223, allocations: 1.156 kB / 0.7102 GB, free: 4.777 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004643/0.827, allocations: 1.391 MB / 0.7115 GB, free: 4.129 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001649/0.8272, allocations: 200.7 kB / 0.7117 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.8272, allocations: 7.375 kB / 0.7117 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006064/0.8278, allocations: 140.3 kB / 0.7119 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006854/0.8285, allocations: 170 kB / 0.712 GB, free: 3.785 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000854/0.8294, allocations: 0.7048 MB / 0.7127 GB, free: 3.168 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001551/0.8309, allocations: 163.6 kB / 0.7129 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.314e-05/0.831, allocations: 35.36 kB / 0.7129 GB, free: 3.066 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.8311, allocations: 5.438 kB / 0.7129 GB, free: 3.066 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004238/0.8353, allocations: 1.246 MB / 0.7141 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.8353, allocations: 4.125 kB / 0.7141 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000541/0.8359, allocations: 144.8 kB / 0.7143 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007038/0.8366, allocations: 169.1 kB / 0.7144 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009105/0.8375, allocations: 0.7059 MB / 0.7151 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001891/0.8394, allocations: 160.9 kB / 0.7153 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001006/0.8395, allocations: 35.17 kB / 0.7153 GB, free: 1.676 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.001382/0.8409, allocations: 411.5 kB / 0.7157 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004726/0.8414, allocations: 140.3 kB / 0.7158 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004611/0.846, allocations: 1.397 MB / 0.7172 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.668e-05/0.8461, allocations: 9.844 kB / 0.7172 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.848e-06/0.8461, allocations: 2.969 kB / 0.7172 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003852/0.85, allocations: 1.23 MB / 0.7184 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007657/0.8576, allocations: 2.743 MB / 0.7211 GB, free: 13.22 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.073e-05/0.8577, allocations: 8.375 kB / 0.7211 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004925/0.8582, allocations: 127.8 kB / 0.7212 GB, free: 13.09 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004896/0.8587, allocations: 132.7 kB / 0.7214 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.263e-05/0.8588, allocations: 27.98 kB / 0.7214 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004509/0.8633, allocations: 2.434 MB / 0.7238 GB, free: 10.35 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.324e-05/0.8633, allocations: 7.984 kB / 0.7238 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005305/0.8686, allocations: 1.84 MB / 0.7256 GB, free: 8.438 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0013/0.87, allocations: 335.1 kB / 0.7259 GB, free: 8.09 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005352/0.8705, allocations: 12 kB / 0.7259 GB, free: 8.078 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001352/0.8719, allocations: 99.77 kB / 0.726 GB, free: 7.98 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000182/0.8721, allocations: 60.3 kB / 0.726 GB, free: 7.922 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001016/0.8722, allocations: 31.98 kB / 0.7261 GB, free: 7.891 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001828/0.874, allocations: 0.8582 MB / 0.7269 GB, free: 7.031 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.51e-07/0.874, allocations: 0 / 0.7269 GB, free: 7.031 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003426/0.8775, allocations: 0.7057 MB / 0.7276 GB, free: 6.324 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.001318/0.8788, allocations: 453.8 kB / 0.728 GB, free: 5.891 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002889/0.8817, allocations: 1.162 MB / 0.7292 GB, free: 4.73 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.8817, allocations: 0 / 0.7292 GB, free: 4.73 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001503/0.8832, allocations: 0.5956 MB / 0.7298 GB, free: 4.125 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00469/0.888, allocations: 0.7511 MB / 0.7305 GB, free: 3.391 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005573/0.8936, allocations: 2.801 MB / 0.7332 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001103/0.8947, allocations: 1.165 MB / 0.7344 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004621/0.8952, allocations: 107.4 kB / 0.7345 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of SimCode: time 1.583e-06/0.8952, allocations: 3.938 kB / 0.7345 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of Templates: time 0.049/0.9442, allocations: 30.98 MB / 0.7647 GB, free: 452 kB / 0.5762 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_y.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.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 OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_yCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_yCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_yCalcHelperMain.o] Error 1