Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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.001235/0.001235, allocations: 92.55 kB / 16.33 MB, free: 5.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 187.9 kB / 17.23 MB, free: 5.496 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.495/1.495, allocations: 223.2 MB / 241.2 MB, free: 368 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7619/0.7619, allocations: 114.3 MB / 406.7 MB, free: 8.285 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004237/0.0004243, allocations: 8 kB / 494.4 MB, free: 1.52 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5029/0.5033, allocations: 77.26 MB / 0.5583 GB, free: 36.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.7475/1.251, allocations: 277.6 MB / 0.8294 GB, free: 48.89 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.07336/1.324, allocations: 47.03 MB / 0.8753 GB, free: 24.94 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01527/1.34, allocations: 262.2 kB / 0.8755 GB, free: 24.68 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.01244/1.352, allocations: 2.383 MB / 0.8779 GB, free: 22.29 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.03169/1.384, allocations: 7.264 MB / 0.885 GB, free: 14.99 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.02066/1.405, allocations: 4.781 MB / 0.8896 GB, free: 10.26 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.03658/1.441, allocations: 21.07 MB / 0.9102 GB, free: 5.133 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01459/1.456, allocations: 4.296 MB / 0.9144 GB, free: 0.7773 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02001/1.476, allocations: 5.895 MB / 0.9202 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01216/1.488, allocations: 4.604 MB / 0.9247 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.00303/1.491, allocations: 228 kB / 0.9249 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01499/1.506, allocations: 2.646 MB / 0.9275 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.003704/1.51, allocations: 1.057 MB / 0.9285 GB, free: 2.293 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.005328/1.515, allocations: 1.373 MB / 0.9298 GB, free: 0.9102 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01608/1.531, allocations: 7.444 MB / 0.9371 GB, free: 9.449 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.872e-06/1.531, allocations: 0 / 0.9371 GB, free: 9.449 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.325e-06/1.531, allocations: 4 kB / 0.9371 GB, free: 9.445 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.000406/1.532, allocations: 0 / 0.9371 GB, free: 9.445 MB / 0.6231 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.01532/1.547, allocations: 6.265 MB / 0.9432 GB, free: 3.047 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/1.547, allocations: 12.02 kB / 0.9432 GB, free: 3.035 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003505/1.551, allocations: 0.7839 MB / 0.944 GB, free: 2.246 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01218/1.563, allocations: 5.01 MB / 0.9489 GB, free: 13.16 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002651/1.563, allocations: 324.1 kB / 0.9492 GB, free: 12.84 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006958/1.564, allocations: 427.9 kB / 0.9496 GB, free: 12.42 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008083/1.572, allocations: 4.358 MB / 0.9539 GB, free: 7.781 MB / 0.6388 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.998e-05/1.572, allocations: 15.88 kB / 0.9539 GB, free: 7.766 MB / 0.6388 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004201/1.573, allocations: 180 kB / 0.9541 GB, free: 7.59 MB / 0.6388 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001315/1.573, allocations: 120 kB / 0.9542 GB, free: 7.473 MB / 0.6388 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005509/1.578, allocations: 2.951 MB / 0.9571 GB, free: 4.52 MB / 0.6388 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.03362/1.612, allocations: 25.03 MB / 0.9815 GB, free: 9.457 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003269/1.615, allocations: 2.755 MB / 0.9842 GB, free: 6.48 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001461/1.617, allocations: 0.9974 MB / 0.9852 GB, free: 5.496 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003346/1.62, allocations: 3.912 MB / 0.989 GB, free: 0.7188 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.829e-05/1.62, allocations: 72.5 kB / 0.989 GB, free: 0.6367 MB / 0.67 GB Notification: Performance of pre-optimization done (n=217): time 4.649e-06/1.62, allocations: 0 / 0.989 GB, free: 0.6367 MB / 0.67 GB Notification: Performance of matching and sorting (n=217): time 0.01068/1.631, allocations: 4.065 MB / 0.993 GB, free: 12.48 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.84e-05/1.631, allocations: 73.41 kB / 0.9931 GB, free: 12.39 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007973/1.639, allocations: 4.178 MB / 0.9972 GB, free: 8.238 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0006803/1.64, allocations: 85.7 kB / 0.9972 GB, free: 8.148 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.002789/1.642, allocations: 2.792 MB / 1 GB, free: 5.336 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001299/1.644, allocations: 0.7586 MB / 1.001 GB, free: 4.566 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001306/1.644, allocations: 60 kB / 1.001 GB, free: 4.508 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002004/1.644, allocations: 411.9 kB / 1.001 GB, free: 4.102 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001394/1.646, allocations: 0.7826 MB / 1.002 GB, free: 3.316 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002112/1.648, allocations: 1.802 MB / 1.004 GB, free: 1.078 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001725/1.649, allocations: 1.081 MB / 1.005 GB, free: 15.97 MB / 0.7013 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.331e-05/1.649, allocations: 12 kB / 1.005 GB, free: 15.96 MB / 0.7013 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.007894/1.657, allocations: 3.505 MB / 1.008 GB, free: 12.39 MB / 0.7013 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005858/1.658, allocations: 0.7297 MB / 1.009 GB, free: 11.36 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.87e-05/1.658, allocations: 24 kB / 1.009 GB, free: 11.33 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002348/1.66, allocations: 0.569 MB / 1.009 GB, free: 10.75 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001861/1.662, allocations: 0.5538 MB / 1.01 GB, free: 10.2 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002429/1.665, allocations: 2.691 MB / 1.013 GB, free: 7.402 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005617/1.67, allocations: 0.5883 MB / 1.013 GB, free: 6.812 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004613/1.671, allocations: 136 kB / 1.013 GB, free: 6.68 MB / 0.7013 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/1.671, allocations: 4 kB / 1.013 GB, free: 6.676 MB / 0.7013 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006491/1.677, allocations: 2.81 MB / 1.016 GB, free: 3.812 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.075e-05/1.677, allocations: 20 kB / 1.016 GB, free: 3.793 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001083/1.678, allocations: 371.3 kB / 1.016 GB, free: 3.418 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001877/1.68, allocations: 0.5577 MB / 1.017 GB, free: 2.859 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4274/2.108, allocations: 7.688 MB / 1.025 GB, free: 272.3 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005459/2.113, allocations: 0.5608 MB / 1.025 GB, free: 272.3 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004917/2.114, allocations: 131.8 kB / 1.025 GB, free: 272.3 MB / 0.7013 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.003121/2.117, allocations: 1.01 MB / 1.026 GB, free: 272.1 MB / 0.7013 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001906/2.119, allocations: 0.5029 MB / 1.027 GB, free: 272.1 MB / 0.7013 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006938/2.126, allocations: 3.577 MB / 1.03 GB, free: 271.2 MB / 0.7013 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-05/2.126, allocations: 37.25 kB / 1.03 GB, free: 271.2 MB / 0.7013 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/2.126, allocations: 4.656 kB / 1.03 GB, free: 271.2 MB / 0.7013 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003832/2.13, allocations: 2.43 MB / 1.033 GB, free: 270.2 MB / 0.7013 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.01571/2.145, allocations: 8.2 MB / 1.041 GB, free: 266.2 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.369e-05/2.146, allocations: 0.9688 kB / 1.041 GB, free: 266.2 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001324/2.147, allocations: 364.3 kB / 1.041 GB, free: 266.2 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007113/2.148, allocations: 299.5 kB / 1.041 GB, free: 266.1 MB / 0.7013 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001315/2.148, allocations: 63.64 kB / 1.041 GB, free: 266.1 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001487/2.149, allocations: 2.495 MB / 1.044 GB, free: 263.8 MB / 0.7013 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/2.149, allocations: 2.594 kB / 1.044 GB, free: 263.8 MB / 0.7013 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008376/2.158, allocations: 4.331 MB / 1.048 GB, free: 261.8 MB / 0.7013 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003499/2.161, allocations: 0.9816 MB / 1.049 GB, free: 261.2 MB / 0.7013 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001307/2.162, allocations: 44.86 kB / 1.049 GB, free: 261.2 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00409/2.167, allocations: 427.7 kB / 1.049 GB, free: 261.1 MB / 0.7013 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003218/2.167, allocations: 153.7 kB / 1.05 GB, free: 261.1 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003124/2.167, allocations: 114.4 kB / 1.05 GB, free: 261.1 MB / 0.7013 GB Notification: Performance of sorting global known variables: time 0.005959/2.173, allocations: 2.747 MB / 1.052 GB, free: 260.1 MB / 0.7013 GB Notification: Performance of sort global known variables: time 4.71e-07/2.173, allocations: 1.5 kB / 1.052 GB, free: 260.1 MB / 0.7013 GB Notification: Performance of remove unused functions: time 0.01509/2.188, allocations: 3.252 MB / 1.055 GB, free: 259.6 MB / 0.7013 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.003898/2.192, allocations: 1.424 MB / 1.057 GB, free: 259.3 MB / 0.7013 GB Notification: Performance of simCode: created initialization part: time 0.00863/2.201, allocations: 4.399 MB / 1.061 GB, free: 257.5 MB / 0.7013 GB Notification: Performance of simCode: created event and clocks part: time 1.176e-05/2.201, allocations: 3.875 kB / 1.061 GB, free: 257.5 MB / 0.7013 GB Notification: Performance of simCode: created simulation system equations: time 0.002381/2.203, allocations: 1.23 MB / 1.062 GB, free: 257 MB / 0.7013 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01659/2.22, allocations: 2.65 MB / 1.065 GB, free: 256.5 MB / 0.7013 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02323/2.243, allocations: 11.14 MB / 1.076 GB, free: 250.3 MB / 0.7013 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004225/2.248, allocations: 2.854 MB / 1.079 GB, free: 249.4 MB / 0.7013 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001767/2.249, allocations: 440 kB / 1.079 GB, free: 249.4 MB / 0.7013 GB Notification: Performance of SimCode: time 1.703e-06/2.249, allocations: 0 / 1.079 GB, free: 249.4 MB / 0.7013 GB Notification: Performance of Templates: time 0.1988/2.448, allocations: 190.5 MB / 1.265 GB, free: 61.36 MB / 0.7013 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.makefile make -j1 -f IBPSA_latest_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 OMCppIBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_uCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_uCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_uCalcHelperMain.o] Error 1