Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008292/0.0008292, allocations: 102.6 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.0008868/0.0008867, allocations: 173.9 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.447/1.447, 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 9.1.2-maint.9.1.x/package.mo): time 2.552/2.552, allocations: 390.4 MB / 0.6662 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003011/0.0003011, allocations: 12 kB / 0.8154 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.86/0.8603, allocations: 142.3 MB / 0.9544 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.001651/0.862, allocations: 1.166 MB / 0.9555 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004059/0.8624, allocations: 180.5 kB / 0.9557 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.813e-05/0.8625, allocations: 1.031 kB / 0.9557 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.697e-05/0.8625, allocations: 0 / 0.9557 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002473/0.8627, allocations: 24.36 kB / 0.9557 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001898/0.8629, allocations: 48.95 kB / 0.9558 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.292e-05/0.863, allocations: 47.44 kB / 0.9558 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.923e-05/0.8631, allocations: 7.438 kB / 0.9558 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.379e-05/0.8632, allocations: 27.22 kB / 0.9559 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.894e-05/0.8633, allocations: 13.77 kB / 0.9559 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.331e-05/0.8633, allocations: 2.719 kB / 0.9559 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.559e-05/0.8633, allocations: 2.25 kB / 0.9559 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.367e-05/0.8634, allocations: 14.48 kB / 0.9559 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.232e-05/0.8634, allocations: 29.2 kB / 0.9559 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.396e-05/0.8635, allocations: 38.95 kB / 0.956 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.8635, allocations: 0 / 0.956 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.893e-06/0.8635, allocations: 0 / 0.956 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.566e-06/0.8635, allocations: 5.562 kB / 0.956 GB, free: 6.844 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004619/0.864, allocations: 341.4 kB / 0.9563 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.864, allocations: 9.125 kB / 0.9563 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.561e-05/0.8641, allocations: 6.016 kB / 0.9563 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.8642, allocations: 173.8 kB / 0.9565 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/0.8643, allocations: 1.844 kB / 0.9565 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.279e-05/0.8643, allocations: 6.219 kB / 0.9565 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.8644, allocations: 74.19 kB / 0.9566 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.8644, allocations: 0 / 0.9566 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.856e-05/0.8645, allocations: 0.9375 kB / 0.9566 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.866e-06/0.8645, allocations: 0.9062 kB / 0.9566 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.071e-05/0.8646, allocations: 21.22 kB / 0.9566 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003496/0.8649, allocations: 277 kB / 0.9568 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.558e-05/0.865, allocations: 39.64 kB / 0.9569 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.46e-05/0.8651, allocations: 18.56 kB / 0.9569 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.144e-05/0.8651, allocations: 1.344 kB / 0.9569 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00016/0.8652, allocations: 65.94 kB / 0.957 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.8652, allocations: 0 / 0.957 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0002061/0.8655, allocations: 79.2 kB / 0.957 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/0.8655, allocations: 108.2 kB / 0.9571 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.547e-05/0.8656, allocations: 105.2 kB / 0.9572 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.8656, allocations: 25.7 kB / 0.9573 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.4e-05/0.8656, allocations: 88.09 kB / 0.9574 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.606e-05/0.8657, allocations: 8.875 kB / 0.9574 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-06/0.8657, allocations: 1.188 kB / 0.9574 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.151e-05/0.8657, allocations: 319.9 kB / 0.9577 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.67e-05/0.8658, allocations: 8.391 kB / 0.9577 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.196e-05/0.8658, allocations: 41.39 kB / 0.9577 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.154e-05/0.8659, allocations: 9.875 kB / 0.9577 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.8659, allocations: 0 / 0.9577 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.927e-05/0.866, allocations: 58.81 kB / 0.9578 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.866, allocations: 5.406 kB / 0.9578 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.866, allocations: 5.266 kB / 0.9578 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.866, allocations: 0 / 0.9578 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.949e-05/0.8661, allocations: 9.453 kB / 0.9578 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.8661, allocations: 1.5 kB / 0.9578 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001039/0.8662, allocations: 19.02 kB / 0.9578 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/0.8662, allocations: 1.125 kB / 0.9578 GB, free: 4.902 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.303e-05/0.8663, allocations: 117.1 kB / 0.9579 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.947e-05/0.8663, allocations: 10.83 kB / 0.9579 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.178e-05/0.8664, allocations: 3.5 kB / 0.9579 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.8664, allocations: 5.422 kB / 0.9579 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.8664, allocations: 0 / 0.9579 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.8664, allocations: 5.25 kB / 0.958 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001065/0.8665, allocations: 173.4 kB / 0.9581 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.8665, allocations: 0 / 0.9581 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.217e-05/0.8665, allocations: 3.5 kB / 0.9581 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.8665, allocations: 0 / 0.9581 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.8666, allocations: 0.9375 kB / 0.9581 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.8666, allocations: 5.234 kB / 0.9581 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.8666, allocations: 3.953 kB / 0.9581 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.8667, allocations: 90.56 kB / 0.9582 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.463e-05/0.8668, allocations: 87.94 kB / 0.9583 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.405e-05/0.8668, allocations: 5.25 kB / 0.9583 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.819e-05/0.8669, allocations: 18.11 kB / 0.9583 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.487e-05/0.8669, allocations: 10.84 kB / 0.9583 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.867, allocations: 5.438 kB / 0.9583 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.252e-05/0.867, allocations: 83.56 kB / 0.9584 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.867, allocations: 1.5 kB / 0.9584 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001978/0.8672, allocations: 8.844 kB / 0.9584 GB, free: 4.25 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000112/0.8673, allocations: 102.6 kB / 0.9585 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001192/0.8675, allocations: 29.3 kB / 0.9586 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.8675, allocations: 1.031 kB / 0.9586 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.012e-05/0.8675, allocations: 20.83 kB / 0.9586 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001604/0.8677, allocations: 6.812 kB / 0.9586 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003112/0.868, allocations: 160.3 kB / 0.9587 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001255/0.8681, allocations: 0.6883 MB / 0.9594 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.899e-05/0.8682, allocations: 9.844 kB / 0.9594 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.8682, allocations: 0 / 0.9594 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of Templates: time 0.002409/0.8706, allocations: 0.808 MB / 0.9602 GB, free: 2.844 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.makefile make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeCalcHelperMain.o OMCppBuildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeCalcHelperMain.o] Error 1