Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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(Buildings.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.sta_a2.T|heaPum.sta_b2.T|heaPum.QEva_flow|heaPum.QCon_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y") translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.sta_a2.T|heaPum.sta_b2.T|heaPum.QEva_flow|heaPum.QCon_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP",fileNamePrefix="Buildings_latest_Buildings.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.001006/0.001006, allocations: 103 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.001278/0.001278, allocations: 172.7 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.538/1.538, allocations: 223.2 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.85/2.85, allocations: 436.7 MB / 0.7113 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000391/0.000391, allocations: 8 kB / 0.8717 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9119/0.9123, allocations: 153.7 MB / 1.022 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.06656/0.9789, allocations: 69.45 MB / 1.09 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02031/0.9993, allocations: 14.2 MB / 1.103 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002975/1.002, allocations: 55.62 kB / 1.103 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002617/1.005, allocations: 0.5588 MB / 1.104 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.008001/1.013, allocations: 1.993 MB / 1.106 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003737/1.017, allocations: 0.9607 MB / 1.107 GB, free: 9.691 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.007605/1.024, allocations: 4.809 MB / 1.112 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002281/1.027, allocations: 1.019 MB / 1.113 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003391/1.03, allocations: 1.283 MB / 1.114 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002307/1.032, allocations: 1.081 MB / 1.115 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002008/1.033, allocations: 56 kB / 1.115 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003139/1.036, allocations: 0.916 MB / 1.116 GB, free: 484 kB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003633/1.036, allocations: 274.7 kB / 1.116 GB, free: 208 kB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006894/1.037, allocations: 357 kB / 1.116 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.00284/1.04, allocations: 2.081 MB / 1.118 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/1.04, allocations: 0 / 1.118 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.467e-06/1.04, allocations: 3.984 kB / 1.118 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.395e-05/1.04, allocations: 4 kB / 1.118 GB, free: 13.75 MB / 0.8731 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.003657/1.043, allocations: 1.791 MB / 1.12 GB, free: 11.9 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/1.043, allocations: 15.92 kB / 1.12 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007936/1.044, allocations: 241.9 kB / 1.12 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002651/1.047, allocations: 1.451 MB / 1.122 GB, free: 10.14 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.407e-05/1.047, allocations: 74 kB / 1.122 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001479/1.047, allocations: 100 kB / 1.122 GB, free: 9.969 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002279/1.049, allocations: 1.12 MB / 1.123 GB, free: 8.812 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.349e-05/1.05, allocations: 3.938 kB / 1.123 GB, free: 8.809 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/1.05, allocations: 40 kB / 1.123 GB, free: 8.77 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.548e-05/1.05, allocations: 28 kB / 1.123 GB, free: 8.742 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002175/1.052, allocations: 0.9212 MB / 1.124 GB, free: 7.824 MB / 0.8731 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.007016/1.059, allocations: 4.904 MB / 1.129 GB, free: 2.633 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001444/1.06, allocations: 0.6431 MB / 1.13 GB, free: 1.984 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006826/1.061, allocations: 358.3 kB / 1.13 GB, free: 1.633 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007358/1.062, allocations: 0.8316 MB / 1.131 GB, free: 0.6172 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.372e-05/1.062, allocations: 39.12 kB / 1.131 GB, free: 0.5703 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=61): time 2.896e-06/1.062, allocations: 3.938 kB / 1.131 GB, free: 0.5664 MB / 0.8731 GB Notification: Performance of matching and sorting (n=61): time 0.006589/1.068, allocations: 1.892 MB / 1.133 GB, free: 14.64 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.152e-05/1.069, allocations: 59.97 kB / 1.133 GB, free: 14.57 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001968/1.071, allocations: 1.202 MB / 1.134 GB, free: 13.36 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001067/1.071, allocations: 41.7 kB / 1.134 GB, free: 13.31 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005501/1.071, allocations: 0.5988 MB / 1.134 GB, free: 12.7 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002454/1.071, allocations: 220.9 kB / 1.135 GB, free: 12.48 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.368e-05/1.072, allocations: 12 kB / 1.135 GB, free: 12.47 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001655/1.072, allocations: 337.9 kB / 1.135 GB, free: 12.14 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006203/1.072, allocations: 293.8 kB / 1.135 GB, free: 11.85 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007899/1.073, allocations: 0.5007 MB / 1.136 GB, free: 11.27 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007121/1.074, allocations: 367 kB / 1.136 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/1.074, allocations: 0 / 1.136 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004339/1.078, allocations: 1.398 MB / 1.137 GB, free: 9.504 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001537/1.078, allocations: 199.8 kB / 1.138 GB, free: 9.262 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/1.078, allocations: 4 kB / 1.138 GB, free: 9.258 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005769/1.079, allocations: 140.7 kB / 1.138 GB, free: 9.117 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005854/1.08, allocations: 167.7 kB / 1.138 GB, free: 8.953 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008547/1.08, allocations: 0.7201 MB / 1.139 GB, free: 8.207 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001201/1.082, allocations: 163.1 kB / 1.139 GB, free: 8.047 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-05/1.082, allocations: 39.91 kB / 1.139 GB, free: 8.008 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 9.267e-06/1.082, allocations: 4 kB / 1.139 GB, free: 8.004 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003871/1.086, allocations: 1.25 MB / 1.14 GB, free: 6.75 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/1.086, allocations: 4 kB / 1.14 GB, free: 6.746 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004595/1.086, allocations: 148.7 kB / 1.14 GB, free: 6.598 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005566/1.087, allocations: 171.7 kB / 1.14 GB, free: 6.43 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007977/1.087, allocations: 0.7085 MB / 1.141 GB, free: 5.695 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00131/1.089, allocations: 164.7 kB / 1.141 GB, free: 5.535 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.416e-05/1.089, allocations: 31.98 kB / 1.141 GB, free: 5.504 MB / 0.8887 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.0008495/1.09, allocations: 427 kB / 1.142 GB, free: 5.078 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000259/1.09, allocations: 130.4 kB / 1.142 GB, free: 4.949 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004208/1.094, allocations: 1.396 MB / 1.143 GB, free: 3.531 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-05/1.094, allocations: 11.98 kB / 1.143 GB, free: 3.52 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/1.094, allocations: 3.938 kB / 1.143 GB, free: 3.516 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003658/1.098, allocations: 1.232 MB / 1.144 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007487/1.105, allocations: 2.724 MB / 1.147 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.014e-05/1.105, allocations: 8.031 kB / 1.147 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004812/1.106, allocations: 119.8 kB / 1.147 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004657/1.106, allocations: 136.7 kB / 1.147 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.868e-05/1.106, allocations: 24 kB / 1.147 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004476/1.111, allocations: 2.486 MB / 1.15 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/1.111, allocations: 4 kB / 1.15 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005144/1.116, allocations: 1.855 MB / 1.152 GB, free: 10.56 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008836/1.117, allocations: 335 kB / 1.152 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001469/1.117, allocations: 16 kB / 1.152 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008067/1.118, allocations: 87.97 kB / 1.152 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001436/1.118, allocations: 56.36 kB / 1.152 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.454e-05/1.118, allocations: 31.94 kB / 1.152 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001365/1.12, allocations: 0.8661 MB / 1.153 GB, free: 9.16 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/1.12, allocations: 0 / 1.153 GB, free: 9.16 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.002067/1.122, allocations: 0.7134 MB / 1.154 GB, free: 8.445 MB / 0.9044 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.0008944/1.123, allocations: 415 kB / 1.154 GB, free: 8.035 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002648/1.125, allocations: 1.16 MB / 1.155 GB, free: 6.875 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/1.125, allocations: 4 kB / 1.155 GB, free: 6.871 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001507/1.127, allocations: 0.5995 MB / 1.156 GB, free: 6.262 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003493/1.13, allocations: 0.7593 MB / 1.156 GB, free: 5.516 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004607/1.135, allocations: 2.807 MB / 1.159 GB, free: 2.633 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007763/1.136, allocations: 1.168 MB / 1.16 GB, free: 1.438 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003059/1.136, allocations: 111.4 kB / 1.16 GB, free: 1.328 MB / 0.9044 GB Notification: Performance of SimCode: time 1.492e-06/1.136, allocations: 0 / 1.16 GB, free: 1.328 MB / 0.9044 GB Notification: Performance of Templates: time 0.04688/1.183, allocations: 30.71 MB / 1.19 GB, free: 2.789 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y.makefile make -j1 -f Buildings_latest_Buildings.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 OMCppBuildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_yCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_yCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_yCalcHelperMain.o] Error 1