Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.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.BusUsage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|controlBus.realSignal1|controlBus.integerSignal|controlBus.booleanSignal|controlBus.subControlBus.myRealSignal|controlBus.subControlBus.myBooleanSignal",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Blocks.Examples.BusUsage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001058, allocations: 95.92 kB / 16.95 MB, free: 5.559 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.0008434/0.0008434, allocations: 184.2 kB / 17.85 MB, free: 5.238 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.42/1.42, allocations: 223.3 MB / 241.9 MB, free: 14.58 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000318/0.000318, allocations: 4 kB / 301.4 MB, free: 6.246 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.125, allocations: 50.42 MB / 351.9 MB, free: 3.816 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.001825/0.1269, allocations: 1.282 MB / 353.1 MB, free: 2.516 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006069/0.1275, allocations: 395.4 kB / 353.5 MB, free: 2.129 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.142e-05/0.1276, allocations: 7.938 kB / 353.5 MB, free: 2.121 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.482e-05/0.1276, allocations: 3.984 kB / 353.5 MB, free: 2.117 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.992e-05/0.1277, allocations: 11.86 kB / 353.6 MB, free: 2.105 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000134/0.1278, allocations: 19.98 kB / 353.6 MB, free: 2.086 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.705e-05/0.1279, allocations: 51.8 kB / 353.6 MB, free: 2.035 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001589/0.1281, allocations: 31.97 kB / 353.7 MB, free: 2.004 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.255e-05/0.1282, allocations: 27.84 kB / 353.7 MB, free: 1.977 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.971e-05/0.1283, allocations: 23.86 kB / 353.7 MB, free: 1.953 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.1283, allocations: 0 / 353.7 MB, free: 1.953 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.369e-05/0.1283, allocations: 4 kB / 353.7 MB, free: 1.949 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.118e-05/0.1283, allocations: 0 / 353.7 MB, free: 1.949 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.232e-05/0.1284, allocations: 37.64 kB / 353.7 MB, free: 1.906 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.691e-05/0.1285, allocations: 47.89 kB / 353.8 MB, free: 1.859 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.1285, allocations: 4 kB / 353.8 MB, free: 1.855 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.1285, allocations: 4 kB / 353.8 MB, free: 1.852 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.187e-06/0.1285, allocations: 0 / 353.8 MB, free: 1.852 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.000456/0.129, allocations: 371.3 kB / 354.2 MB, free: 1.441 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.129, allocations: 12.03 kB / 354.2 MB, free: 1.43 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.576e-05/0.129, allocations: 11.91 kB / 354.2 MB, free: 1.418 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.1292, allocations: 174.9 kB / 354.4 MB, free: 1.207 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.1292, allocations: 0 / 354.4 MB, free: 1.207 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/0.1292, allocations: 12 kB / 354.4 MB, free: 1.195 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002301/0.1295, allocations: 113.9 kB / 354.5 MB, free: 1.062 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.1295, allocations: 3.938 kB / 354.5 MB, free: 1.059 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.1295, allocations: 4 kB / 354.5 MB, free: 1.055 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.1295, allocations: 7.953 kB / 354.5 MB, free: 1.047 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001694/0.1297, allocations: 67.89 kB / 354.6 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006153/0.1303, allocations: 0.6381 MB / 355.2 MB, free: 284 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001652/0.1305, allocations: 129 kB / 355.3 MB, free: 108 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.1306, allocations: 64.28 kB / 355.4 MB, free: 28 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.1306, allocations: 0 / 355.4 MB, free: 28 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.994e-05/0.1307, allocations: 34.56 kB / 355.4 MB, free: 15.98 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.1307, allocations: 0 / 355.4 MB, free: 15.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004398/0.1311, allocations: 138 kB / 355.6 MB, free: 15.84 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.684e-05/0.1312, allocations: 170.2 kB / 355.7 MB, free: 15.64 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.753e-05/0.1313, allocations: 121.7 kB / 355.8 MB, free: 15.51 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.1313, allocations: 25.7 kB / 355.9 MB, free: 15.48 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.321e-05/0.1314, allocations: 104 kB / 356 MB, free: 15.38 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.11e-05/0.1314, allocations: 15.75 kB / 356 MB, free: 15.36 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-06/0.1314, allocations: 0 / 356 MB, free: 15.36 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.1316, allocations: 318.8 kB / 356.3 MB, free: 15.04 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.936e-05/0.1316, allocations: 31.98 kB / 356.3 MB, free: 15.01 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.126e-05/0.1317, allocations: 48.28 kB / 356.4 MB, free: 14.95 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.583e-05/0.1318, allocations: 39.88 kB / 356.4 MB, free: 14.91 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1318, allocations: 0 / 356.4 MB, free: 14.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002034/0.132, allocations: 105.6 kB / 356.5 MB, free: 14.8 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.1321, allocations: 8 kB / 356.5 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.371e-06/0.1321, allocations: 0 / 356.5 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.1321, allocations: 4 kB / 356.5 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.847e-05/0.1322, allocations: 15.92 kB / 356.5 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.1322, allocations: 4 kB / 356.5 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.687e-05/0.1323, allocations: 20.05 kB / 356.6 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.1323, allocations: 3.984 kB / 356.6 MB, free: 14.74 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 8.471e-05/0.1324, allocations: 117.8 kB / 356.7 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.708e-05/0.1325, allocations: 8 kB / 356.7 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.191e-05/0.1325, allocations: 15.52 kB / 356.7 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.1325, allocations: 0 / 356.7 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1325, allocations: 4 kB / 356.7 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/0.1326, allocations: 0 / 356.7 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003609/0.1329, allocations: 197.4 kB / 356.9 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1329, allocations: 3.953 kB / 356.9 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.427e-05/0.133, allocations: 19.92 kB / 356.9 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.133, allocations: 4 kB / 356.9 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.133, allocations: 128 / 356.9 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.1331, allocations: 4 kB / 356.9 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1331, allocations: 4 kB / 356.9 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003628/0.1334, allocations: 496.6 kB / 357.4 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.214e-05/0.1335, allocations: 92.97 kB / 357.5 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.1335, allocations: 4 kB / 357.5 MB, free: 13.69 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002069/0.1337, allocations: 7.984 kB / 357.5 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.695e-05/0.1338, allocations: 11.98 kB / 357.5 MB, free: 13.67 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.1338, allocations: 4 kB / 357.5 MB, free: 13.67 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.937e-05/0.1338, allocations: 87.28 kB / 357.6 MB, free: 13.58 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1338, allocations: 3.938 kB / 357.6 MB, free: 13.58 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003729/0.1342, allocations: 8 kB / 357.6 MB, free: 13.57 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.0001032/0.1343, allocations: 107.2 kB / 357.7 MB, free: 13.46 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00022/0.1346, allocations: 68.09 kB / 357.8 MB, free: 13.39 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1346, allocations: 4.062 kB / 357.8 MB, free: 13.39 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001067/0.1347, allocations: 35.97 kB / 357.8 MB, free: 13.35 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005241/0.1352, allocations: 22.52 kB / 357.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004512/0.1357, allocations: 261.9 kB / 358.1 MB, free: 13.04 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/0.136, allocations: 0.6926 MB / 358.8 MB, free: 12.32 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.523e-05/0.136, allocations: 15.44 kB / 358.8 MB, free: 12.3 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.136, allocations: 3.938 kB / 358.8 MB, free: 12.3 MB / 302.1 MB Notification: Performance of Templates: time 0.002378/0.1384, allocations: 0.8522 MB / 359.7 MB, free: 11.45 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.makefile make -j1 -f Modelica_4.0.0_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_4.0.0_Modelica.Blocks.Examples.BusUsageCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Blocks.Examples.BusUsageCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Blocks.Examples.BusUsageCalcHelperMain.o] Error 1