Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Rotational.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|directInertia.inertia.phi|directInertia.inertia.w|inertia2a.phi|inertia2a.w|inertia2b.phi|inertia2b.w|inertia3a.phi|inertia3a.w|inertia3b.phi|inertia3b.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs") translateModel(ModelicaTest.Rotational.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|directInertia.inertia.phi|directInertia.inertia.w|inertia2a.phi|inertia2a.w|inertia2b.phi|inertia2b.w|inertia3a.phi|inertia3a.w|inertia3b.phi|inertia3b.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008716/0.0008718, allocations: 92.41 kB / 16.33 MB, free: 5.938 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.0009245/0.0009248, allocations: 188.4 kB / 17.22 MB, free: 5.859 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.654/1.654, allocations: 205.4 MB / 223.4 MB, free: 5.582 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4179/0.4179, allocations: 43.55 MB / 315.2 MB, free: 8.898 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005273/0.0005275, allocations: 12 kB / 384.5 MB, free: 8.031 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1493, allocations: 58.86 MB / 443.4 MB, free: 13.06 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.005869/0.1552, allocations: 4.969 MB / 448.4 MB, free: 8.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004121/0.1593, allocations: 2.16 MB / 450.5 MB, free: 5.902 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007932/0.1602, allocations: 39.75 kB / 450.6 MB, free: 5.863 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004223/0.1606, allocations: 158.7 kB / 450.7 MB, free: 5.707 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003636/0.161, allocations: 142.8 kB / 450.9 MB, free: 5.566 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009625/0.162, allocations: 307.3 kB / 451.2 MB, free: 5.266 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001001/0.163, allocations: 0.9697 MB / 452.1 MB, free: 4.293 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006459/0.1636, allocations: 437.9 kB / 452.6 MB, free: 3.844 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003168/0.1639, allocations: 258.8 kB / 452.8 MB, free: 3.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003249/0.1643, allocations: 282.4 kB / 453.1 MB, free: 3.312 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.962e-05/0.1644, allocations: 32 kB / 453.1 MB, free: 3.281 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000217/0.1646, allocations: 87.91 kB / 453.2 MB, free: 3.195 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001296/0.1647, allocations: 139.4 kB / 453.3 MB, free: 3.059 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001537/0.1649, allocations: 181.3 kB / 453.5 MB, free: 2.875 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008224/0.1657, allocations: 0.9273 MB / 454.4 MB, free: 1.945 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.1657, allocations: 0 / 454.4 MB, free: 1.945 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.866e-06/0.1657, allocations: 4 kB / 454.5 MB, free: 1.941 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.276e-05/0.1657, allocations: 3.938 kB / 454.5 MB, free: 1.938 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.001371/0.1671, allocations: 0.959 MB / 455.4 MB, free: 0.9297 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.1672, allocations: 12.03 kB / 455.4 MB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001356/0.1673, allocations: 102.8 kB / 455.5 MB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007557/0.1681, allocations: 0.5509 MB / 456.1 MB, free: 232 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.668e-05/0.1682, allocations: 70 kB / 456.1 MB, free: 160 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/0.1683, allocations: 88 kB / 456.2 MB, free: 72 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2839/0.4522, allocations: 0.884 MB / 457.1 MB, free: 46.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.671e-05/0.4523, allocations: 6.938 kB / 457.1 MB, free: 46.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.602e-05/0.4523, allocations: 39.19 kB / 457.2 MB, free: 46.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.243e-05/0.4524, allocations: 24.47 kB / 457.2 MB, free: 46.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008437/0.4532, allocations: 0.5246 MB / 457.7 MB, free: 46.01 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002982/0.4562, allocations: 3.65 MB / 461.4 MB, free: 43.96 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004939/0.4567, allocations: 222.9 kB / 461.6 MB, free: 43.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001515/0.4569, allocations: 106 kB / 461.7 MB, free: 43.92 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001968/0.4571, allocations: 246.6 kB / 461.9 MB, free: 43.64 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.915e-05/0.4571, allocations: 37.88 kB / 462 MB, free: 43.59 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 2.034e-06/0.4571, allocations: 0 / 462 MB, free: 43.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=35): time 0.002012/0.4591, allocations: 1.314 MB / 463.3 MB, free: 42.95 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.736e-05/0.4592, allocations: 53.44 kB / 463.3 MB, free: 42.89 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003623/0.4595, allocations: 397.4 kB / 463.7 MB, free: 42.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.4596, allocations: 35.27 kB / 463.7 MB, free: 42.74 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002671/0.4599, allocations: 465.6 kB / 464.2 MB, free: 42.47 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.673e-05/0.4599, allocations: 136.6 kB / 464.3 MB, free: 42.39 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.897e-05/0.46, allocations: 12.94 kB / 464.3 MB, free: 42.39 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.4601, allocations: 358.8 kB / 464.7 MB, free: 42.07 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002281/0.4603, allocations: 113.8 kB / 464.8 MB, free: 42.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003023/0.4607, allocations: 306.2 kB / 465.1 MB, free: 41.84 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002865/0.461, allocations: 164.7 kB / 465.3 MB, free: 41.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.461, allocations: 2.906 kB / 465.3 MB, free: 41.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0007042/0.4617, allocations: 0.5114 MB / 465.8 MB, free: 41.71 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.4617, allocations: 12.61 kB / 465.8 MB, free: 41.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.4617, allocations: 8.781 kB / 465.8 MB, free: 41.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001891/0.4619, allocations: 37.89 kB / 465.8 MB, free: 41.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003446/0.4623, allocations: 126.1 kB / 466 MB, free: 41.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003296/0.4626, allocations: 0.5573 MB / 466.5 MB, free: 41.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001762/0.4628, allocations: 18.38 kB / 466.5 MB, free: 41.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.692e-05/0.4629, allocations: 28.42 kB / 466.6 MB, free: 41.17 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (68): * Single equations (assignments): 67 * 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: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002521/0.4631, allocations: 234.4 kB / 466.8 MB, free: 41.04 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.844e-05/0.4632, allocations: 54.44 kB / 466.9 MB, free: 41.01 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005328/0.4637, allocations: 330 kB / 467.2 MB, free: 40.95 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.4637, allocations: 4.25 kB / 467.2 MB, free: 40.95 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.4638, allocations: 2.938 kB / 467.2 MB, free: 40.95 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.4638, allocations: 3.422 kB / 467.2 MB, free: 40.95 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001358/0.4651, allocations: 1.06 MB / 468.2 MB, free: 40.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.4651, allocations: 4.156 kB / 468.2 MB, free: 40.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003094/0.4655, allocations: 81.36 kB / 468.3 MB, free: 40.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001045/0.4656, allocations: 37.55 kB / 468.4 MB, free: 40.55 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.916e-05/0.4656, allocations: 8.438 kB / 468.4 MB, free: 40.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002277/0.4658, allocations: 0.5538 MB / 468.9 MB, free: 40.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.4659, allocations: 2.938 kB / 468.9 MB, free: 40.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006066/0.4665, allocations: 0.5703 MB / 469.5 MB, free: 39.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.831e-05/0.4665, allocations: 114.8 kB / 469.6 MB, free: 39.55 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.606e-05/0.4666, allocations: 9.875 kB / 469.6 MB, free: 39.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/0.4667, allocations: 13.84 kB / 469.6 MB, free: 39.54 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.643e-05/0.4668, allocations: 21.67 kB / 469.7 MB, free: 39.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.017e-05/0.4668, allocations: 19.98 kB / 469.7 MB, free: 39.53 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002162/0.4671, allocations: 268.8 kB / 469.9 MB, free: 39.39 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4671, allocations: 4 kB / 469.9 MB, free: 39.38 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004818/0.4675, allocations: 125.3 kB / 470.1 MB, free: 39.37 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 10 (directInertia.inertia.w,directInertia.torqueToAngle.phi,inertia2a.w,torqueToAngle2a.y,inertia2b.w,torqueToAngle2b.y,inertia3a.phi,inertia3a.w,inertia3b.phi,inertia3b.w) * 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 (33): * Single equations (assignments): 32 * 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: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001432/0.4677, allocations: 114.4 kB / 470.2 MB, free: 39.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005365/0.4682, allocations: 333.6 kB / 470.5 MB, free: 39.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4683, allocations: 3.125 kB / 470.5 MB, free: 39.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002076/0.4685, allocations: 143.4 kB / 470.6 MB, free: 39.12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004654/0.4689, allocations: 67.36 kB / 470.7 MB, free: 39.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002131/0.4711, allocations: 2.109 MB / 472.8 MB, free: 37.64 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003365/0.4714, allocations: 0.9583 MB / 473.8 MB, free: 36.92 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.139e-05/0.4715, allocations: 51.8 kB / 473.8 MB, free: 36.91 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4715, allocations: 0 / 473.8 MB, free: 36.91 MB / 382.1 MB Notification: Performance of Templates: time 0.01315/0.4847, allocations: 10.98 MB / 484.8 MB, free: 35.73 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.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 OMCppModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUsCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUsCalcHelperMain.o] Error 1