Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.BusUsage.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.Blocks.Examples.BusUsage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|controlBus.realSignal1|controlBus.integerSignal|controlBus.booleanSignal|controlBus.subControlBus.myRealSignal|controlBus.subControlBus.myBooleanSignal",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.BusUsage") translateModel(Modelica.Blocks.Examples.BusUsage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|controlBus.realSignal1|controlBus.integerSignal|controlBus.booleanSignal|controlBus.subControlBus.myRealSignal|controlBus.subControlBus.myBooleanSignal",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.BusUsage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001227/0.001227, allocations: 95.62 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.002157/0.002157, allocations: 201 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.563/1.563, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003176/0.000318, allocations: 8 kB / 307.3 MB, free: 1.645 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1245, allocations: 51.49 MB / 358.8 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.002317/0.1269, allocations: 1.299 MB / 360.1 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009329/0.1278, allocations: 451.2 kB / 360.5 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.707e-05/0.1279, allocations: 0 / 360.5 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.548e-05/0.128, allocations: 7.922 kB / 360.5 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000106/0.1281, allocations: 11.92 kB / 360.5 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001919/0.1283, allocations: 15.98 kB / 360.6 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001361/0.1284, allocations: 59.78 kB / 360.6 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002025/0.1287, allocations: 31.91 kB / 360.6 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001792/0.1288, allocations: 27.91 kB / 360.7 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.401e-05/0.1289, allocations: 19.86 kB / 360.7 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.129, allocations: 7.938 kB / 360.7 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.404e-05/0.129, allocations: 4 kB / 360.7 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.943e-05/0.1291, allocations: 11.92 kB / 360.7 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.584e-05/0.1291, allocations: 37.64 kB / 360.8 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001429/0.1293, allocations: 47.89 kB / 360.8 MB, free: 12.11 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.1293, allocations: 4 kB / 360.8 MB, free: 12.11 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.1293, allocations: 0 / 360.8 MB, free: 12.11 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.1293, allocations: 0 / 360.8 MB, free: 12.11 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006512/0.13, allocations: 375.4 kB / 361.2 MB, free: 11.7 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.13, allocations: 8.031 kB / 361.2 MB, free: 11.69 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001936/0.1302, allocations: 15.91 kB / 361.2 MB, free: 11.67 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001761/0.1304, allocations: 182.9 kB / 361.4 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.833e-05/0.1304, allocations: 0 / 361.4 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.1305, allocations: 7.953 kB / 361.4 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002638/0.1307, allocations: 117.9 kB / 361.5 MB, free: 11.31 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.457e-06/0.1308, allocations: 4 kB / 361.5 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.1308, allocations: 4 kB / 361.5 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.1308, allocations: 0 / 361.5 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001856/0.131, allocations: 63.89 kB / 361.6 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008464/0.1318, allocations: 0.6537 MB / 362.2 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001987/0.132, allocations: 116.9 kB / 362.3 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001132/0.1322, allocations: 56.41 kB / 362.4 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.857e-05/0.1322, allocations: 7.984 kB / 362.4 MB, free: 10.28 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.1322, allocations: 42.5 kB / 362.4 MB, free: 10.23 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.1323, allocations: 0 / 362.4 MB, free: 10.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004762/0.1327, allocations: 134 kB / 362.6 MB, free: 10.09 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.1328, allocations: 154.2 kB / 362.7 MB, free: 9.906 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.133, allocations: 121.7 kB / 362.8 MB, free: 9.777 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.133, allocations: 41.58 kB / 362.9 MB, free: 9.73 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.169e-05/0.1331, allocations: 107.9 kB / 363 MB, free: 9.621 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.361e-05/0.1331, allocations: 11.81 kB / 363 MB, free: 9.609 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-06/0.1331, allocations: 0 / 363 MB, free: 9.609 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.1333, allocations: 322.9 kB / 363.3 MB, free: 9.285 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.301e-05/0.1334, allocations: 23.98 kB / 363.3 MB, free: 9.262 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.1335, allocations: 60.28 kB / 363.4 MB, free: 9.188 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.707e-05/0.1336, allocations: 27.97 kB / 363.4 MB, free: 9.16 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.1336, allocations: 0 / 363.4 MB, free: 9.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002439/0.1339, allocations: 109.5 kB / 363.5 MB, free: 9.047 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.1339, allocations: 4 kB / 363.5 MB, free: 9.043 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.1339, allocations: 128 / 363.5 MB, free: 9.043 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.1339, allocations: 8 kB / 363.5 MB, free: 9.035 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.1341, allocations: 16.14 kB / 363.6 MB, free: 9.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.1341, allocations: 4 kB / 363.6 MB, free: 9.016 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.935e-05/0.1341, allocations: 15.91 kB / 363.6 MB, free: 9 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.1342, allocations: 3.953 kB / 363.6 MB, free: 8.996 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (integerStep.y,booleanStep.y,part.subControlBus.myBooleanSignal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.0001248/0.1343, allocations: 121.8 kB / 363.7 MB, free: 8.867 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.401e-05/0.1344, allocations: 7.984 kB / 363.7 MB, free: 8.859 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.163e-05/0.1344, allocations: 11.48 kB / 363.7 MB, free: 8.848 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.1344, allocations: 4 kB / 363.7 MB, free: 8.844 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.1345, allocations: 4 kB / 363.7 MB, free: 8.84 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1345, allocations: 0 / 363.7 MB, free: 8.84 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004211/0.1349, allocations: 193.4 kB / 363.9 MB, free: 8.602 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.1349, allocations: 4 kB / 363.9 MB, free: 8.598 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.08e-05/0.135, allocations: 11.98 kB / 363.9 MB, free: 8.586 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/0.135, allocations: 4 kB / 363.9 MB, free: 8.582 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.135, allocations: 0 / 363.9 MB, free: 8.582 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.135, allocations: 4 kB / 363.9 MB, free: 8.578 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.135, allocations: 3.938 kB / 363.9 MB, free: 8.574 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000422/0.1355, allocations: 0.4889 MB / 364.4 MB, free: 8.066 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.153e-05/0.1355, allocations: 85.02 kB / 364.5 MB, free: 7.965 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.1355, allocations: 11.98 kB / 364.5 MB, free: 7.953 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002042/0.1358, allocations: 8 kB / 364.5 MB, free: 7.945 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.575e-05/0.1358, allocations: 11.92 kB / 364.5 MB, free: 7.934 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.1358, allocations: 0 / 364.5 MB, free: 7.934 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.147e-05/0.1359, allocations: 99.2 kB / 364.6 MB, free: 7.836 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1359, allocations: 0 / 364.6 MB, free: 7.836 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003946/0.1363, allocations: 16 kB / 364.7 MB, free: 7.82 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (integerStep.y,booleanStep.y,part.subControlBus.myBooleanSignal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0001333/0.1365, allocations: 99.14 kB / 364.8 MB, free: 7.715 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002585/0.1367, allocations: 72.02 kB / 364.8 MB, free: 7.645 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.1367, allocations: 0 / 364.8 MB, free: 7.645 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.1369, allocations: 39.92 kB / 364.9 MB, free: 7.605 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005155/0.1374, allocations: 4 kB / 364.9 MB, free: 7.602 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004888/0.1379, allocations: 256 kB / 365.1 MB, free: 7.305 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003576/0.1383, allocations: 0.6926 MB / 365.8 MB, free: 6.586 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.114e-05/0.1383, allocations: 11.44 kB / 365.8 MB, free: 6.574 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1383, allocations: 0 / 365.8 MB, free: 6.574 MB / 302.1 MB Notification: Performance of Templates: time 0.00264/0.141, allocations: 0.8569 MB / 366.7 MB, free: 5.715 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.BusUsage.makefile make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.BusUsage.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.Blocks.Examples.BusUsageCalcHelperMain.o OMCppModelica_trunk_Modelica.Blocks.Examples.BusUsageCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Blocks.Examples.BusUsageCalcHelperMain.o] Error 1