Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegStep.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.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegStep") translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007679/0.0007679, allocations: 99.98 kB / 15.71 MB, free: 452 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.001047/0.001047, allocations: 176.4 kB / 16.58 MB, free: 6.422 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.527/1.527, allocations: 223.2 MB / 240.6 MB, free: 5.391 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.532/2.532, allocations: 390.5 MB / 0.6662 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003581/0.0003581, allocations: 8 kB / 0.8154 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9119/0.9123, allocations: 142.3 MB / 0.9544 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.0007335/0.9131, allocations: 317.4 kB / 0.9547 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002347/0.9133, allocations: 57.84 kB / 0.9548 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.275e-05/0.9133, allocations: 1.438 kB / 0.9548 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.238e-05/0.9134, allocations: 0 / 0.9548 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.072e-06/0.9134, allocations: 0 / 0.9548 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002125/0.9136, allocations: 15.77 kB / 0.9548 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.878e-05/0.9136, allocations: 1.219 kB / 0.9548 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.546e-05/0.9137, allocations: 0 / 0.9548 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.36e-05/0.9137, allocations: 0.9062 kB / 0.9548 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.783e-05/0.9137, allocations: 1.625 kB / 0.9548 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.097e-06/0.9138, allocations: 4 kB / 0.9548 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.007e-05/0.9139, allocations: 26.52 kB / 0.9548 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.374e-06/0.9139, allocations: 0 / 0.9548 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.959e-05/0.9139, allocations: 25.7 kB / 0.9549 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.27e-05/0.914, allocations: 5.5 kB / 0.9549 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.914, allocations: 0 / 0.9549 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.534e-06/0.914, allocations: 0 / 0.9549 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.047e-06/0.914, allocations: 0 / 0.9549 GB, free: 7.809 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000205/0.9142, allocations: 314.1 kB / 0.9552 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.9143, allocations: 8.812 kB / 0.9552 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002441/0.9145, allocations: 29.02 kB / 0.9552 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.653e-05/0.9146, allocations: 159.1 kB / 0.9553 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.689e-06/0.9146, allocations: 1.469 kB / 0.9553 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.848e-06/0.9146, allocations: 0 / 0.9553 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.9147, allocations: 41.73 kB / 0.9554 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.9147, allocations: 0 / 0.9554 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.9148, allocations: 1.281 kB / 0.9554 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.9148, allocations: 4 kB / 0.9554 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.544e-05/0.9148, allocations: 13.41 kB / 0.9554 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001075/0.915, allocations: 146.9 kB / 0.9555 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.319e-05/0.915, allocations: 26.91 kB / 0.9556 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.049e-05/0.9151, allocations: 12.17 kB / 0.9556 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.9151, allocations: 0 / 0.9556 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.845e-05/0.9151, allocations: 36.09 kB / 0.9556 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 8.01e-07/0.9152, allocations: 0 / 0.9556 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0002125/0.9154, allocations: 44.05 kB / 0.9557 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.348e-05/0.9154, allocations: 52.78 kB / 0.9557 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.202e-05/0.9154, allocations: 93.86 kB / 0.9558 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.098e-06/0.9154, allocations: 25.7 kB / 0.9558 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.302e-05/0.9155, allocations: 89.42 kB / 0.9559 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.641e-05/0.9155, allocations: 3.906 kB / 0.9559 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-06/0.9155, allocations: 0 / 0.9559 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.121e-05/0.9156, allocations: 316.1 kB / 0.9562 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.875e-05/0.9156, allocations: 6.266 kB / 0.9562 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.069e-05/0.9156, allocations: 7.344 kB / 0.9562 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.117e-05/0.9157, allocations: 7.422 kB / 0.9562 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.9157, allocations: 4.062 kB / 0.9562 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.354e-05/0.9158, allocations: 39.94 kB / 0.9563 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.9158, allocations: 5.031 kB / 0.9563 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.9158, allocations: 0 / 0.9563 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.9158, allocations: 0 / 0.9563 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.534e-05/0.9159, allocations: 7.734 kB / 0.9563 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.9159, allocations: 0 / 0.9563 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.926e-05/0.9159, allocations: 5.281 kB / 0.9563 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.984e-06/0.916, allocations: 1.312 kB / 0.9563 GB, free: 6.207 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 4.882e-05/0.916, allocations: 115.1 kB / 0.9564 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.271e-06/0.916, allocations: 0 / 0.9564 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.682e-05/0.9161, allocations: 4.406 kB / 0.9564 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.9161, allocations: 3.984 kB / 0.9564 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.9161, allocations: 0 / 0.9564 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.9161, allocations: 1.125 kB / 0.9564 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.824e-05/0.9161, allocations: 146.9 kB / 0.9566 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.9161, allocations: 3.938 kB / 0.9566 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.759e-05/0.9162, allocations: 10.55 kB / 0.9566 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.9162, allocations: 1.312 kB / 0.9566 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.9162, allocations: 0 / 0.9566 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.9162, allocations: 7.938 kB / 0.9566 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.9162, allocations: 1.25 kB / 0.9566 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001096/0.9163, allocations: 67.08 kB / 0.9566 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.876e-05/0.9164, allocations: 81.09 kB / 0.9567 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.9164, allocations: 5.531 kB / 0.9567 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.787e-05/0.9164, allocations: 0.8438 kB / 0.9567 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.459e-05/0.9164, allocations: 1.406 kB / 0.9567 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.9164, allocations: 3.984 kB / 0.9567 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.383e-05/0.9165, allocations: 75.28 kB / 0.9568 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9165, allocations: 1.406 kB / 0.9568 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001698/0.9166, allocations: 0 / 0.9568 GB, free: 5.613 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 0.0001175/0.9168, allocations: 101.7 kB / 0.9569 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001239/0.9169, allocations: 19.89 kB / 0.9569 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.9169, allocations: 0 / 0.9569 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.645e-05/0.9169, allocations: 8.391 kB / 0.9569 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001258/0.9171, allocations: 9.859 kB / 0.9569 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002189/0.9173, allocations: 101.2 kB / 0.957 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001117/0.9174, allocations: 0.6749 MB / 0.9577 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.525e-05/0.9174, allocations: 11.42 kB / 0.9577 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.9175, allocations: 0.9688 kB / 0.9577 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of Templates: time 0.001512/0.919, allocations: 383.5 kB / 0.9581 GB, free: 4.488 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegStep.makefile make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegStep.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.Utilities.Math.Functions.Examples.RegStepCalcHelperMain.o OMCppBuildings_9_Buildings.Utilities.Math.Functions.Examples.RegStepCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Utilities.Math.Functions.Examples.RegStepCalcHelperMain.o] Error 1