Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.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.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 100.8 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.001648/0.001648, allocations: 175.3 kB / 16.58 MB, free: 6.141 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.445/1.445, allocations: 223.3 MB / 240.6 MB, free: 5.434 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.535/2.535, allocations: 390.5 MB / 0.6662 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005116/0.0005116, allocations: 12 kB / 0.8154 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8522/0.8528, allocations: 142.3 MB / 0.9544 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.001598/0.8544, allocations: 1.164 MB / 0.9556 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003938/0.8548, allocations: 169.2 kB / 0.9557 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.642e-05/0.8549, allocations: 0 / 0.9557 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.639e-05/0.8549, allocations: 5.578 kB / 0.9557 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002404/0.8552, allocations: 24.86 kB / 0.9557 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001877/0.8554, allocations: 51.86 kB / 0.9558 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.479e-05/0.8554, allocations: 46.84 kB / 0.9558 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.775e-05/0.8555, allocations: 10.62 kB / 0.9559 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.921e-05/0.8556, allocations: 19.23 kB / 0.9559 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.36e-05/0.8557, allocations: 21.97 kB / 0.9559 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.8557, allocations: 2.312 kB / 0.9559 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.554e-05/0.8558, allocations: 3.312 kB / 0.9559 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.43e-05/0.8558, allocations: 9.453 kB / 0.9559 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.879e-05/0.8558, allocations: 29.39 kB / 0.9559 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.806e-05/0.8559, allocations: 39.11 kB / 0.956 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.8559, allocations: 0.9375 kB / 0.956 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.054e-06/0.8559, allocations: 4 kB / 0.956 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.8559, allocations: 0 / 0.956 GB, free: 6.875 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.000496/0.8564, allocations: 343.2 kB / 0.9563 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.8565, allocations: 8.844 kB / 0.9563 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.956e-05/0.8565, allocations: 10.48 kB / 0.9563 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.926e-05/0.8566, allocations: 169.5 kB / 0.9565 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.8567, allocations: 5.219 kB / 0.9565 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/0.8567, allocations: 2.031 kB / 0.9565 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/0.8568, allocations: 75.31 kB / 0.9566 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.8568, allocations: 0 / 0.9566 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.8569, allocations: 0 / 0.9566 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.8569, allocations: 1.219 kB / 0.9566 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.252e-05/0.8569, allocations: 28.33 kB / 0.9566 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003595/0.8573, allocations: 273.5 kB / 0.9568 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.169e-05/0.8574, allocations: 40.03 kB / 0.9569 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.557e-05/0.8575, allocations: 19.94 kB / 0.9569 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/0.8575, allocations: 0 / 0.9569 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000165/0.8576, allocations: 75.66 kB / 0.957 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.8576, allocations: 0 / 0.957 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0002003/0.8579, allocations: 74.22 kB / 0.957 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/0.8579, allocations: 107.9 kB / 0.9572 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.667e-05/0.858, allocations: 101.5 kB / 0.9572 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.858, allocations: 30.8 kB / 0.9573 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.265e-05/0.858, allocations: 89.34 kB / 0.9574 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.622e-05/0.8581, allocations: 6.031 kB / 0.9574 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.406e-06/0.8581, allocations: 0 / 0.9574 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.89e-05/0.8581, allocations: 315.9 kB / 0.9577 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.671e-05/0.8582, allocations: 9.781 kB / 0.9577 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.156e-05/0.8582, allocations: 39.56 kB / 0.9577 GB, free: 5 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.442e-05/0.8582, allocations: 10.47 kB / 0.9577 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.8583, allocations: 0 / 0.9577 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.118e-05/0.8583, allocations: 63.53 kB / 0.9578 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.8584, allocations: 6.062 kB / 0.9578 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.8584, allocations: 3.953 kB / 0.9578 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.8584, allocations: 0 / 0.9578 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.729e-05/0.8585, allocations: 9.766 kB / 0.9578 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.403e-06/0.8585, allocations: 5.188 kB / 0.9578 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.917e-05/0.8586, allocations: 11.89 kB / 0.9578 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.8586, allocations: 3.938 kB / 0.9578 GB, free: 4.926 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 6.661e-05/0.8587, allocations: 117.9 kB / 0.9579 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.309e-05/0.8587, allocations: 2.312 kB / 0.9579 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.234e-05/0.8587, allocations: 4.75 kB / 0.9579 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.8587, allocations: 3.953 kB / 0.9579 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.8587, allocations: 5.156 kB / 0.958 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.8587, allocations: 0 / 0.958 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.193e-05/0.8588, allocations: 170.6 kB / 0.9581 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.8589, allocations: 0 / 0.9581 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.092e-05/0.8589, allocations: 2.281 kB / 0.9581 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.8589, allocations: 1.031 kB / 0.9581 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.8589, allocations: 0.9688 kB / 0.9581 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.8589, allocations: 448 / 0.9581 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.8589, allocations: 4.984 kB / 0.9581 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001228/0.859, allocations: 97.73 kB / 0.9582 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.899e-05/0.8591, allocations: 93.03 kB / 0.9583 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.178e-05/0.8591, allocations: 5.25 kB / 0.9583 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.589e-05/0.8592, allocations: 12.92 kB / 0.9583 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.446e-05/0.8593, allocations: 6.734 kB / 0.9583 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.8593, allocations: 5.656 kB / 0.9583 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.011e-05/0.8593, allocations: 84.62 kB / 0.9584 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8593, allocations: 0 / 0.9584 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001894/0.8595, allocations: 13.66 kB / 0.9584 GB, free: 4.281 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.0001073/0.8596, allocations: 111.2 kB / 0.9585 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001194/0.8597, allocations: 29.83 kB / 0.9586 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.8598, allocations: 0 / 0.9586 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.937e-05/0.8598, allocations: 24.73 kB / 0.9586 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001513/0.86, allocations: 2.406 kB / 0.9586 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002896/0.8603, allocations: 161 kB / 0.9587 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001243/0.8604, allocations: 0.6838 MB / 0.9594 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.813e-05/0.8604, allocations: 10.38 kB / 0.9594 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.8604, allocations: 0 / 0.9594 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of Templates: time 0.002584/0.863, allocations: 0.8098 MB / 0.9602 GB, free: 2.875 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.makefile make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.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.ConvertTimePositiveStartCalcHelperMain.o OMCppBuildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStartCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStartCalcHelperMain.o] Error 1