Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.HeatTransfer.Examples.ConductorSingleLayerPCM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008531/0.008532, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001855/0.001856, allocations: 192 kB / 16.79 MB, free: 5.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.67/1.67, allocations: 205.1 MB / 222.7 MB, free: 4.766 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.772/1.772, allocations: 292.3 MB / 0.5491 GB, free: 13.66 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001394, allocations: 66.62 kB / 0.6714 GB, free: 26.48 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.3451, allocations: 114.5 MB / 0.7833 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.006294/0.3515, allocations: 4.364 MB / 0.7876 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006375/0.3579, allocations: 3.015 MB / 0.7905 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008776/0.3588, allocations: 19.88 kB / 0.7905 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00127/0.3602, allocations: 330.3 kB / 0.7908 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001429/0.3616, allocations: 0.5885 MB / 0.7914 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001583/0.3632, allocations: 0.5526 MB / 0.792 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002525/0.3658, allocations: 2.194 MB / 0.7941 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003353/0.3661, allocations: 161.9 kB / 0.7943 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008654/0.367, allocations: 0.5136 MB / 0.7948 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009178/0.3679, allocations: 0.6811 MB / 0.7954 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001207/0.368, allocations: 48 kB / 0.7955 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000836/0.3689, allocations: 395.4 kB / 0.7958 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005377/0.3694, allocations: 434.6 kB / 0.7963 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0007123/0.3702, allocations: 0.5632 MB / 0.7968 GB, free: 172 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001311/0.3715, allocations: 1.103 MB / 0.7979 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.3715, allocations: 0 / 0.7979 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3715, allocations: 3.938 kB / 0.7979 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.361e-05/0.3715, allocations: 0 / 0.7979 GB, free: 15.06 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.003568/0.3751, allocations: 1.612 MB / 0.7995 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.3752, allocations: 12.03 kB / 0.7995 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00023/0.3754, allocations: 131.3 kB / 0.7996 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001359/0.3768, allocations: 0.8114 MB / 0.8004 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.469e-05/0.3768, allocations: 45.38 kB / 0.8004 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.3769, allocations: 60.38 kB / 0.8005 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009483/0.3779, allocations: 0.6178 MB / 0.8011 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.3779, allocations: 0 / 0.8011 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.743e-05/0.378, allocations: 20 kB / 0.8011 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.378, allocations: 19.94 kB / 0.8011 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007768/0.3788, allocations: 0.5582 MB / 0.8017 GB, free: 11.05 MB / 0.6231 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.004923/0.3837, allocations: 3.278 MB / 0.8049 GB, free: 7.527 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001519/0.3852, allocations: 0.8439 MB / 0.8057 GB, free: 6.676 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005113/0.3858, allocations: 372.4 kB / 0.8061 GB, free: 6.312 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000102/0.3859, allocations: 28.2 kB / 0.8061 GB, free: 6.285 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.688e-05/0.3859, allocations: 38.94 kB / 0.8061 GB, free: 6.238 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=45): time 2.665e-06/0.386, allocations: 4 kB / 0.8061 GB, free: 6.234 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45): time 0.002181/0.3881, allocations: 1.174 MB / 0.8073 GB, free: 5.031 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.032e-05/0.3882, allocations: 59.41 kB / 0.8073 GB, free: 4.961 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001726/0.3899, allocations: 1.224 MB / 0.8085 GB, free: 3.727 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.125e-05/0.39, allocations: 37.7 kB / 0.8086 GB, free: 3.684 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004295/0.3904, allocations: 480.6 kB / 0.809 GB, free: 3.207 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002211/0.3907, allocations: 165.6 kB / 0.8092 GB, free: 3.043 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003115/0.391, allocations: 210.5 kB / 0.8094 GB, free: 2.832 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.3912, allocations: 349.9 kB / 0.8097 GB, free: 2.484 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008365/0.392, allocations: 0.6465 MB / 0.8103 GB, free: 1.836 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001255/0.3933, allocations: 0.9669 MB / 0.8113 GB, free: 0.7227 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002036/0.3953, allocations: 1.59 MB / 0.8128 GB, free: 14.99 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-06/0.3953, allocations: 8 kB / 0.8129 GB, free: 14.98 MB / 0.6388 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002672/0.398, allocations: 1.783 MB / 0.8146 GB, free: 13.19 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 3.264e-05/0.3981, allocations: 14.66 kB / 0.8146 GB, free: 13.18 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.27e-05/0.3981, allocations: 12 kB / 0.8146 GB, free: 13.17 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002513/0.3984, allocations: 48.83 kB / 0.8147 GB, free: 13.12 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/0.3995, allocations: 263.6 kB / 0.8149 GB, free: 12.86 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005255/0.4048, allocations: 6.729 MB / 0.8215 GB, free: 5.809 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001605/0.4065, allocations: 130.6 kB / 0.8216 GB, free: 5.68 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.298e-05/0.4065, allocations: 40 kB / 0.8217 GB, free: 5.641 MB / 0.6388 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (104): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 8 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 8 systems {1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006007/0.4071, allocations: 309.4 kB / 0.8219 GB, free: 5.328 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001998/0.4074, allocations: 114.6 kB / 0.8221 GB, free: 5.215 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001351/0.4087, allocations: 0.8386 MB / 0.8229 GB, free: 4.367 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.557e-06/0.4087, allocations: 11.94 kB / 0.8229 GB, free: 4.355 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.4087, allocations: 3.938 kB / 0.8229 GB, free: 4.352 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.126e-06/0.4088, allocations: 3.984 kB / 0.8229 GB, free: 4.348 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001234/0.41, allocations: 0.9112 MB / 0.8238 GB, free: 3.391 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.41, allocations: 0 / 0.8238 GB, free: 3.391 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005276/0.4105, allocations: 119.8 kB / 0.8239 GB, free: 3.273 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001372/0.4107, allocations: 32.77 kB / 0.8239 GB, free: 3.238 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.734e-05/0.4108, allocations: 19.98 kB / 0.8239 GB, free: 3.219 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001177/0.4119, allocations: 1.327 MB / 0.8252 GB, free: 1.754 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4119, allocations: 3.938 kB / 0.8252 GB, free: 1.75 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001739/0.4137, allocations: 1.37 MB / 0.8266 GB, free: 368 kB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000447/0.4142, allocations: 259.5 kB / 0.8268 GB, free: 88 kB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/0.4143, allocations: 15.98 kB / 0.8268 GB, free: 72 kB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005666/0.4149, allocations: 27.97 kB / 0.8269 GB, free: 44 kB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.989e-05/0.415, allocations: 27.95 kB / 0.8269 GB, free: 16 kB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-05/0.415, allocations: 16 kB / 0.8269 GB, free: 0 / 0.6388 GB Notification: Performance of sorting global known variables: time 0.001224/0.4162, allocations: 0.8232 MB / 0.8277 GB, free: 15.17 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.405e-06/0.4162, allocations: 0 / 0.8277 GB, free: 15.17 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001233/0.4175, allocations: 371.6 kB / 0.8281 GB, free: 14.81 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (conPCM.u[1],conPCM.u[2],conPCM.u[3],conPCM.u[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2],conPCM2.u[1],conPCM2.u[2],conPCM2.u[3],conPCM2.u[4]) * 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 (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006216/0.4181, allocations: 274.9 kB / 0.8283 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002813/0.4209, allocations: 1.507 MB / 0.8298 GB, free: 13 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.421, allocations: 0 / 0.8298 GB, free: 13 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000636/0.4216, allocations: 474.3 kB / 0.8303 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001189/0.4228, allocations: 221.5 kB / 0.8305 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004165/0.427, allocations: 2.913 MB / 0.8333 GB, free: 9.367 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008114/0.4278, allocations: 1.098 MB / 0.8344 GB, free: 8.242 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002526/0.4281, allocations: 71.42 kB / 0.8345 GB, free: 8.176 MB / 0.6544 GB Notification: Performance of SimCode: time 2.602e-05/0.4281, allocations: 0 / 0.8345 GB, free: 8.176 MB / 0.6544 GB Notification: Performance of Templates: time 0.04299/0.4711, allocations: 30.71 MB / 0.8645 GB, free: 9.5 MB / 0.6856 GB make -j1 -f Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.makefile make -j1 -f Buildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCMCalcHelperMain.o OMCppBuildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCMCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCMCalcHelperMain.o] Error 1