Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources.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.ShowLogicalSources,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|table.y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources") translateModel(Modelica.Blocks.Examples.ShowLogicalSources,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|table.y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009898/0.0009897, allocations: 92.09 kB / 16.95 MB, free: 6.453 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.0009823/0.0009828, allocations: 179.2 kB / 17.84 MB, free: 6 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.5/1.5, allocations: 223.2 MB / 241.9 MB, free: 364 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002775/0.0002778, allocations: 8 kB / 301.4 MB, free: 6.461 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1158, allocations: 50.41 MB / 351.9 MB, free: 4.039 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.002286/0.1181, allocations: 1.497 MB / 353.4 MB, free: 2.523 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00156/0.1197, allocations: 0.9517 MB / 354.3 MB, free: 1.57 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.261e-05/0.1198, allocations: 0 / 354.3 MB, free: 1.57 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006423/0.1205, allocations: 155.6 kB / 354.5 MB, free: 1.418 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002773/0.1208, allocations: 106.9 kB / 354.6 MB, free: 1.316 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005091/0.1213, allocations: 139.7 kB / 354.7 MB, free: 1.18 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002502/0.1215, allocations: 183.4 kB / 354.9 MB, free: 1 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.1217, allocations: 25.53 kB / 354.9 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001259/0.1218, allocations: 71.64 kB / 355 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001308/0.1219, allocations: 83.66 kB / 355.1 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.374e-05/0.122, allocations: 8 kB / 355.1 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00014/0.1221, allocations: 43.92 kB / 355.1 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.143e-05/0.1222, allocations: 39.89 kB / 355.1 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.159e-05/0.1223, allocations: 57.56 kB / 355.2 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002529/0.1225, allocations: 156 kB / 355.4 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1225, allocations: 0 / 355.4 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.1225, allocations: 0 / 355.4 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.784e-06/0.1226, allocations: 0 / 355.4 MB, free: 0.5195 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.001004/0.1236, allocations: 0.504 MB / 355.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.1236, allocations: 11.97 kB / 355.9 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.508e-05/0.1237, allocations: 23.77 kB / 355.9 MB, free: 15.92 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003244/0.124, allocations: 249.7 kB / 356.1 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.124, allocations: 8 kB / 356.1 MB, free: 15.63 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.1241, allocations: 4 kB / 356.1 MB, free: 15.63 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002323/0.1243, allocations: 117.3 kB / 356.3 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.1243, allocations: 0 / 356.3 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.07e-05/0.1243, allocations: 7.984 kB / 356.3 MB, free: 15.49 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.1244, allocations: 3.938 kB / 356.3 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001368/0.1245, allocations: 51.92 kB / 356.3 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006482/0.1252, allocations: 0.6105 MB / 356.9 MB, free: 14.76 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002507/0.1254, allocations: 123.9 kB / 357.1 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.736e-05/0.1255, allocations: 50.56 kB / 357.1 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.884e-05/0.1256, allocations: 4 kB / 357.1 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002245/0.1258, allocations: 121.8 kB / 357.2 MB, free: 14.41 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.262e-06/0.1258, allocations: 0 / 357.2 MB, free: 14.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004324/0.1262, allocations: 181.3 kB / 357.4 MB, free: 14.23 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.617e-05/0.1263, allocations: 132.5 kB / 357.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000307/0.1266, allocations: 289.1 kB / 357.8 MB, free: 13.78 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.1267, allocations: 33.7 kB / 357.8 MB, free: 13.74 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.058e-05/0.1268, allocations: 120.4 kB / 358 MB, free: 13.61 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/0.1268, allocations: 23.7 kB / 358 MB, free: 13.59 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.147e-06/0.1268, allocations: 4 kB / 358 MB, free: 13.59 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.127, allocations: 334.8 kB / 358.3 MB, free: 13.25 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.675e-05/0.1271, allocations: 35.91 kB / 358.4 MB, free: 13.21 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/0.1272, allocations: 86 kB / 358.4 MB, free: 13.11 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.871e-05/0.1273, allocations: 35.92 kB / 358.5 MB, free: 13.07 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1273, allocations: 0 / 358.5 MB, free: 13.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002534/0.1276, allocations: 145.3 kB / 358.6 MB, free: 12.93 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.1276, allocations: 7.953 kB / 358.6 MB, free: 12.92 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.1276, allocations: 0 / 358.6 MB, free: 12.92 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.1276, allocations: 7.984 kB / 358.6 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.873e-05/0.1277, allocations: 19.94 kB / 358.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.1277, allocations: 0 / 358.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.1278, allocations: 23.98 kB / 358.7 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.809e-06/0.1278, allocations: 4 kB / 358.7 MB, free: 12.86 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: 13 ($whenCondition2,$PRE.table.combiTimeTable.nextTimeEvent,table.y,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,$whenCondition1,step.y,pulse.y,$PRE.pulse.pulseStart,pulse.pulseStart,booleanExpression.y,sample.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001375/0.128, allocations: 153.6 kB / 358.8 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.865e-05/0.128, allocations: 15.81 kB / 358.8 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.568e-05/0.1281, allocations: 29.66 kB / 358.9 MB, free: 12.65 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.1281, allocations: 4.625 kB / 358.9 MB, free: 12.65 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.1281, allocations: 0 / 358.9 MB, free: 12.65 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.1281, allocations: 0 / 358.9 MB, free: 12.65 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002313/0.1284, allocations: 253.3 kB / 359.1 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.1284, allocations: 8 kB / 359.1 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.66e-05/0.1284, allocations: 4 kB / 359.1 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.1284, allocations: 4 kB / 359.1 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.1284, allocations: 4 kB / 359.1 MB, free: 12.33 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.1284, allocations: 7.938 kB / 359.2 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.1284, allocations: 4 kB / 359.2 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002884/0.1287, allocations: 178.5 kB / 359.3 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.939e-05/0.1288, allocations: 96.83 kB / 359.4 MB, free: 12.01 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.269e-05/0.1288, allocations: 7.984 kB / 359.4 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.403e-05/0.1289, allocations: 15.98 kB / 359.4 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.398e-05/0.129, allocations: 15.94 kB / 359.5 MB, free: 11.97 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.129, allocations: 4 kB / 359.5 MB, free: 11.96 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001821/0.1292, allocations: 212.5 kB / 359.7 MB, free: 11.76 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1292, allocations: 0 / 359.7 MB, free: 11.76 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002793/0.1295, allocations: 43.86 kB / 359.7 MB, free: 11.72 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,$whenCondition1,step.y,pulse.y,pulse.pulseStart,booleanExpression.y,sample.y) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0008982/0.1304, allocations: 421.8 kB / 360.1 MB, free: 11.46 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002494/0.1307, allocations: 91.89 kB / 360.2 MB, free: 11.37 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1307, allocations: 192 / 360.2 MB, free: 11.37 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.1308, allocations: 55.92 kB / 360.3 MB, free: 11.31 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/0.1312, allocations: 48.39 kB / 360.3 MB, free: 11.27 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005912/0.1318, allocations: 397.7 kB / 360.7 MB, free: 10.83 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003032/0.1321, allocations: 0.7322 MB / 361.4 MB, free: 10.07 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.905e-05/0.1321, allocations: 19.44 kB / 361.5 MB, free: 10.05 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1321, allocations: 0 / 361.5 MB, free: 10.05 MB / 302.1 MB Notification: Performance of Templates: time 0.004535/0.1367, allocations: 2.854 MB / 364.3 MB, free: 7.223 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources.makefile make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources.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.ShowLogicalSourcesCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSourcesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSourcesCalcHelperMain.o] Error 1