Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_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/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.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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.00146/0.00146, allocations: 96.11 kB / 16.33 MB, free: 5.949 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.001489/0.001489, allocations: 189.4 kB / 17.23 MB, free: 5.887 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.522/1.522, allocations: 223.3 MB / 241.2 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7167/0.7167, allocations: 114.3 MB / 406.7 MB, free: 4.012 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005294/0.0005296, allocations: 8 kB / 494.4 MB, free: 8.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.188/0.1886, allocations: 77.27 MB / 0.5583 GB, free: 11 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.4725/0.6612, allocations: 56.43 MB / 0.6134 GB, free: 4.453 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01944/0.6806, allocations: 11.22 MB / 0.6244 GB, free: 12.37 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003178/0.6839, allocations: 54.09 kB / 0.6244 GB, free: 12.35 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002359/0.6863, allocations: 461.2 kB / 0.6249 GB, free: 12.09 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00675/0.693, allocations: 1.537 MB / 0.6264 GB, free: 11.2 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003788/0.6968, allocations: 0.8582 MB / 0.6272 GB, free: 10.8 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.007198/0.704, allocations: 3.392 MB / 0.6305 GB, free: 9.156 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002736/0.7068, allocations: 0.7863 MB / 0.6313 GB, free: 8.656 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004103/0.7109, allocations: 1.039 MB / 0.6323 GB, free: 8.078 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002705/0.7137, allocations: 0.8036 MB / 0.6331 GB, free: 7.613 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004248/0.7141, allocations: 42.62 kB / 0.6331 GB, free: 7.613 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004156/0.7183, allocations: 1.087 MB / 0.6342 GB, free: 7.027 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005885/0.7189, allocations: 196.9 kB / 0.6344 GB, free: 6.879 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001026/0.7199, allocations: 289.7 kB / 0.6347 GB, free: 6.707 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003533/0.7235, allocations: 1.627 MB / 0.6362 GB, free: 5.641 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.7235, allocations: 0 / 0.6362 GB, free: 5.641 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.7235, allocations: 4 kB / 0.6362 GB, free: 5.637 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.273e-05/0.7236, allocations: 0 / 0.6362 GB, free: 5.637 MB / 462.1 MB 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.003409/0.727, allocations: 1.504 MB / 0.6377 GB, free: 4.465 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.727, allocations: 8.656 kB / 0.6377 GB, free: 4.465 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002062/0.7291, allocations: 469.7 kB / 0.6382 GB, free: 4.273 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002374/0.7315, allocations: 1.09 MB / 0.6392 GB, free: 3.395 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003418/0.7318, allocations: 130.7 kB / 0.6394 GB, free: 3.344 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/0.732, allocations: 80.47 kB / 0.6394 GB, free: 3.32 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002158/0.7341, allocations: 0.9948 MB / 0.6404 GB, free: 2.691 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.403e-05/0.7342, allocations: 13.02 kB / 0.6404 GB, free: 2.68 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-05/0.7343, allocations: 31.44 kB / 0.6405 GB, free: 2.656 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.803e-05/0.7343, allocations: 19.09 kB / 0.6405 GB, free: 2.656 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002273/0.7366, allocations: 0.9062 MB / 0.6414 GB, free: 2.23 MB / 462.1 MB 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.007308/0.7439, allocations: 4.895 MB / 0.6461 GB, free: 13.88 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003139/0.7471, allocations: 0.9042 MB / 0.647 GB, free: 13.46 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006751/0.7478, allocations: 324.7 kB / 0.6473 GB, free: 13.32 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007347/0.7485, allocations: 0.904 MB / 0.6482 GB, free: 12.25 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.7485, allocations: 41.75 kB / 0.6483 GB, free: 12.2 MB / 478.1 MB Notification: Performance of pre-optimization done (n=43): time 3.587e-06/0.7486, allocations: 0 / 0.6483 GB, free: 12.2 MB / 478.1 MB Notification: Performance of matching and sorting (n=43): time 0.008031/0.7566, allocations: 2.151 MB / 0.6504 GB, free: 10.69 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.898e-05/0.7567, allocations: 59.34 kB / 0.6504 GB, free: 10.62 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001687/0.7584, allocations: 1.048 MB / 0.6514 GB, free: 9.555 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.467e-05/0.7585, allocations: 33.7 kB / 0.6515 GB, free: 9.516 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004579/0.7589, allocations: 0.5273 MB / 0.652 GB, free: 8.984 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001455/0.7591, allocations: 149.8 kB / 0.6521 GB, free: 8.836 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.289e-05/0.7591, allocations: 12 kB / 0.6521 GB, free: 8.824 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.7593, allocations: 329.9 kB / 0.6524 GB, free: 8.496 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008061/0.7601, allocations: 320.9 kB / 0.6528 GB, free: 8.184 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009652/0.7611, allocations: 0.5298 MB / 0.6533 GB, free: 7.57 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008386/0.7619, allocations: 354 kB / 0.6536 GB, free: 7.227 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.7619, allocations: 0 / 0.6536 GB, free: 7.227 MB / 478.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003454/0.7654, allocations: 1.231 MB / 0.6548 GB, free: 5.984 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001754/0.7656, allocations: 209.3 kB / 0.655 GB, free: 5.719 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.7656, allocations: 4 kB / 0.655 GB, free: 5.715 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001251/0.7668, allocations: 333.2 kB / 0.6553 GB, free: 5.387 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005103/0.7674, allocations: 127.8 kB / 0.6555 GB, free: 5.262 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00148/0.7689, allocations: 0.944 MB / 0.6564 GB, free: 4.293 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001474/0.7703, allocations: 187.3 kB / 0.6566 GB, free: 4.109 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.574e-05/0.7705, allocations: 27.98 kB / 0.6566 GB, free: 4.082 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.7705, allocations: 4 kB / 0.6566 GB, free: 4.078 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003127/0.7736, allocations: 1.09 MB / 0.6576 GB, free: 2.984 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.7736, allocations: 4 kB / 0.6577 GB, free: 2.98 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001052/0.7747, allocations: 318.6 kB / 0.658 GB, free: 2.668 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004913/0.7752, allocations: 123.8 kB / 0.6581 GB, free: 2.547 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00141/0.7766, allocations: 0.9464 MB / 0.659 GB, free: 1.574 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001433/0.7781, allocations: 167.3 kB / 0.6592 GB, free: 1.41 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.414e-05/0.7782, allocations: 27.98 kB / 0.6592 GB, free: 1.383 MB / 478.1 MB 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.0007122/0.7789, allocations: 352.9 kB / 0.6595 GB, free: 1.027 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003174/0.7792, allocations: 114.6 kB / 0.6596 GB, free: 0.9141 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003598/0.7828, allocations: 1.197 MB / 0.6608 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.101e-05/0.7829, allocations: 8 kB / 0.6608 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.128e-06/0.7829, allocations: 0 / 0.6608 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-06/0.7829, allocations: 3.984 kB / 0.6608 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005563/0.7885, allocations: 2.257 MB / 0.663 GB, free: 13.35 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.341e-05/0.7885, allocations: 4 kB / 0.663 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002779/0.7888, allocations: 72.17 kB / 0.6631 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001081/0.7899, allocations: 324.7 kB / 0.6634 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.642e-05/0.7899, allocations: 19.94 kB / 0.6634 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001511/0.7915, allocations: 0.972 MB / 0.6644 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.135e-06/0.7915, allocations: 4 kB / 0.6644 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003707/0.7952, allocations: 1.249 MB / 0.6656 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009677/0.7962, allocations: 279.4 kB / 0.6659 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004383/0.7966, allocations: 15.98 kB / 0.6659 GB, free: 10.33 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001269/0.7979, allocations: 107.9 kB / 0.666 GB, free: 10.22 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.798, allocations: 43.84 kB / 0.666 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.581e-05/0.7981, allocations: 23.98 kB / 0.666 GB, free: 10.16 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001725/0.7999, allocations: 0.7311 MB / 0.6668 GB, free: 9.418 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.7999, allocations: 0 / 0.6668 GB, free: 9.418 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003175/0.8031, allocations: 0.5574 MB / 0.6673 GB, free: 8.859 MB / 494.1 MB 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.001176/0.8043, allocations: 361.6 kB / 0.6676 GB, free: 8.508 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003447/0.8077, allocations: 1.164 MB / 0.6688 GB, free: 7.344 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.8077, allocations: 0 / 0.6688 GB, free: 7.344 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009964/0.8087, allocations: 370.4 kB / 0.6691 GB, free: 6.98 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003309/0.8121, allocations: 0.5066 MB / 0.6696 GB, free: 6.484 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007646/0.8197, allocations: 2.511 MB / 0.6721 GB, free: 3.914 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001158/0.821, allocations: 1.065 MB / 0.6731 GB, free: 2.816 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00041/0.8214, allocations: 79.42 kB / 0.6732 GB, free: 2.742 MB / 494.1 MB Notification: Performance of SimCode: time 1.813e-06/0.8214, allocations: 0 / 0.6732 GB, free: 2.742 MB / 494.1 MB Notification: Performance of Templates: time 0.03968/0.8611, allocations: 23.66 MB / 0.6963 GB, free: 11.24 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.makefile make -j1 -f IBPSA_latest_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 OMCppIBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TConCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TConCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TConCalcHelperMain.o] Error 1