Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.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.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y") translateModel(BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 102.9 kB / 15.71 MB, free: 460 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.001972/0.001972, allocations: 172.8 kB / 16.58 MB, free: 6.398 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.559/1.559, allocations: 223.2 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.167/1.167, allocations: 143.4 MB / 435.1 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003714/0.0003714, allocations: 8 kB / 0.5166 GB, free: 11.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2135, allocations: 83.41 MB / 0.5981 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y): time 0.4716/0.6852, allocations: 69.41 MB / 0.6658 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02237/0.7076, allocations: 14.19 MB / 0.6797 GB, free: 5.133 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003301/0.711, allocations: 59.88 kB / 0.6798 GB, free: 5.105 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00247/0.7135, allocations: 0.5676 MB / 0.6803 GB, free: 4.793 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008593/0.7221, allocations: 1.976 MB / 0.6822 GB, free: 3.656 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004443/0.7265, allocations: 0.9768 MB / 0.6832 GB, free: 3.191 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0115/0.738, allocations: 4.799 MB / 0.6879 GB, free: 1.156 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003508/0.7416, allocations: 1.03 MB / 0.6889 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005197/0.7468, allocations: 1.279 MB / 0.6901 GB, free: 240 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005203/0.7521, allocations: 1.081 MB / 0.6912 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0006392/0.7528, allocations: 55.25 kB / 0.6912 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006496/0.7593, allocations: 0.9208 MB / 0.6921 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001035/0.7604, allocations: 270.9 kB / 0.6924 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001668/0.762, allocations: 357.2 kB / 0.6927 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.008694/0.7707, allocations: 2.227 MB / 0.6949 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 9.999e-06/0.7708, allocations: 1.438 kB / 0.6949 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.247e-06/0.7708, allocations: 0 / 0.6949 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001065/0.771, allocations: 4 kB / 0.6949 GB, free: 14.63 MB / 0.5294 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.006699/0.7777, allocations: 1.792 MB / 0.6967 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.883e-05/0.7777, allocations: 8.469 kB / 0.6967 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001451/0.7792, allocations: 244.9 kB / 0.6969 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005348/0.7846, allocations: 1.448 MB / 0.6983 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001594/0.7848, allocations: 75.94 kB / 0.6984 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003731/0.7851, allocations: 106.4 kB / 0.6985 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004217/0.7894, allocations: 1.11 MB / 0.6996 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.902e-05/0.7894, allocations: 9.188 kB / 0.6996 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000183/0.7896, allocations: 38.34 kB / 0.6996 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.917e-05/0.7897, allocations: 24.38 kB / 0.6996 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003504/0.7932, allocations: 0.9334 MB / 0.7006 GB, free: 11.59 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.01346/0.8067, allocations: 4.917 MB / 0.7054 GB, free: 7.684 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002253/0.809, allocations: 0.6396 MB / 0.706 GB, free: 7.379 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001145/0.8102, allocations: 368.6 kB / 0.7063 GB, free: 7.211 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009466/0.8111, allocations: 0.8275 MB / 0.7071 GB, free: 6.242 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.973e-05/0.8112, allocations: 42.39 kB / 0.7072 GB, free: 6.191 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 4.409e-06/0.8112, allocations: 0 / 0.7072 GB, free: 6.191 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.009688/0.8209, allocations: 1.89 MB / 0.709 GB, free: 5.285 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.215e-05/0.821, allocations: 61.52 kB / 0.7091 GB, free: 5.219 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002396/0.8234, allocations: 1.19 MB / 0.7103 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001543/0.8236, allocations: 47.98 kB / 0.7103 GB, free: 4.508 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006212/0.8242, allocations: 0.6042 MB / 0.7109 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002973/0.8245, allocations: 218.6 kB / 0.7111 GB, free: 3.781 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.819e-05/0.8246, allocations: 15.12 kB / 0.7111 GB, free: 3.77 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.8247, allocations: 333.4 kB / 0.7114 GB, free: 3.445 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007295/0.8255, allocations: 293.7 kB / 0.7117 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009134/0.8264, allocations: 0.5044 MB / 0.7122 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008301/0.8272, allocations: 367.8 kB / 0.7126 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.8273, allocations: 1.75 kB / 0.7126 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005114/0.8324, allocations: 1.395 MB / 0.7139 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002219/0.8326, allocations: 192.8 kB / 0.7141 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.722e-05/0.8327, allocations: 7.531 kB / 0.7141 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006997/0.8334, allocations: 151.1 kB / 0.7143 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006916/0.8341, allocations: 169.1 kB / 0.7144 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009628/0.835, allocations: 0.7104 MB / 0.7151 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001545/0.8366, allocations: 176.3 kB / 0.7153 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.841e-05/0.8367, allocations: 31.67 kB / 0.7153 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.8367, allocations: 4.188 kB / 0.7153 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004134/0.8409, allocations: 1.25 MB / 0.7165 GB, free: 456 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.8409, allocations: 3.312 kB / 0.7165 GB, free: 456 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004655/0.8413, allocations: 154 kB / 0.7167 GB, free: 380 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005698/0.8419, allocations: 166.3 kB / 0.7168 GB, free: 336 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008519/0.8428, allocations: 0.7183 MB / 0.7175 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001554/0.8444, allocations: 161.8 kB / 0.7177 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.756e-05/0.8444, allocations: 35.27 kB / 0.7177 GB, free: 15.61 MB / 0.545 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 (78): * Single equations (assignments): 77 * 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 10} Notification: Performance of prepare postOptimizeDAE: time 0.001055/0.8455, allocations: 419 kB / 0.7181 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000267/0.8458, allocations: 134.9 kB / 0.7183 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005734/0.8515, allocations: 1.393 MB / 0.7196 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.203e-05/0.8516, allocations: 10.86 kB / 0.7196 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.8516, allocations: 0 / 0.7196 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005377/0.857, allocations: 1.234 MB / 0.7208 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009571/0.8666, allocations: 2.741 MB / 0.7235 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-05/0.8667, allocations: 12.05 kB / 0.7235 GB, free: 10.63 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006789/0.8673, allocations: 119.8 kB / 0.7236 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006472/0.868, allocations: 136.7 kB / 0.7238 GB, free: 10.38 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.938e-05/0.8681, allocations: 23.98 kB / 0.7238 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006266/0.8744, allocations: 2.469 MB / 0.7262 GB, free: 7.742 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.01e-05/0.8744, allocations: 7.938 kB / 0.7262 GB, free: 7.734 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006286/0.8807, allocations: 1.848 MB / 0.728 GB, free: 5.816 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001543/0.8823, allocations: 339 kB / 0.7283 GB, free: 5.465 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002579/0.8826, allocations: 20 kB / 0.7284 GB, free: 5.445 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001294/0.8839, allocations: 91.92 kB / 0.7284 GB, free: 5.355 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002027/0.8841, allocations: 56.42 kB / 0.7285 GB, free: 5.301 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000116/0.8842, allocations: 35.91 kB / 0.7285 GB, free: 5.266 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002056/0.8863, allocations: 0.8584 MB / 0.7294 GB, free: 4.406 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8863, allocations: 0 / 0.7294 GB, free: 4.406 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002995/0.8893, allocations: 0.7096 MB / 0.7301 GB, free: 3.695 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.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 (55): * Single equations (assignments): 50 * 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.001337/0.8907, allocations: 444 kB / 0.7305 GB, free: 3.273 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002976/0.8936, allocations: 1.161 MB / 0.7316 GB, free: 2.113 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.8937, allocations: 0 / 0.7316 GB, free: 2.113 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001581/0.8953, allocations: 0.6072 MB / 0.7322 GB, free: 1.496 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00443/0.8997, allocations: 0.7577 MB / 0.733 GB, free: 0.7539 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00681/0.9065, allocations: 2.803 MB / 0.7357 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001686/0.9082, allocations: 1.169 MB / 0.7368 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000566/0.9088, allocations: 107.4 kB / 0.7369 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of SimCode: time 5.01e-06/0.9089, allocations: 0 / 0.7369 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of Templates: time 0.05967/0.9685, allocations: 31.04 MB / 0.7672 GB, free: 13.73 MB / 0.5919 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_y.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.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.HeatPumps.Examples.Carnot_yCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_yCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_yCalcHelperMain.o] Error 1