Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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.Mechanics.Translational.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|directMass.mass.s|directMass.mass.v|mass2a.s|mass2a.v|mass2b.s|mass2b.v|mass3a.s|mass3a.v|mass3b.s|mass3b.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") translateModel(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|directMass.mass.s|directMass.mass.v|mass2a.s|mass2a.v|mass2b.s|mass2b.v|mass3a.s|mass3a.v|mass3b.s|mass3b.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001321/0.001322, allocations: 92.09 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001921/0.001921, allocations: 198.3 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 227.3 MB / 246.6 MB, free: 10.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000264/0.000264, allocations: 11.92 kB / 307.3 MB, free: 1.398 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.123, allocations: 51.48 MB / 358.8 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.004923/0.128, allocations: 3.926 MB / 362.7 MB, free: 9.969 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002643/0.1307, allocations: 1.31 MB / 364 MB, free: 8.656 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005122/0.1312, allocations: 23.88 kB / 364 MB, free: 8.633 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003669/0.1316, allocations: 122.9 kB / 364.2 MB, free: 8.512 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000406/0.132, allocations: 130.8 kB / 364.3 MB, free: 8.383 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007686/0.1328, allocations: 239.7 kB / 364.5 MB, free: 8.148 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009166/0.1337, allocations: 0.8569 MB / 365.4 MB, free: 7.285 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004786/0.1342, allocations: 296.3 kB / 365.7 MB, free: 6.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005184/0.1347, allocations: 258.6 kB / 365.9 MB, free: 6.727 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003191/0.1351, allocations: 270.3 kB / 366.2 MB, free: 6.461 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.76e-05/0.1351, allocations: 28 kB / 366.2 MB, free: 6.434 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002028/0.1354, allocations: 71.97 kB / 366.3 MB, free: 6.363 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002013/0.1356, allocations: 119.4 kB / 366.4 MB, free: 6.246 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001714/0.1357, allocations: 177.2 kB / 366.6 MB, free: 6.066 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008056/0.1366, allocations: 0.7521 MB / 367.3 MB, free: 5.312 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.1366, allocations: 4 kB / 367.3 MB, free: 5.309 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1366, allocations: 0 / 367.3 MB, free: 5.309 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.778e-06/0.1366, allocations: 0 / 367.3 MB, free: 5.309 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.001456/0.1381, allocations: 0.9861 MB / 368.3 MB, free: 4.273 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.1381, allocations: 11.97 kB / 368.3 MB, free: 4.262 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000274/0.1384, allocations: 118.7 kB / 368.4 MB, free: 4.145 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000985/0.1394, allocations: 0.5687 MB / 369 MB, free: 3.535 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.412e-05/0.1395, allocations: 61.94 kB / 369.1 MB, free: 3.473 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.1396, allocations: 91.84 kB / 369.2 MB, free: 3.383 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001385/0.141, allocations: 0.8404 MB / 370 MB, free: 2.434 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.92e-05/0.141, allocations: 15.84 kB / 370 MB, free: 2.418 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.726e-05/0.1411, allocations: 36 kB / 370.1 MB, free: 2.383 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.406e-05/0.1411, allocations: 20 kB / 370.1 MB, free: 2.363 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009677/0.1421, allocations: 471.3 kB / 370.5 MB, free: 1.898 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2785/0.4206, allocations: 4.388 MB / 374.9 MB, free: 15.76 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008248/0.4215, allocations: 305.7 kB / 375.2 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000308/0.4218, allocations: 142 kB / 375.4 MB, free: 15.72 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002238/0.422, allocations: 171.6 kB / 375.5 MB, free: 15.53 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.4221, allocations: 43.59 kB / 375.6 MB, free: 15.49 MB / 302.1 MB Notification: Performance of pre-optimization done (n=46): time 3.277e-06/0.4221, allocations: 0 / 375.6 MB, free: 15.49 MB / 302.1 MB Notification: Performance of matching and sorting (n=57): time 0.004081/0.4262, allocations: 1.738 MB / 377.3 MB, free: 14.88 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/0.4262, allocations: 57.81 kB / 377.4 MB, free: 14.82 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008407/0.4271, allocations: 0.5327 MB / 377.9 MB, free: 14.69 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.988e-05/0.4271, allocations: 37.36 kB / 377.9 MB, free: 14.66 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003991/0.4275, allocations: 476.5 kB / 378.4 MB, free: 14.41 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001984/0.4277, allocations: 216.5 kB / 378.6 MB, free: 14.26 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.966e-05/0.4278, allocations: 19.22 kB / 378.6 MB, free: 14.25 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001813/0.428, allocations: 381.9 kB / 379 MB, free: 13.91 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003375/0.4283, allocations: 157.5 kB / 379.2 MB, free: 13.86 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004887/0.4288, allocations: 451.9 kB / 379.6 MB, free: 13.44 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004175/0.4292, allocations: 242.4 kB / 379.8 MB, free: 13.33 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.4292, allocations: 4.812 kB / 379.8 MB, free: 13.33 MB / 302.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001216/0.4305, allocations: 0.7323 MB / 380.6 MB, free: 13.01 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.827e-05/0.4305, allocations: 8.438 kB / 380.6 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.861e-05/0.4305, allocations: 11.72 kB / 380.6 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001767/0.4307, allocations: 56.23 kB / 380.6 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006602/0.4314, allocations: 182 kB / 380.8 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001641/0.433, allocations: 1.517 MB / 382.3 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005511/0.4336, allocations: 31.08 kB / 382.4 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/0.4337, allocations: 37.41 kB / 382.4 MB, free: 11.48 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (101): * Single equations (assignments): 100 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005678/0.4343, allocations: 230.3 kB / 382.6 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001704/0.4345, allocations: 77.16 kB / 382.7 MB, free: 11.24 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001821/0.4347, allocations: 76.86 kB / 382.8 MB, free: 11.19 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/0.4347, allocations: 6.062 kB / 382.8 MB, free: 11.19 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.34e-05/0.4347, allocations: 5.422 kB / 382.8 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/0.4347, allocations: 2.531 kB / 382.8 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002714/0.4375, allocations: 1.414 MB / 384.2 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.255e-06/0.4375, allocations: 2.938 kB / 384.2 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005422/0.438, allocations: 117 kB / 384.3 MB, free: 10.31 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001058/0.4381, allocations: 24.84 kB / 384.4 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.859e-05/0.4382, allocations: 11.14 kB / 384.4 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008967/0.4391, allocations: 1.276 MB / 385.6 MB, free: 8.992 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.875e-06/0.4391, allocations: 3.594 kB / 385.6 MB, free: 8.992 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001262/0.4404, allocations: 0.7914 MB / 386.4 MB, free: 8.504 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.4405, allocations: 134.1 kB / 386.6 MB, free: 8.375 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.735e-05/0.4406, allocations: 13.78 kB / 386.6 MB, free: 8.367 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001964/0.4408, allocations: 16.33 kB / 386.6 MB, free: 8.359 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.4409, allocations: 42.16 kB / 386.6 MB, free: 8.348 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.889e-05/0.4409, allocations: 20.06 kB / 386.7 MB, free: 8.344 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005106/0.4415, allocations: 358.2 kB / 387 MB, free: 8.18 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4415, allocations: 0 / 387 MB, free: 8.18 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008488/0.4423, allocations: 137.1 kB / 387.1 MB, free: 8.16 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 10 (directMass.mass.s,directMass.mass.v,mass2a.s,mass2a.v,mass2b.s,mass2b.v,mass3a.s,mass3a.v,mass3b.s,mass3b.v) * 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 (56): * Single equations (assignments): 55 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002262/0.4426, allocations: 125.4 kB / 387.3 MB, free: 8.047 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001165/0.4437, allocations: 0.5789 MB / 387.8 MB, free: 7.781 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.4438, allocations: 1 kB / 387.8 MB, free: 7.781 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000419/0.4442, allocations: 314.9 kB / 388.1 MB, free: 7.602 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006146/0.4448, allocations: 92.86 kB / 388.2 MB, free: 7.555 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003142/0.448, allocations: 2.331 MB / 390.6 MB, free: 5.938 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005926/0.4486, allocations: 0.9644 MB / 391.5 MB, free: 5.227 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001717/0.4487, allocations: 64.02 kB / 391.6 MB, free: 5.215 MB / 302.1 MB Notification: Performance of SimCode: time 1.383e-06/0.4488, allocations: 1.781 kB / 391.6 MB, free: 5.215 MB / 302.1 MB Notification: Performance of Templates: time 0.02278/0.4715, allocations: 12.17 MB / 403.8 MB, free: 15.6 MB / 318.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.makefile make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.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 OMCppModelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUsCalcHelperMain.o OMCppModelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Mechanics.Translational.Examples.GenerationOfFMUsCalcHelperMain.o] Error 1