Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Math.Nonlinear.Examples.MovingIntegral.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009321/0.0009321, allocations: 88.28 kB / 21.44 MB, free: 3.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008866/0.0008866, allocations: 155.4 kB / 24.69 MB, free: 9.449 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9333/0.9333, allocations: 177.1 MB / 205 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Math.Nonlinear.Examples.MovingIntegral,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Math.Nonlinear.Examples.MovingIntegral") translateModel(Modelica.Math.Nonlinear.Examples.MovingIntegral,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Math.Nonlinear.Examples.MovingIntegral") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 3.938 kB / 325.2 MB, free: 15.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.657e-05/1.769e-05, allocations: 6.219 kB / 325.2 MB, free: 15.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.MovingIntegral): time 0.001459/0.001477, allocations: 1.364 MB / 326.6 MB, free: 14.44 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008014/0.002278, allocations: 0.6857 MB / 327.3 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.452e-05/0.002313, allocations: 0 / 327.3 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.005e-05/0.002333, allocations: 3.938 kB / 327.3 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006293/0.002962, allocations: 207.2 kB / 327.5 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.505e-05/0.002977, allocations: 3.984 kB / 327.5 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.754e-05/0.003075, allocations: 107.6 kB / 327.6 MB, free: 13.43 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.393e-05/0.003108, allocations: 4 kB / 327.6 MB, free: 13.43 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001506/0.003259, allocations: 75.75 kB / 327.7 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.997e-05/0.003329, allocations: 55.86 kB / 327.7 MB, free: 13.3 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.003344, allocations: 4 kB / 327.7 MB, free: 13.3 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000217/0.003561, allocations: 135.7 kB / 327.8 MB, free: 13.16 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.75e-05/0.003578, allocations: 23.89 kB / 327.9 MB, free: 13.14 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.763e-05/0.003606, allocations: 19.92 kB / 327.9 MB, free: 13.12 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001878/0.003794, allocations: 143.6 kB / 328 MB, free: 12.98 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.003795, allocations: 0 / 328 MB, free: 12.98 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.003796, allocations: 0 / 328 MB, free: 12.98 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.416e-06/0.0038, allocations: 0 / 328 MB, free: 12.98 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000398/0.004198, allocations: 306 kB / 328.3 MB, free: 12.65 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.00423, allocations: 11.98 kB / 328.3 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.329e-05/0.004263, allocations: 8.938 kB / 328.3 MB, free: 12.63 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.004375, allocations: 133.5 kB / 328.5 MB, free: 12.48 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.004385, allocations: 384 / 328.5 MB, free: 12.48 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.261e-05/0.004408, allocations: 8.375 kB / 328.5 MB, free: 12.47 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001046/0.004512, allocations: 70.2 kB / 328.6 MB, free: 12.39 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.004519, allocations: 192 / 328.6 MB, free: 12.39 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.004531, allocations: 384 / 328.6 MB, free: 12.39 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.004536, allocations: 3.938 kB / 328.6 MB, free: 12.39 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001218/0.004657, allocations: 79.86 kB / 328.6 MB, free: 12.31 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001307/0.004788, allocations: 129.3 kB / 328.8 MB, free: 12.16 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.004904, allocations: 70.55 kB / 328.8 MB, free: 12.08 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.568e-05/0.004949, allocations: 24.86 kB / 328.9 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.004965, allocations: 4 kB / 328.9 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.694e-05/0.004982, allocations: 34.5 kB / 328.9 MB, free: 12 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 8.22e-07/0.004983, allocations: 0 / 328.9 MB, free: 12 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002222/0.005205, allocations: 117.9 kB / 329 MB, free: 11.88 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.005235, allocations: 59.28 kB / 329.1 MB, free: 11.81 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.834e-05/0.005323, allocations: 125.8 kB / 329.2 MB, free: 11.68 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.005335, allocations: 25.7 kB / 329.2 MB, free: 11.65 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.59e-05/0.005361, allocations: 88.14 kB / 329.3 MB, free: 11.56 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.364e-05/0.005395, allocations: 31.7 kB / 329.3 MB, free: 11.53 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.913e-05/0.005434, allocations: 33.66 kB / 329.4 MB, free: 11.49 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.879e-05/0.005503, allocations: 318.8 kB / 329.7 MB, free: 11.17 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.79e-05/0.005541, allocations: 16 kB / 329.7 MB, free: 11.15 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.557e-05/0.005576, allocations: 24.36 kB / 329.7 MB, free: 11.13 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.69e-05/0.005663, allocations: 60.84 kB / 329.8 MB, free: 11.07 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.005665, allocations: 0 / 329.8 MB, free: 11.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001217/0.005787, allocations: 101.5 kB / 329.9 MB, free: 10.96 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.005797, allocations: 7.938 kB / 329.9 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.005801, allocations: 4 kB / 329.9 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.005812, allocations: 0 / 329.9 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.005925, allocations: 27.92 kB / 329.9 MB, free: 10.92 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.00593, allocations: 0 / 329.9 MB, free: 10.92 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.704e-05/0.005977, allocations: 15.89 kB / 329.9 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.005985, allocations: 4 kB / 329.9 MB, free: 10.9 MB / 298.7 MB 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.1e-05/0.006046, allocations: 113.8 kB / 330 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.109e-05/0.006058, allocations: 7.953 kB / 330.1 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002503/0.006308, allocations: 185.9 kB / 330.2 MB, free: 10.58 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.00631, allocations: 4 kB / 330.2 MB, free: 10.58 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.006314, allocations: 3.938 kB / 330.2 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.006317, allocations: 3.984 kB / 330.2 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.241e-05/0.00641, allocations: 133.3 kB / 330.4 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.006411, allocations: 8 kB / 330.4 MB, free: 10.4 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.006519, allocations: 31.97 kB / 330.4 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.00652, allocations: 0 / 330.4 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.006532, allocations: 8 kB / 330.4 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.006533, allocations: 0 / 330.4 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.006534, allocations: 3.938 kB / 330.4 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002339/0.006768, allocations: 211.8 kB / 330.6 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.779e-05/0.006806, allocations: 15.91 kB / 330.7 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.006822, allocations: 4 kB / 330.7 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.203e-05/0.006864, allocations: 7.984 kB / 330.7 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.023e-05/0.006884, allocations: 19.98 kB / 330.7 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.006892, allocations: 4 kB / 330.7 MB, free: 10.09 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.362e-05/0.006936, allocations: 99.52 kB / 330.8 MB, free: 9.988 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006936, allocations: 0 / 330.8 MB, free: 9.988 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001894/0.007125, allocations: 51.86 kB / 330.8 MB, free: 9.938 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (xi) * 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 (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001893/0.007314, allocations: 159.1 kB / 331 MB, free: 9.77 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001327/0.007447, allocations: 71.88 kB / 331.1 MB, free: 9.699 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.007448, allocations: 0 / 331.1 MB, free: 9.699 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.603e-05/0.007504, allocations: 51.92 kB / 331.1 MB, free: 9.648 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001542/0.007659, allocations: 20.75 kB / 331.1 MB, free: 9.629 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003794/0.008038, allocations: 270.7 kB / 331.4 MB, free: 9.332 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.175e-05/0.00808, allocations: 91.02 kB / 331.5 MB, free: 9.223 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.37e-05/0.008134, allocations: 16.5 kB / 331.5 MB, free: 9.207 MB / 298.7 MB Notification: Performance of SimCode: time 5.61e-07/0.008134, allocations: 4 kB / 331.5 MB, free: 9.203 MB / 298.7 MB Notification: Performance of Templates: time 0.002607/0.01074, allocations: 2.045 MB / 333.5 MB, free: 7.152 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Math.Nonlinear.Examples.MovingIntegral.makefile [Timeout 660] make -j1 -f Modelica_trunk_Modelica.Math.Nonlinear.Examples.MovingIntegral.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DOMC_BUILD -DUSE_THREAD -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_trunk_Modelica.Math.Nonlinear.Examples.MovingIntegralCalcHelperMain.o OMCppModelica_trunk_Modelica.Math.Nonlinear.Examples.MovingIntegralCalcHelperMain.cpp In file included from OMCppModelica_trunk_Modelica.Math.Nonlinear.Examples.MovingIntegralCalcHelperMain.cpp:28: ./OMCppModelica_trunk_Modelica.Math.Nonlinear.Examples.MovingIntegralFunctions.cpp:71:16: error: use of undeclared identifier 'metatype' 71 | DynArrayDim1 tmp20; | ^~~~~~~~ ./OMCppModelica_trunk_Modelica.Math.Nonlinear.Examples.MovingIntegralFunctions.cpp:134:20: error: use of undeclared identifier 'metatype' 134 | DynArrayDim1 _omcQ_24tmpVar7_; | ^~~~~~~~ ./OMCppModelica_trunk_Modelica.Math.Nonlinear.Examples.MovingIntegralFunctions.cpp:136:7: error: unknown type name 'metatype' 136 | metatype _omcQ_24tmpVar6_; | ^ 3 errors generated. make: *** [: OMCppModelica_trunk_Modelica.Math.Nonlinear.Examples.MovingIntegralCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 2.5334730139002204]