Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) 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(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_3.2.3_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_3.2.3_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.0009217/0.0009216, allocations: 98.72 kB / 17.96 MB, free: 5.637 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.001046/0.001046, allocations: 175.8 kB / 18.86 MB, free: 4.773 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.956/1.956, allocations: 205.4 MB / 225 MB, free: 13.07 MB / 190.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.0005541/0.0005542, allocations: 12 kB / 282 MB, free: 3.43 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.13, allocations: 47.59 MB / 329.6 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.002282/0.1323, allocations: 1.307 MB / 330.9 MB, free: 2.449 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.000878/0.1332, allocations: 455.9 kB / 331.4 MB, free: 1.996 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.782e-05/0.1333, allocations: 0 / 331.4 MB, free: 1.996 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 3.793e-05/0.1333, allocations: 7.984 kB / 331.4 MB, free: 1.988 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001078/0.1335, allocations: 11.86 kB / 331.4 MB, free: 1.977 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001905/0.1337, allocations: 15.98 kB / 331.4 MB, free: 1.961 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001132/0.1338, allocations: 55.8 kB / 331.4 MB, free: 1.906 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002245/0.134, allocations: 47.89 kB / 331.5 MB, free: 1.859 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.1342, allocations: 27.86 kB / 331.5 MB, free: 1.832 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.431e-05/0.1343, allocations: 23.86 kB / 331.5 MB, free: 1.809 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.636e-05/0.1343, allocations: 0 / 331.5 MB, free: 1.809 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.848e-05/0.1343, allocations: 4 kB / 331.5 MB, free: 1.805 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.568e-05/0.1344, allocations: 11.92 kB / 331.6 MB, free: 1.793 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.159e-05/0.1344, allocations: 45.58 kB / 331.6 MB, free: 1.742 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001082/0.1346, allocations: 44.11 kB / 331.6 MB, free: 1.699 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1346, allocations: 3.938 kB / 331.6 MB, free: 1.695 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.1346, allocations: 0 / 331.6 MB, free: 1.695 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.1346, allocations: 0 / 331.6 MB, free: 1.695 MB / 270.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.0006103/0.1352, allocations: 379.3 kB / 332 MB, free: 1.277 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/0.1353, allocations: 8.031 kB / 332 MB, free: 1.27 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.818e-05/0.1353, allocations: 12.78 kB / 332 MB, free: 1.258 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001719/0.1355, allocations: 176.2 kB / 332.2 MB, free: 1.047 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.93e-05/0.1355, allocations: 4.375 kB / 332.2 MB, free: 1.043 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.333e-05/0.1355, allocations: 8.375 kB / 332.2 MB, free: 1.035 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002879/0.1358, allocations: 122.2 kB / 332.3 MB, free: 0.8945 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.1359, allocations: 3.938 kB / 332.3 MB, free: 0.8906 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.1359, allocations: 0 / 332.3 MB, free: 0.8906 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.878e-06/0.1359, allocations: 4 kB / 332.3 MB, free: 0.8867 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002224/0.1361, allocations: 71.89 kB / 332.4 MB, free: 0.8164 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008081/0.1369, allocations: 0.6303 MB / 333 MB, free: 124 kB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000229/0.1372, allocations: 133 kB / 333.2 MB, free: 15.95 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001226/0.1373, allocations: 52.28 kB / 333.2 MB, free: 15.88 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.1374, allocations: 4 kB / 333.2 MB, free: 15.88 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.83e-05/0.1374, allocations: 38.56 kB / 333.3 MB, free: 15.83 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.1374, allocations: 0 / 333.3 MB, free: 15.83 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005408/0.138, allocations: 137.4 kB / 333.4 MB, free: 15.69 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/0.1381, allocations: 166.8 kB / 333.6 MB, free: 15.49 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.1382, allocations: 121.8 kB / 333.7 MB, free: 15.36 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.1382, allocations: 25.7 kB / 333.7 MB, free: 15.33 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.396e-05/0.1383, allocations: 104 kB / 333.8 MB, free: 15.22 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.648e-05/0.1384, allocations: 15.81 kB / 333.8 MB, free: 15.21 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.392e-05/0.1384, allocations: 13.72 kB / 333.8 MB, free: 15.19 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.1386, allocations: 318.8 kB / 334.2 MB, free: 14.87 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.23e-05/0.1387, allocations: 27.98 kB / 334.2 MB, free: 14.84 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.1388, allocations: 52.28 kB / 334.2 MB, free: 14.77 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002094/0.139, allocations: 100.1 kB / 334.3 MB, free: 14.66 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.139, allocations: 0 / 334.3 MB, free: 14.66 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002493/0.1393, allocations: 109.5 kB / 334.4 MB, free: 14.55 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.1393, allocations: 7.938 kB / 334.4 MB, free: 14.54 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.1393, allocations: 4 kB / 334.4 MB, free: 14.54 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.1394, allocations: 0 / 334.4 MB, free: 14.54 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.1395, allocations: 20.09 kB / 334.5 MB, free: 14.52 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.906e-06/0.1395, allocations: 3.984 kB / 334.5 MB, free: 14.51 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.65e-05/0.1396, allocations: 11.94 kB / 334.5 MB, free: 14.5 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.928e-06/0.1396, allocations: 4 kB / 334.5 MB, free: 14.5 MB / 286.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001157/0.1397, allocations: 121.7 kB / 334.6 MB, free: 14.37 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.038e-05/0.1398, allocations: 11.89 kB / 334.6 MB, free: 14.36 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.299e-05/0.1399, allocations: 15.48 kB / 334.6 MB, free: 14.34 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.1399, allocations: 4 kB / 334.6 MB, free: 14.34 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.1399, allocations: 4 kB / 334.6 MB, free: 14.33 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.1399, allocations: 7.922 kB / 334.6 MB, free: 14.32 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004566/0.1404, allocations: 181.6 kB / 334.8 MB, free: 14.1 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1404, allocations: 0 / 334.8 MB, free: 14.1 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.97e-05/0.1405, allocations: 19.92 kB / 334.8 MB, free: 14.08 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.1405, allocations: 128 / 334.8 MB, free: 14.08 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.1405, allocations: 12 kB / 334.9 MB, free: 14.07 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1405, allocations: 0 / 334.9 MB, free: 14.07 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1405, allocations: 0 / 334.9 MB, free: 14.07 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004257/0.141, allocations: 0.5004 MB / 335.4 MB, free: 13.55 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.244e-05/0.141, allocations: 81.11 kB / 335.4 MB, free: 13.45 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.841e-05/0.1411, allocations: 3.984 kB / 335.4 MB, free: 13.45 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001987/0.1413, allocations: 8 kB / 335.4 MB, free: 13.44 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.017e-05/0.1413, allocations: 11.92 kB / 335.5 MB, free: 13.43 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.1413, allocations: 8 kB / 335.5 MB, free: 13.42 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.666e-05/0.1414, allocations: 95.27 kB / 335.6 MB, free: 13.32 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1414, allocations: 0 / 335.6 MB, free: 13.32 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003753/0.1418, allocations: 11.91 kB / 335.6 MB, free: 13.31 MB / 286.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001136/0.1419, allocations: 99.19 kB / 335.7 MB, free: 13.21 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002501/0.1422, allocations: 72.02 kB / 335.7 MB, free: 13.14 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1422, allocations: 0 / 335.7 MB, free: 13.14 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001067/0.1423, allocations: 39.92 kB / 335.8 MB, free: 13.1 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000497/0.1428, allocations: 8.703 kB / 335.8 MB, free: 13.09 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004979/0.1433, allocations: 256.1 kB / 336 MB, free: 12.8 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003384/0.1437, allocations: 0.6965 MB / 336.7 MB, free: 12.07 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.75e-05/0.1437, allocations: 7.438 kB / 336.7 MB, free: 12.07 MB / 286.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1437, allocations: 0 / 336.7 MB, free: 12.07 MB / 286.1 MB Notification: Performance of Templates: time 0.002768/0.1465, allocations: 0.8599 MB / 337.6 MB, free: 11.21 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.makefile make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Blocks.Examples.BusUsageCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Blocks.Examples.BusUsageCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Blocks.Examples.BusUsageCalcHelperMain.o] Error 1