Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.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.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008737/0.0008734, 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.001336/0.001336, 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.51/1.51, allocations: 223.3 MB / 240.6 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.105/1.105, allocations: 143.4 MB / 435.1 MB, free: 13.72 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003461/0.0003461, allocations: 16 kB / 0.5166 GB, free: 11.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.205/0.2054, allocations: 83.41 MB / 0.5981 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u): time 1.283/1.488, allocations: 277.6 MB / 0.8692 GB, free: 58.4 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.07037/1.559, allocations: 47.1 MB / 0.9152 GB, free: 57.75 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01651/1.575, allocations: 262.4 kB / 0.9154 GB, free: 57.75 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.01389/1.589, allocations: 2.386 MB / 0.9177 GB, free: 57.7 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.03874/1.628, allocations: 7.257 MB / 0.9248 GB, free: 57.39 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.02154/1.65, allocations: 4.792 MB / 0.9295 GB, free: 57.27 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.04309/1.693, allocations: 21.07 MB / 0.9501 GB, free: 54.05 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01554/1.708, allocations: 4.293 MB / 0.9543 GB, free: 52.34 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02144/1.73, allocations: 5.896 MB / 0.96 GB, free: 50.08 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01432/1.744, allocations: 4.602 MB / 0.9645 GB, free: 48.28 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.003907/1.748, allocations: 229.2 kB / 0.9648 GB, free: 48.28 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0201/1.768, allocations: 2.639 MB / 0.9673 GB, free: 47.56 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.004704/1.773, allocations: 1.064 MB / 0.9684 GB, free: 47.06 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.006787/1.78, allocations: 1.373 MB / 0.9697 GB, free: 46.81 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01924/1.799, allocations: 7.888 MB / 0.9774 GB, free: 42.54 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.987e-06/1.799, allocations: 4 kB / 0.9774 GB, free: 42.53 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.725e-06/1.799, allocations: 0 / 0.9774 GB, free: 42.53 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0006032/1.8, allocations: 2.469 kB / 0.9774 GB, free: 42.53 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.01945/1.819, allocations: 6.282 MB / 0.9836 GB, free: 38.54 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/1.82, allocations: 8.031 kB / 0.9836 GB, free: 38.54 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004135/1.824, allocations: 0.7842 MB / 0.9843 GB, free: 37.74 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0144/1.838, allocations: 5.038 MB / 0.9892 GB, free: 34.19 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003869/1.839, allocations: 324.6 kB / 0.9896 GB, free: 34 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001496/1.84, allocations: 433.3 kB / 0.99 GB, free: 33.71 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01248/1.853, allocations: 4.361 MB / 0.9942 GB, free: 30.44 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000139/1.853, allocations: 7.938 kB / 0.9942 GB, free: 30.43 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006045/1.853, allocations: 179.2 kB / 0.9944 GB, free: 30.39 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001218/1.853, allocations: 123 kB / 0.9945 GB, free: 30.27 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005346/1.859, allocations: 2.941 MB / 0.9974 GB, free: 28.34 MB / 0.67 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.02875/1.888, allocations: 25.07 MB / 1.022 GB, free: 3.062 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002446/1.89, allocations: 2.766 MB / 1.025 GB, free: 100 kB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001461/1.892, allocations: 0.994 MB / 1.026 GB, free: 15.11 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003484/1.895, allocations: 3.917 MB / 1.029 GB, free: 10.34 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.457e-05/1.895, allocations: 60.56 kB / 1.029 GB, free: 10.27 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=217): time 4.087e-06/1.895, allocations: 0 / 1.029 GB, free: 10.27 MB / 0.6856 GB Notification: Performance of matching and sorting (n=217): time 0.01056/1.906, allocations: 4.079 MB / 1.033 GB, free: 6.117 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/1.906, allocations: 77.39 kB / 1.033 GB, free: 6.031 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007909/1.914, allocations: 4.186 MB / 1.038 GB, free: 1.867 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0007094/1.915, allocations: 77.7 kB / 1.038 GB, free: 1.785 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.003001/1.918, allocations: 2.804 MB / 1.04 GB, free: 14.97 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001284/1.919, allocations: 0.7648 MB / 1.041 GB, free: 14.21 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001268/1.919, allocations: 56 kB / 1.041 GB, free: 14.16 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002542/1.919, allocations: 415.9 kB / 1.042 GB, free: 13.75 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001469/1.921, allocations: 0.7787 MB / 1.042 GB, free: 12.96 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002367/1.923, allocations: 1.798 MB / 1.044 GB, free: 10.73 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001891/1.925, allocations: 1.081 MB / 1.045 GB, free: 9.637 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.63e-05/1.925, allocations: 8 kB / 1.045 GB, free: 9.629 MB / 0.7012 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.009588/1.935, allocations: 3.504 MB / 1.049 GB, free: 6.07 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.00085/1.935, allocations: 0.7339 MB / 1.049 GB, free: 5.031 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.656e-05/1.936, allocations: 24 kB / 1.049 GB, free: 5.008 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002425/1.938, allocations: 0.5647 MB / 1.05 GB, free: 4.434 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001752/1.94, allocations: 0.5577 MB / 1.05 GB, free: 3.875 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002427/1.942, allocations: 2.689 MB / 1.053 GB, free: 1.086 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005829/1.948, allocations: 0.6023 MB / 1.054 GB, free: 492 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003408/1.948, allocations: 128 kB / 1.054 GB, free: 364 kB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/1.948, allocations: 4 kB / 1.054 GB, free: 360 kB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005077/1.953, allocations: 2.806 MB / 1.057 GB, free: 13.49 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.01e-05/1.954, allocations: 24 kB / 1.057 GB, free: 13.47 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008926/1.954, allocations: 371.4 kB / 1.057 GB, free: 13.09 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001648/1.956, allocations: 0.5604 MB / 1.057 GB, free: 12.54 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008868/1.965, allocations: 7.698 MB / 1.065 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006426/1.971, allocations: 0.5538 MB / 1.065 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007335/1.972, allocations: 136 kB / 1.066 GB, free: 3.582 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * 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 (323): * Single equations (assignments): 319 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 12,1 9,1 12,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.003229/1.975, allocations: 1.004 MB / 1.067 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002086/1.978, allocations: 0.5055 MB / 1.067 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007231/1.985, allocations: 3.589 MB / 1.071 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.003e-05/1.985, allocations: 43.92 kB / 1.071 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/1.985, allocations: 0 / 1.071 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003847/1.989, allocations: 2.435 MB / 1.073 GB, free: 11.89 MB / 0.7325 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 postOpt removeSimpleEquations (simulation): time 0.01807/2.007, allocations: 8.241 MB / 1.081 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-05/2.007, allocations: 0 / 1.081 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00141/2.008, allocations: 363.5 kB / 1.081 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007273/2.009, allocations: 309 kB / 1.082 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001411/2.009, allocations: 67.97 kB / 1.082 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002189/2.011, allocations: 2.499 MB / 1.084 GB, free: 108 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/2.011, allocations: 0 / 1.084 GB, free: 108 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009067/2.021, allocations: 4.331 MB / 1.088 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005267/2.026, allocations: 0.9973 MB / 1.089 GB, free: 10.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002001/2.028, allocations: 44 kB / 1.089 GB, free: 10.63 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004517/2.032, allocations: 430.6 kB / 1.09 GB, free: 10.21 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002693/2.033, allocations: 153.8 kB / 1.09 GB, free: 10.06 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003522/2.033, allocations: 111.9 kB / 1.09 GB, free: 9.953 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.005716/2.039, allocations: 2.746 MB / 1.093 GB, free: 7.234 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.3e-07/2.039, allocations: 0 / 1.093 GB, free: 7.234 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.01543/2.054, allocations: 3.253 MB / 1.096 GB, free: 3.973 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.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 (219): * Single equations (assignments): 181 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 34 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 9,1 7,1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.003322/2.058, allocations: 1.465 MB / 1.097 GB, free: 2.652 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.008811/2.066, allocations: 4.396 MB / 1.102 GB, free: 14.21 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-05/2.066, allocations: 0.875 kB / 1.102 GB, free: 14.21 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.002322/2.069, allocations: 1.232 MB / 1.103 GB, free: 12.97 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01638/2.085, allocations: 2.655 MB / 1.106 GB, free: 10.35 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02132/2.107, allocations: 11.15 MB / 1.116 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002797/2.109, allocations: 2.856 MB / 1.119 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001646/2.111, allocations: 435.2 kB / 1.12 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of SimCode: time 1.453e-06/2.111, allocations: 4 kB / 1.12 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of Templates: time 0.6407/2.752, allocations: 192 MB / 1.307 GB, free: 200.2 MB / 0.795 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.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.Interfaces.Examples.HeaterCooler_uCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_uCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_uCalcHelperMain.o] Error 1