Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.TrapezoidalIntegration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 102.7 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.00174/0.00174, allocations: 173.8 kB / 16.58 MB, free: 6.402 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.492/1.492, 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.615/2.615, allocations: 390.5 MB / 0.6662 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003694/0.0003694, allocations: 12 kB / 0.8154 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7899/0.7903, allocations: 142.3 MB / 0.9544 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0007351/0.7911, allocations: 317.7 kB / 0.9547 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001939/0.7913, allocations: 36.81 kB / 0.9548 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.09e-05/0.7913, allocations: 0 / 0.9548 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.351e-05/0.7914, allocations: 1.25 kB / 0.9548 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.212e-05/0.7914, allocations: 1.219 kB / 0.9548 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000184/0.7916, allocations: 10.52 kB / 0.9548 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.594e-05/0.7916, allocations: 2.594 kB / 0.9548 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.19e-05/0.7917, allocations: 1.312 kB / 0.9548 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.502e-05/0.7917, allocations: 9.281 kB / 0.9548 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.023e-05/0.7918, allocations: 6.281 kB / 0.9548 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.7918, allocations: 0 / 0.9548 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.99e-05/0.7919, allocations: 23.94 kB / 0.9548 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.692e-05/0.7919, allocations: 6.484 kB / 0.9548 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.306e-05/0.792, allocations: 27.02 kB / 0.9548 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.963e-05/0.792, allocations: 11.67 kB / 0.9549 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.792, allocations: 0 / 0.9549 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.814e-06/0.792, allocations: 0 / 0.9549 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.7921, allocations: 0 / 0.9549 GB, free: 7.734 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0002561/0.7923, allocations: 351.7 kB / 0.9552 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.7924, allocations: 12.69 kB / 0.9552 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.115e-05/0.7924, allocations: 9.047 kB / 0.9552 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.054e-05/0.7925, allocations: 162.6 kB / 0.9554 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.7925, allocations: 3.938 kB / 0.9554 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.418e-06/0.7925, allocations: 1.625 kB / 0.9554 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/0.7926, allocations: 55 kB / 0.9554 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.7927, allocations: 0 / 0.9554 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.7927, allocations: 0 / 0.9554 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.254e-05/0.7927, allocations: 8.391 kB / 0.9554 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.077e-05/0.7928, allocations: 31.91 kB / 0.9555 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002938/0.7931, allocations: 262.8 kB / 0.9557 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.461e-05/0.7931, allocations: 21.89 kB / 0.9557 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.647e-05/0.7931, allocations: 14.27 kB / 0.9558 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.68e-06/0.7931, allocations: 0 / 0.9558 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.7932, allocations: 31.97 kB / 0.9558 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 8.11e-07/0.7932, allocations: 4 kB / 0.9558 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.000164/0.7934, allocations: 66.06 kB / 0.9558 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/0.7934, allocations: 82.25 kB / 0.9559 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.447e-05/0.7935, allocations: 117.8 kB / 0.956 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.908e-06/0.7935, allocations: 29.7 kB / 0.9561 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.428e-05/0.7935, allocations: 94.39 kB / 0.9562 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.041e-05/0.7935, allocations: 10.34 kB / 0.9562 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.558e-06/0.7936, allocations: 4 kB / 0.9562 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.816e-05/0.7936, allocations: 320.3 kB / 0.9565 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.48e-05/0.7937, allocations: 11.03 kB / 0.9565 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.177e-05/0.7937, allocations: 57.3 kB / 0.9565 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.013e-05/0.7938, allocations: 49 kB / 0.9566 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.7938, allocations: 1.094 kB / 0.9566 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001412/0.7939, allocations: 124.1 kB / 0.9567 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.012e-05/0.794, allocations: 31.3 kB / 0.9567 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.794, allocations: 6.125 kB / 0.9567 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.794, allocations: 2.312 kB / 0.9567 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.027e-05/0.7941, allocations: 18.98 kB / 0.9568 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.7941, allocations: 2.562 kB / 0.9568 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.387e-05/0.7942, allocations: 8.031 kB / 0.9568 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.84e-05/0.7942, allocations: 4.844 kB / 0.9568 GB, free: 5.699 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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 8.169e-05/0.7943, allocations: 145.2 kB / 0.9569 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.769e-05/0.7943, allocations: 6.203 kB / 0.9569 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.541e-05/0.7944, allocations: 4.844 kB / 0.9569 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.7944, allocations: 4 kB / 0.9569 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.7944, allocations: 1.469 kB / 0.9569 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.215e-06/0.7944, allocations: 0 / 0.9569 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001292/0.7945, allocations: 157.9 kB / 0.9571 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.7945, allocations: 0 / 0.9571 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.278e-06/0.7945, allocations: 5.25 kB / 0.9571 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.7945, allocations: 0 / 0.9571 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.7945, allocations: 9.453 kB / 0.9571 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.7946, allocations: 0 / 0.9571 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.7946, allocations: 0 / 0.9571 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001065/0.7947, allocations: 166 kB / 0.9573 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.245e-05/0.7947, allocations: 82.48 kB / 0.9573 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.7947, allocations: 0 / 0.9573 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.332e-05/0.7948, allocations: 9.312 kB / 0.9573 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.823e-05/0.7948, allocations: 5.484 kB / 0.9574 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.7948, allocations: 2.062 kB / 0.9574 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.236e-05/0.7948, allocations: 87.06 kB / 0.9574 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7949, allocations: 4.031 kB / 0.9574 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002467/0.7951, allocations: 13.14 kB / 0.9575 GB, free: 4.953 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): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001788/0.7953, allocations: 102.2 kB / 0.9575 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001259/0.7954, allocations: 91.27 kB / 0.9576 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.7954, allocations: 0 / 0.9576 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.478e-05/0.7955, allocations: 56.72 kB / 0.9577 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002045/0.7957, allocations: 8.031 kB / 0.9577 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000212/0.7959, allocations: 134.6 kB / 0.9578 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001515/0.7961, allocations: 0.6776 MB / 0.9585 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.334e-05/0.7961, allocations: 9.75 kB / 0.9585 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.7961, allocations: 1.094 kB / 0.9585 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of Templates: time 0.002168/0.7983, allocations: 0.6656 MB / 0.9591 GB, free: 3.543 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.TrapezoidalIntegrationCalcHelperMain.o OMCppBuildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegrationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegrationCalcHelperMain.o] Error 1