Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.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.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008607/0.0008607, allocations: 98.89 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.001019/0.001019, allocations: 178.8 kB / 16.58 MB, free: 6.879 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.521/1.521, allocations: 223.2 MB / 240.6 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.187/1.187, allocations: 143.4 MB / 435.1 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004649/0.0004649, allocations: 15.94 kB / 0.5166 GB, free: 11.33 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.218/0.2185, allocations: 83.42 MB / 0.5981 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.4705/0.689, allocations: 56.45 MB / 0.6532 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01564/0.7047, allocations: 11.23 MB / 0.6642 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002693/0.7074, allocations: 50 kB / 0.6642 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0021/0.7096, allocations: 461.8 kB / 0.6646 GB, free: 284 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006312/0.7159, allocations: 1.534 MB / 0.6661 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003442/0.7194, allocations: 0.8508 MB / 0.667 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006995/0.7264, allocations: 3.396 MB / 0.6703 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00208/0.7285, allocations: 0.7837 MB / 0.6711 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003657/0.7322, allocations: 1.038 MB / 0.6721 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002278/0.7345, allocations: 0.807 MB / 0.6729 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001999/0.7347, allocations: 46.41 kB / 0.6729 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003755/0.7385, allocations: 1.091 MB / 0.674 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003844/0.7389, allocations: 202.8 kB / 0.6742 GB, free: 12 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007373/0.7396, allocations: 282.3 kB / 0.6744 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004022/0.7436, allocations: 1.726 MB / 0.6761 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.7437, allocations: 0 / 0.6761 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.326e-06/0.7437, allocations: 4 kB / 0.6761 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.57e-05/0.7437, allocations: 1.438 kB / 0.6761 GB, free: 11.42 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.004573/0.7483, allocations: 1.495 MB / 0.6776 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/0.7484, allocations: 10.09 kB / 0.6776 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002478/0.7509, allocations: 476.9 kB / 0.678 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003107/0.754, allocations: 1.084 MB / 0.6791 GB, free: 9.637 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003691/0.7544, allocations: 128.1 kB / 0.6792 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001527/0.7545, allocations: 86.48 kB / 0.6793 GB, free: 9.574 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002453/0.757, allocations: 0.9992 MB / 0.6803 GB, free: 9.117 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.185e-05/0.757, allocations: 4.656 kB / 0.6803 GB, free: 9.113 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.298e-05/0.7571, allocations: 32.28 kB / 0.6803 GB, free: 9.09 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.544e-05/0.7572, allocations: 19.16 kB / 0.6803 GB, free: 9.09 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002626/0.7598, allocations: 0.9099 MB / 0.6812 GB, free: 8.805 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.008622/0.7684, allocations: 4.903 MB / 0.686 GB, free: 5.133 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003359/0.7718, allocations: 0.8948 MB / 0.6869 GB, free: 4.898 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007994/0.7726, allocations: 325 kB / 0.6872 GB, free: 4.797 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000753/0.7734, allocations: 0.8989 MB / 0.6881 GB, free: 3.754 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.7734, allocations: 37.92 kB / 0.6881 GB, free: 3.711 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 3.066e-06/0.7734, allocations: 1.375 kB / 0.6881 GB, free: 3.711 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.008935/0.7824, allocations: 2.149 MB / 0.6902 GB, free: 3.188 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.09e-05/0.7825, allocations: 55.91 kB / 0.6903 GB, free: 3.125 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00232/0.7848, allocations: 1.052 MB / 0.6913 GB, free: 2.688 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001235/0.785, allocations: 32.92 kB / 0.6913 GB, free: 2.652 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006085/0.7856, allocations: 0.5269 MB / 0.6918 GB, free: 2.234 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002273/0.7858, allocations: 148.9 kB / 0.692 GB, free: 2.117 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.114e-05/0.7859, allocations: 10.44 kB / 0.692 GB, free: 2.109 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001798/0.786, allocations: 329.8 kB / 0.6923 GB, free: 1.793 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001027/0.7871, allocations: 319.4 kB / 0.6926 GB, free: 1.707 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001175/0.7883, allocations: 0.5288 MB / 0.6931 GB, free: 1.363 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009865/0.7893, allocations: 361.1 kB / 0.6935 GB, free: 1.242 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.7893, allocations: 1.375 kB / 0.6935 GB, free: 1.242 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00411/0.7934, allocations: 1.211 MB / 0.6947 GB, free: 0.8555 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002659/0.7937, allocations: 216.7 kB / 0.6949 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.756e-05/0.7937, allocations: 8.594 kB / 0.6949 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001375/0.7951, allocations: 335 kB / 0.6952 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005499/0.7956, allocations: 130.1 kB / 0.6953 GB, free: 0.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001608/0.7973, allocations: 0.9408 MB / 0.6962 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001666/0.7989, allocations: 200.9 kB / 0.6964 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/0.7991, allocations: 29.94 kB / 0.6964 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.7991, allocations: 3.219 kB / 0.6965 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00346/0.8026, allocations: 1.083 MB / 0.6975 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.8026, allocations: 3.75 kB / 0.6975 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001162/0.8038, allocations: 311.3 kB / 0.6978 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005613/0.8043, allocations: 127.6 kB / 0.6979 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001521/0.8059, allocations: 0.9467 MB / 0.6989 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001619/0.8075, allocations: 164.5 kB / 0.699 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/0.8076, allocations: 32.86 kB / 0.699 GB, free: 14.66 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (51): * Single equations (assignments): 50 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0009459/0.8086, allocations: 352.6 kB / 0.6994 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000286/0.8089, allocations: 107.1 kB / 0.6995 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004002/0.8129, allocations: 1.213 MB / 0.7007 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.46e-05/0.8129, allocations: 6 kB / 0.7007 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.8129, allocations: 0 / 0.7007 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.759e-06/0.8129, allocations: 3.984 kB / 0.7007 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005893/0.8188, allocations: 2.263 MB / 0.7029 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-05/0.8189, allocations: 7.25 kB / 0.7029 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000303/0.8192, allocations: 69.83 kB / 0.703 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001141/0.8204, allocations: 321.3 kB / 0.7033 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.537e-05/0.8204, allocations: 10.31 kB / 0.7033 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001551/0.822, allocations: 0.9704 MB / 0.7042 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.817e-06/0.822, allocations: 6.656 kB / 0.7042 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00416/0.8262, allocations: 1.255 MB / 0.7055 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009792/0.8272, allocations: 285 kB / 0.7057 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001433/0.8273, allocations: 13.31 kB / 0.7057 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009119/0.8282, allocations: 106.7 kB / 0.7058 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.8283, allocations: 40.27 kB / 0.7059 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.146e-05/0.8284, allocations: 22.98 kB / 0.7059 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001524/0.83, allocations: 0.732 MB / 0.7066 GB, free: 9.836 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.204e-06/0.83, allocations: 0 / 0.7066 GB, free: 9.836 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002321/0.8323, allocations: 0.5623 MB / 0.7072 GB, free: 9.711 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (33): * Single equations (assignments): 28 * 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 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009017/0.8332, allocations: 376.6 kB / 0.7075 GB, free: 9.496 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003147/0.8364, allocations: 1.162 MB / 0.7087 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/0.8364, allocations: 1.5 kB / 0.7087 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008765/0.8373, allocations: 371 kB / 0.709 GB, free: 8.832 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002497/0.8398, allocations: 0.4889 MB / 0.7095 GB, free: 8.586 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005651/0.8454, allocations: 2.516 MB / 0.712 GB, free: 6.426 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006993/0.8462, allocations: 1.058 MB / 0.713 GB, free: 5.34 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002632/0.8464, allocations: 83.42 kB / 0.7131 GB, free: 5.258 MB / 0.5294 GB Notification: Performance of SimCode: time 1.022e-06/0.8464, allocations: 0 / 0.7131 GB, free: 5.258 MB / 0.5294 GB Notification: Performance of Templates: time 0.03423/0.8807, allocations: 23.92 MB / 0.7364 GB, free: 13.5 MB / 0.5606 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.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.HeatPumps.Examples.Carnot_TConCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_TConCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_TConCalcHelperMain.o] Error 1