Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.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.Blocks.Examples.Modulation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|sine.y|sinAM.y|cosAM.y|sinFM.y|cosFM.y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Modulation") translateModel(Modelica.Blocks.Examples.Modulation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|sine.y|sinAM.y|cosAM.y|sinFM.y|cosFM.y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Modulation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001062, allocations: 90.95 kB / 16.95 MB, free: 5.66 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.001267/0.001266, allocations: 188.2 kB / 17.85 MB, free: 5.312 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.493/1.493, allocations: 223.2 MB / 241.9 MB, free: 68 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002682/0.0002682, allocations: 8 kB / 301.4 MB, free: 6.426 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1201, allocations: 50.42 MB / 351.9 MB, free: 3.996 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.002299/0.1225, allocations: 1.628 MB / 353.5 MB, free: 2.352 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008774/0.1233, allocations: 0.53 MB / 354 MB, free: 1.82 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.155e-05/0.1234, allocations: 4 kB / 354 MB, free: 1.816 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001536/0.1236, allocations: 35.66 kB / 354.1 MB, free: 1.781 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.85e-05/0.1237, allocations: 31.7 kB / 354.1 MB, free: 1.75 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002116/0.1239, allocations: 39.97 kB / 354.1 MB, free: 1.711 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002094/0.1241, allocations: 179.3 kB / 354.3 MB, free: 1.535 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001682/0.1243, allocations: 64.14 kB / 354.4 MB, free: 1.465 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.1244, allocations: 55.72 kB / 354.4 MB, free: 1.41 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.1245, allocations: 59.64 kB / 354.5 MB, free: 1.352 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.531e-05/0.1246, allocations: 4 kB / 354.5 MB, free: 1.348 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.002e-05/0.1246, allocations: 8 kB / 354.5 MB, free: 1.34 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.235e-05/0.1246, allocations: 19.86 kB / 354.5 MB, free: 1.32 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.085e-05/0.1247, allocations: 61.58 kB / 354.6 MB, free: 1.254 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001412/0.1249, allocations: 112 kB / 354.7 MB, free: 1.145 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.1249, allocations: 0 / 354.7 MB, free: 1.145 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1249, allocations: 0 / 354.7 MB, free: 1.145 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.1249, allocations: 0 / 354.7 MB, free: 1.145 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0006556/0.1255, allocations: 466.4 kB / 355.1 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.1256, allocations: 12.03 kB / 355.1 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.524e-05/0.1257, allocations: 31.67 kB / 355.2 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002599/0.1259, allocations: 226.7 kB / 355.4 MB, free: 344 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.126, allocations: 8 kB / 355.4 MB, free: 336 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.636e-05/0.126, allocations: 19.98 kB / 355.4 MB, free: 316 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000309/0.1263, allocations: 164.6 kB / 355.6 MB, free: 136 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.1263, allocations: 0 / 355.6 MB, free: 136 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.802e-05/0.1264, allocations: 8 kB / 355.6 MB, free: 128 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.231e-05/0.1264, allocations: 11.94 kB / 355.6 MB, free: 116 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002204/0.1266, allocations: 91.95 kB / 355.7 MB, free: 24 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009511/0.1276, allocations: 0.641 MB / 356.3 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002327/0.1278, allocations: 127.8 kB / 356.5 MB, free: 15.17 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.1279, allocations: 58.67 kB / 356.5 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.128, allocations: 7.938 kB / 356.5 MB, free: 15.1 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.128, allocations: 42.5 kB / 356.6 MB, free: 15.05 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.512e-06/0.128, allocations: 0 / 356.6 MB, free: 15.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004931/0.1285, allocations: 189.3 kB / 356.7 MB, free: 14.86 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.573e-05/0.1286, allocations: 110.9 kB / 356.9 MB, free: 14.72 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002246/0.1288, allocations: 229 kB / 357.1 MB, free: 14.49 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.1288, allocations: 29.7 kB / 357.1 MB, free: 14.46 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.082e-05/0.1289, allocations: 136 kB / 357.2 MB, free: 14.32 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.185e-05/0.129, allocations: 47.36 kB / 357.3 MB, free: 14.27 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.993e-06/0.129, allocations: 0 / 357.3 MB, free: 14.27 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.1291, allocations: 330.8 kB / 357.6 MB, free: 13.94 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/0.1292, allocations: 43.98 kB / 357.7 MB, free: 13.9 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001399/0.1294, allocations: 105.4 kB / 357.8 MB, free: 13.77 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.1295, allocations: 51.98 kB / 357.8 MB, free: 13.72 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.1295, allocations: 4 kB / 357.8 MB, free: 13.72 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000316/0.1298, allocations: 185.7 kB / 358 MB, free: 13.53 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.1299, allocations: 11.98 kB / 358 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.1299, allocations: 3.938 kB / 358 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.1299, allocations: 4 kB / 358 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.1301, allocations: 35.98 kB / 358 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.1301, allocations: 11.95 kB / 358.1 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.818e-05/0.1302, allocations: 27.95 kB / 358.1 MB, free: 13.44 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.1302, allocations: 4 kB / 358.1 MB, free: 13.43 MB / 302.1 MB 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 (17): * Single equations (assignments): 17 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001106/0.1303, allocations: 129.8 kB / 358.2 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.986e-05/0.1304, allocations: 23.72 kB / 358.2 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003681/0.1308, allocations: 194.8 kB / 358.4 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.1308, allocations: 4 kB / 358.4 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.1308, allocations: 0 / 358.4 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.1308, allocations: 3.953 kB / 358.4 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004313/0.1312, allocations: 269.4 kB / 358.7 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1312, allocations: 96 / 358.7 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001688/0.1314, allocations: 35.97 kB / 358.7 MB, free: 12.72 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.1314, allocations: 3.984 kB / 358.7 MB, free: 12.72 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.028e-05/0.1315, allocations: 8 kB / 358.7 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1315, allocations: 7.938 kB / 358.8 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.1315, allocations: 4.156 kB / 358.8 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005344/0.132, allocations: 488.7 kB / 359.2 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.476e-05/0.1321, allocations: 100.8 kB / 359.3 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.267e-05/0.1321, allocations: 11.98 kB / 359.3 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/0.1323, allocations: 4 kB / 359.3 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.453e-05/0.1324, allocations: 15.98 kB / 359.4 MB, free: 12.06 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.1324, allocations: 7.938 kB / 359.4 MB, free: 12.05 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001419/0.1325, allocations: 168.5 kB / 359.5 MB, free: 11.89 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1325, allocations: 0 / 359.5 MB, free: 11.89 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003358/0.1329, allocations: 35.95 kB / 359.6 MB, free: 11.86 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (sine.phi,sinAM.phi,cosAM.phi,sinFM.phi,cosFM.phi) * 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 (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.0001192/0.133, allocations: 107.2 kB / 359.7 MB, free: 11.74 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002841/0.1333, allocations: 127.9 kB / 359.8 MB, free: 11.61 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1333, allocations: 0 / 359.8 MB, free: 11.61 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001268/0.1334, allocations: 63.91 kB / 359.9 MB, free: 11.55 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004008/0.1338, allocations: 12.44 kB / 359.9 MB, free: 11.54 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/0.135, allocations: 0.7648 MB / 360.6 MB, free: 10.73 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.1353, allocations: 0.74 MB / 361.4 MB, free: 9.969 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.707e-05/0.1353, allocations: 23.42 kB / 361.4 MB, free: 9.949 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1353, allocations: 0 / 361.4 MB, free: 9.949 MB / 302.1 MB Notification: Performance of Templates: time 0.003869/0.1392, allocations: 2.089 MB / 363.5 MB, free: 7.855 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.makefile make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.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.Blocks.Examples.ModulationCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Blocks.Examples.ModulationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Blocks.Examples.ModulationCalcHelperMain.o] Error 1