Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.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.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002057/0.002057, allocations: 96.14 kB / 15.87 MB, free: 16 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.002559/0.002559, allocations: 192.1 kB / 16.79 MB, free: 6.812 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.866/1.866, allocations: 205.1 MB / 222.6 MB, free: 4.988 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.92/1.92, allocations: 292.3 MB / 0.5491 GB, free: 13.69 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.001598/0.001598, allocations: 66.2 kB / 0.6714 GB, free: 26.45 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3169, allocations: 114.6 MB / 0.7833 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.06001/0.377, allocations: 55.66 MB / 0.8377 GB, free: 6.211 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02983/0.4069, allocations: 17.85 MB / 0.8551 GB, free: 4.316 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005794/0.4127, allocations: 67.62 kB / 0.8552 GB, free: 4.25 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004114/0.417, allocations: 0.7302 MB / 0.8559 GB, free: 3.516 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00895/0.426, allocations: 2.294 MB / 0.8581 GB, free: 1.211 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004659/0.4307, allocations: 1.385 MB / 0.8595 GB, free: 15.84 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.02845/0.4591, allocations: 27.68 MB / 0.8865 GB, free: 4.086 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01349/0.4727, allocations: 8.685 MB / 0.895 GB, free: 11.28 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01347/0.4862, allocations: 5.529 MB / 0.9004 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01243/0.4987, allocations: 6.185 MB / 0.9064 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.003182/0.5019, allocations: 472 kB / 0.9069 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008897/0.5108, allocations: 1.155 MB / 0.908 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.005003/0.5159, allocations: 1.787 MB / 0.9097 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.01165/0.5276, allocations: 4.098 MB / 0.9137 GB, free: 7.992 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.6306/1.158, allocations: 10.58 MB / 0.9241 GB, free: 44.06 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.616e-06/1.158, allocations: 1.094 kB / 0.9241 GB, free: 44.06 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.613e-06/1.158, allocations: 0 / 0.9241 GB, free: 44.06 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0005484/1.159, allocations: 0 / 0.9241 GB, free: 44.06 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1564 * Number of variables: 1564 Notification: Performance of Generate backend data structure: time 0.03533/1.194, allocations: 8.446 MB / 0.9323 GB, free: 41.29 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.586e-05/1.194, allocations: 10.89 kB / 0.9323 GB, free: 41.29 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006862/1.201, allocations: 0.8491 MB / 0.9332 GB, free: 40.89 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01727/1.218, allocations: 6.491 MB / 0.9395 GB, free: 39.94 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007377/1.219, allocations: 461.9 kB / 0.9399 GB, free: 39.92 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003999/1.223, allocations: 0.5954 MB / 0.9405 GB, free: 39.91 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04001/1.263, allocations: 9.033 MB / 0.9493 GB, free: 38.95 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003331/1.264, allocations: 18 kB / 0.9494 GB, free: 38.95 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003086/1.267, allocations: 261.5 kB / 0.9496 GB, free: 38.95 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003325/1.267, allocations: 183.3 kB / 0.9498 GB, free: 38.95 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02293/1.29, allocations: 7.449 MB / 0.9571 GB, free: 38.9 MB / 0.7325 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.07027/1.36, allocations: 35.89 MB / 0.9921 GB, free: 18.63 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008264/1.369, allocations: 4.275 MB / 0.9963 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005986/1.375, allocations: 3.306 MB / 0.9995 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001526/1.376, allocations: 0.9546 MB / 1 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005589/1.382, allocations: 2.381 MB / 1.003 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004713/1.387, allocations: 455.2 kB / 1.003 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=317): time 3.144e-05/1.387, allocations: 0 / 1.003 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of matching and sorting (n=317): time 0.01628/1.403, allocations: 7.088 MB / 1.01 GB, free: 8.43 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.316e-05/1.403, allocations: 86.98 kB / 1.01 GB, free: 8.359 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0126/1.416, allocations: 5.378 MB / 1.015 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.001301/1.417, allocations: 89.7 kB / 1.016 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.004166/1.421, allocations: 3.175 MB / 1.019 GB, free: 1.137 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.002499/1.424, allocations: 1.114 MB / 1.02 GB, free: 32 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001738/1.426, allocations: 0.8549 MB / 1.021 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001382/1.426, allocations: 301.1 kB / 1.021 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003745/1.429, allocations: 2.153 MB / 1.023 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005088/1.435, allocations: 3.692 MB / 1.027 GB, free: 8.344 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009025/1.444, allocations: 6.305 MB / 1.033 GB, free: 1.527 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-05/1.444, allocations: 16 kB / 1.033 GB, free: 1.512 MB / 0.7481 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01455/1.458, allocations: 6.739 MB / 1.039 GB, free: 11.02 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001053/1.458, allocations: 57.69 kB / 1.039 GB, free: 10.96 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001117/1.459, allocations: 52.12 kB / 1.039 GB, free: 10.91 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001199/1.46, allocations: 433.2 kB / 1.04 GB, free: 10.48 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003699/1.463, allocations: 1.003 MB / 1.041 GB, free: 9.551 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006498/1.47, allocations: 5.264 MB / 1.046 GB, free: 4.074 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007409/1.477, allocations: 474.7 kB / 1.046 GB, free: 3.609 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001153/1.479, allocations: 216 kB / 1.047 GB, free: 3.398 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 222 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,dHTan.local_reset,dHTanEnh.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (540): * Single equations (assignments): 537 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007212/1.486, allocations: 2.46 MB / 1.049 GB, free: 1 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002887/1.489, allocations: 0.525 MB / 1.05 GB, free: 480 kB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01343/1.502, allocations: 5.243 MB / 1.055 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.77e-05/1.502, allocations: 31.98 kB / 1.055 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.413e-05/1.502, allocations: 8 kB / 1.055 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008412/1.511, allocations: 4.529 MB / 1.059 GB, free: 6.586 MB / 0.7794 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 postOpt removeSimpleEquations (simulation): time 0.03346/1.544, allocations: 11.93 MB / 1.071 GB, free: 10.59 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-05/1.544, allocations: 3.938 kB / 1.071 GB, free: 10.58 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003205/1.547, allocations: 0.6461 MB / 1.071 GB, free: 9.965 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001078/1.549, allocations: 369.3 kB / 1.072 GB, free: 9.598 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005985/1.549, allocations: 83.95 kB / 1.072 GB, free: 9.516 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006972/1.556, allocations: 5.19 MB / 1.077 GB, free: 4.102 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.551e-05/1.556, allocations: 7.938 kB / 1.077 GB, free: 4.094 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02174/1.578, allocations: 7.604 MB / 1.084 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005627/1.584, allocations: 1.131 MB / 1.085 GB, free: 11.26 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002702/1.586, allocations: 63.98 kB / 1.085 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006632/1.593, allocations: 469.2 kB / 1.086 GB, free: 10.74 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007842/1.594, allocations: 201.4 kB / 1.086 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007804/1.595, allocations: 143.9 kB / 1.086 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.01169/1.606, allocations: 3.746 MB / 1.09 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.6e-07/1.606, allocations: 0 / 1.09 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0116/1.618, allocations: 1.976 MB / 1.092 GB, free: 4.699 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (tanEnh.vol[1].dynBal.U,tanEnh.vol[2].dynBal.U,tanEnh.vol[3].dynBal.U,tanEnh.vol[4].dynBal.U,tanEnh.vol[5].dynBal.U,tanEnh.vol[6].dynBal.U,tanEnh.vol[7].dynBal.U,tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.vol[5].dynBal.U,tan.vol[6].dynBal.U,tan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (296): * Single equations (assignments): 289 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002278/1.62, allocations: 487.5 kB / 1.092 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.01256/1.633, allocations: 5.37 MB / 1.098 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-05/1.633, allocations: 0 / 1.098 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.00532/1.638, allocations: 2.507 MB / 1.1 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02541/1.664, allocations: 3.237 MB / 1.103 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04197/1.706, allocations: 16.39 MB / 1.119 GB, free: 8.961 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006279/1.712, allocations: 4.532 MB / 1.124 GB, free: 4.398 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002645/1.715, allocations: 478.8 kB / 1.124 GB, free: 3.934 MB / 0.8419 GB Notification: Performance of SimCode: time 1.783e-06/1.715, allocations: 0 / 1.124 GB, free: 3.934 MB / 0.8419 GB Notification: Performance of Templates: time 0.8801/2.595, allocations: 184.3 MB / 1.304 GB, free: 371.7 MB / 0.9981 GB make -j1 -f Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile make -j1 -f Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.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.Fluid.Storage.Validation.StratifiedLoadingUnloadingCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloadingCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloadingCalcHelperMain.o] Error 1