Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.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) 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(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_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009179/0.0009177, allocations: 96.39 kB / 16.96 MB, free: 6.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008325/0.0008326, allocations: 178.6 kB / 17.84 MB, free: 5.969 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.592/1.592, allocations: 223.2 MB / 241.8 MB, free: 320 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002771/0.0002771, allocations: 4.75 kB / 301.4 MB, free: 6.469 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1317, allocations: 50.42 MB / 351.9 MB, free: 4.031 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.GenerationOfFMUs): time 0.004635/0.1364, allocations: 3.908 MB / 355.8 MB, free: 104 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00237/0.1388, allocations: 1.255 MB / 357 MB, free: 14.84 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004717/0.1393, allocations: 23.81 kB / 357.1 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004456/0.1397, allocations: 122.9 kB / 357.2 MB, free: 14.7 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004826/0.1402, allocations: 130.8 kB / 357.3 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.1413, allocations: 243.6 kB / 357.5 MB, free: 14.33 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001024/0.1423, allocations: 0.8568 MB / 358.4 MB, free: 13.47 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006339/0.143, allocations: 300.2 kB / 358.7 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003146/0.1433, allocations: 242.8 kB / 358.9 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003061/0.1436, allocations: 274.3 kB / 359.2 MB, free: 12.65 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.912e-05/0.1437, allocations: 28 kB / 359.2 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002148/0.1439, allocations: 63.98 kB / 359.3 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.144, allocations: 119.3 kB / 359.4 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000148/0.1442, allocations: 181.2 kB / 359.6 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009775/0.1451, allocations: 0.7521 MB / 360.3 MB, free: 11.51 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.1452, allocations: 0 / 360.3 MB, free: 11.51 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1452, allocations: 0 / 360.3 MB, free: 11.51 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.364e-05/0.1452, allocations: 4 kB / 360.3 MB, free: 11.5 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.001882/0.1471, allocations: 0.9821 MB / 361.3 MB, free: 10.47 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/0.1472, allocations: 12.03 kB / 361.3 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001998/0.1474, allocations: 106.6 kB / 361.4 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001091/0.1485, allocations: 0.5726 MB / 362 MB, free: 9.738 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.063e-05/0.1485, allocations: 61.94 kB / 362.1 MB, free: 9.676 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001462/0.1487, allocations: 83.91 kB / 362.1 MB, free: 9.594 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001841/0.1506, allocations: 0.8404 MB / 363 MB, free: 8.645 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.387e-05/0.1506, allocations: 11.94 kB / 363 MB, free: 8.633 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.672e-05/0.1507, allocations: 36 kB / 363 MB, free: 8.598 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.407e-05/0.1507, allocations: 23.95 kB / 363.1 MB, free: 8.574 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001222/0.152, allocations: 467.3 kB / 363.5 MB, free: 8.117 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005034/0.157, allocations: 4.408 MB / 367.9 MB, free: 3.516 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007924/0.1578, allocations: 301.8 kB / 368.2 MB, free: 3.215 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000322/0.1582, allocations: 141.6 kB / 368.4 MB, free: 3.074 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002801/0.1585, allocations: 174.5 kB / 368.5 MB, free: 2.867 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.051e-05/0.1585, allocations: 42.88 kB / 368.6 MB, free: 2.816 MB / 302.1 MB Notification: Performance of pre-optimization done (n=46): time 2.715e-06/0.1585, allocations: 0 / 368.6 MB, free: 2.816 MB / 302.1 MB Notification: Performance of matching and sorting (n=57): time 0.004537/0.1631, allocations: 1.731 MB / 370.3 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.578e-05/0.1632, allocations: 67.89 kB / 370.4 MB, free: 0.918 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000856/0.164, allocations: 0.5313 MB / 370.9 MB, free: 384 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.887e-05/0.1641, allocations: 33.7 kB / 370.9 MB, free: 344 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2252/0.3893, allocations: 477.6 kB / 371.4 MB, free: 24.69 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002965/0.3896, allocations: 214.9 kB / 371.6 MB, free: 24.59 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.474e-05/0.3897, allocations: 15.78 kB / 371.6 MB, free: 24.59 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002077/0.3899, allocations: 382 kB / 372 MB, free: 24.28 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004032/0.3903, allocations: 159.8 kB / 372.2 MB, free: 24.28 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004951/0.3908, allocations: 460.3 kB / 372.6 MB, free: 23.93 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003993/0.3912, allocations: 233.3 kB / 372.8 MB, free: 23.93 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/0.3912, allocations: 3.594 kB / 372.8 MB, free: 23.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001271/0.3925, allocations: 0.7372 MB / 373.6 MB, free: 23.78 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.866e-05/0.3925, allocations: 13.08 kB / 373.6 MB, free: 23.78 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.026e-05/0.3925, allocations: 9.75 kB / 373.6 MB, free: 23.78 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002001/0.3928, allocations: 47.77 kB / 373.6 MB, free: 23.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005802/0.3933, allocations: 181.6 kB / 373.8 MB, free: 23.76 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001152/0.3945, allocations: 1.51 MB / 375.3 MB, free: 22.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003172/0.3948, allocations: 28.83 kB / 375.4 MB, free: 22.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-05/0.3949, allocations: 35.03 kB / 375.4 MB, free: 22.41 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.0003847/0.3953, allocations: 239.7 kB / 375.6 MB, free: 22.27 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.3954, allocations: 74.09 kB / 375.7 MB, free: 22.23 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001291/0.3955, allocations: 76.06 kB / 375.8 MB, free: 22.22 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.3955, allocations: 6.562 kB / 375.8 MB, free: 22.22 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.325e-06/0.3956, allocations: 1.406 kB / 375.8 MB, free: 22.22 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.3956, allocations: 3.047 kB / 375.8 MB, free: 22.22 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001849/0.3974, allocations: 1.413 MB / 377.2 MB, free: 21.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.3974, allocations: 3 kB / 377.2 MB, free: 21.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004501/0.3979, allocations: 122.1 kB / 377.3 MB, free: 21.46 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-05/0.398, allocations: 24.56 kB / 377.3 MB, free: 21.45 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.959e-05/0.398, allocations: 15.34 kB / 377.4 MB, free: 21.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005971/0.3986, allocations: 1.276 MB / 378.6 MB, free: 20.14 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.3986, allocations: 8.656 kB / 378.6 MB, free: 20.14 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009474/0.3996, allocations: 0.7798 MB / 379.4 MB, free: 19.67 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.388e-05/0.3997, allocations: 136.9 kB / 379.6 MB, free: 19.54 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.529e-05/0.3998, allocations: 16.09 kB / 379.6 MB, free: 19.53 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001921/0.4, allocations: 15.48 kB / 379.6 MB, free: 19.52 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.529e-05/0.4001, allocations: 43.45 kB / 379.6 MB, free: 19.51 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-05/0.4001, allocations: 22.67 kB / 379.6 MB, free: 19.5 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004123/0.4005, allocations: 354.2 kB / 380 MB, free: 19.34 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4005, allocations: 0 / 380 MB, free: 19.34 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007141/0.4012, allocations: 142.2 kB / 380.1 MB, free: 19.31 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.0001255/0.4014, allocations: 116.7 kB / 380.2 MB, free: 19.21 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009731/0.4024, allocations: 0.5825 MB / 380.8 MB, free: 18.94 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4024, allocations: 6.359 kB / 380.8 MB, free: 18.94 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003651/0.4027, allocations: 310 kB / 381.1 MB, free: 18.76 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005727/0.4033, allocations: 98.73 kB / 381.2 MB, free: 18.71 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002689/0.406, allocations: 2.336 MB / 383.6 MB, free: 17.09 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004382/0.4065, allocations: 0.9664 MB / 384.5 MB, free: 16.38 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001506/0.4066, allocations: 63.06 kB / 384.6 MB, free: 16.37 MB / 302.1 MB Notification: Performance of SimCode: time 3.3e-07/0.4066, allocations: 0 / 384.6 MB, free: 16.37 MB / 302.1 MB Notification: Performance of Templates: time 0.02093/0.4276, allocations: 12.17 MB / 396.8 MB, free: 11.2 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUs.makefile make -j1 -f Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUsCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Mechanics.Translational.Examples.GenerationOfFMUsCalcHelperMain.o] Error 1