Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.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/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_TCon,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.TSet|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_TCon") translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon,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.TSet|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_TCon") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 101.7 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.001521/0.001521, allocations: 177.5 kB / 16.58 MB, free: 6.402 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.873/1.873, allocations: 223.3 MB / 240.6 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.968/2.968, allocations: 436.7 MB / 0.7113 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003889/0.0003889, allocations: 15.98 kB / 0.8717 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9393/0.9397, allocations: 153.7 MB / 1.022 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.05306/0.9928, allocations: 56.51 MB / 1.077 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0165/1.009, allocations: 11.22 MB / 1.088 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002247/1.012, allocations: 55.62 kB / 1.088 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002141/1.014, allocations: 460.9 kB / 1.088 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.005795/1.02, allocations: 1.538 MB / 1.09 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.00341/1.023, allocations: 0.8555 MB / 1.091 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.005977/1.029, allocations: 3.39 MB / 1.094 GB, free: 6.852 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002206/1.031, allocations: 0.7938 MB / 1.095 GB, free: 6.031 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004209/1.036, allocations: 1.03 MB / 1.096 GB, free: 4.996 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002707/1.038, allocations: 0.8088 MB / 1.097 GB, free: 4.184 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.000665/1.039, allocations: 44 kB / 1.097 GB, free: 4.141 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005358/1.044, allocations: 1.091 MB / 1.098 GB, free: 3.047 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0006417/1.045, allocations: 195 kB / 1.098 GB, free: 2.855 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0009871/1.046, allocations: 285 kB / 1.098 GB, free: 2.57 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.004043/1.05, allocations: 1.627 MB / 1.1 GB, free: 0.9414 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/1.05, allocations: 7.938 kB / 1.1 GB, free: 0.9336 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.813e-06/1.05, allocations: 0 / 1.1 GB, free: 0.9336 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.81e-05/1.05, allocations: 3.938 kB / 1.1 GB, free: 0.9297 MB / 0.8419 GB 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.005619/1.056, allocations: 1.497 MB / 1.101 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 7.264e-05/1.056, allocations: 15.92 kB / 1.101 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003315/1.059, allocations: 469.9 kB / 1.102 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004175/1.063, allocations: 1.086 MB / 1.103 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005442/1.064, allocations: 133.9 kB / 1.103 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002681/1.064, allocations: 80 kB / 1.103 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003855/1.068, allocations: 1.009 MB / 1.104 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.585e-05/1.068, allocations: 3.938 kB / 1.104 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001582/1.068, allocations: 32 kB / 1.104 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.09e-05/1.068, allocations: 20 kB / 1.104 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003919/1.072, allocations: 0.9056 MB / 1.105 GB, free: 11.54 MB / 0.8575 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.01055/1.083, allocations: 4.898 MB / 1.11 GB, free: 6.273 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003172/1.086, allocations: 0.8908 MB / 1.111 GB, free: 5.375 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006999/1.087, allocations: 322.4 kB / 1.111 GB, free: 5.059 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007551/1.088, allocations: 0.9024 MB / 1.112 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/1.088, allocations: 34.56 kB / 1.112 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=43): time 2.745e-06/1.088, allocations: 0 / 1.112 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of matching and sorting (n=43): time 0.007815/1.095, allocations: 2.146 MB / 1.114 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.807e-05/1.096, allocations: 67.34 kB / 1.114 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001912/1.097, allocations: 1.047 MB / 1.115 GB, free: 0.5938 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001654/1.098, allocations: 33.7 kB / 1.115 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004642/1.098, allocations: 0.5273 MB / 1.115 GB, free: 24 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001715/1.098, allocations: 149.8 kB / 1.116 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.037e-05/1.098, allocations: 8 kB / 1.116 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000147/1.099, allocations: 333.9 kB / 1.116 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008316/1.099, allocations: 316.9 kB / 1.116 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001074/1.1, allocations: 0.5298 MB / 1.117 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009158/1.101, allocations: 361.4 kB / 1.117 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.778e-06/1.101, allocations: 4 kB / 1.117 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00359/1.105, allocations: 1.219 MB / 1.118 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001759/1.105, allocations: 213.3 kB / 1.118 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/1.105, allocations: 8 kB / 1.118 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001343/1.107, allocations: 327.2 kB / 1.119 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005184/1.107, allocations: 127.8 kB / 1.119 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001687/1.109, allocations: 0.9426 MB / 1.12 GB, free: 11.33 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001395/1.11, allocations: 195.2 kB / 1.12 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.885e-05/1.11, allocations: 27.98 kB / 1.12 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 8.095e-06/1.11, allocations: 4 kB / 1.12 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003273/1.114, allocations: 1.082 MB / 1.121 GB, free: 10.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/1.114, allocations: 4 kB / 1.121 GB, free: 10.02 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001059/1.115, allocations: 316.8 kB / 1.121 GB, free: 9.707 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005104/1.115, allocations: 131.8 kB / 1.122 GB, free: 9.578 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001417/1.117, allocations: 0.9449 MB / 1.122 GB, free: 8.609 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001323/1.118, allocations: 167.4 kB / 1.123 GB, free: 8.445 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.44e-05/1.118, allocations: 24 kB / 1.123 GB, free: 8.422 MB / 0.8731 GB 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.0006144/1.119, allocations: 359.1 kB / 1.123 GB, free: 8.062 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002686/1.119, allocations: 110.6 kB / 1.123 GB, free: 7.953 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003766/1.123, allocations: 1.195 MB / 1.124 GB, free: 6.746 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.731e-05/1.123, allocations: 7.984 kB / 1.124 GB, free: 6.738 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/1.123, allocations: 0 / 1.124 GB, free: 6.738 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/1.123, allocations: 0 / 1.124 GB, free: 6.738 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005812/1.129, allocations: 2.272 MB / 1.127 GB, free: 4.383 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.909e-06/1.129, allocations: 0 / 1.127 GB, free: 4.383 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002799/1.129, allocations: 80.11 kB / 1.127 GB, free: 4.305 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009938/1.13, allocations: 317.8 kB / 1.127 GB, free: 3.992 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.207e-05/1.13, allocations: 23.94 kB / 1.127 GB, free: 3.969 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001531/1.132, allocations: 0.9582 MB / 1.128 GB, free: 2.984 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/1.132, allocations: 4.031 kB / 1.128 GB, free: 2.98 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003531/1.135, allocations: 1.253 MB / 1.129 GB, free: 1.68 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006871/1.136, allocations: 287.4 kB / 1.129 GB, free: 1.379 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002601/1.136, allocations: 12 kB / 1.129 GB, free: 1.367 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009722/1.137, allocations: 111.8 kB / 1.129 GB, free: 1.258 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.452e-05/1.137, allocations: 43.84 kB / 1.13 GB, free: 1.215 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-05/1.137, allocations: 15.98 kB / 1.13 GB, free: 1.199 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001394/1.139, allocations: 0.7389 MB / 1.13 GB, free: 464 kB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/1.139, allocations: 0 / 1.13 GB, free: 464 kB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002065/1.141, allocations: 0.5575 MB / 1.131 GB, free: 15.89 MB / 0.8887 GB 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.0009575/1.142, allocations: 373.4 kB / 1.131 GB, free: 15.53 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.00349/1.145, allocations: 1.159 MB / 1.132 GB, free: 14.37 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/1.145, allocations: 0 / 1.132 GB, free: 14.37 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0009151/1.146, allocations: 364.5 kB / 1.133 GB, free: 14.02 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002656/1.149, allocations: 0.5 MB / 1.133 GB, free: 13.52 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006935/1.156, allocations: 2.517 MB / 1.136 GB, free: 10.94 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001343/1.157, allocations: 1.061 MB / 1.137 GB, free: 9.852 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004091/1.157, allocations: 79.42 kB / 1.137 GB, free: 9.773 MB / 0.8887 GB Notification: Performance of SimCode: time 2.585e-06/1.157, allocations: 0 / 1.137 GB, free: 9.773 MB / 0.8887 GB Notification: Performance of Templates: time 0.04233/1.2, allocations: 23.65 MB / 1.16 GB, free: 2.258 MB / 0.9044 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.makefile make -j1 -f Buildings_latest_Buildings.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 OMCppBuildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_TConCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_TConCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_TConCalcHelperMain.o] Error 1