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.001303/0.001303, allocations: 107.8 kB / 17.81 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.001605/0.001605, allocations: 197.9 kB / 18.73 MB, free: 4.641 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.897/1.897, allocations: 205.1 MB / 224.6 MB, free: 12.47 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.001279/0.001279, allocations: 43.94 kB / 280.6 MB, free: 3.602 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1341, allocations: 46.63 MB / 327.2 MB, free: 4.906 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.003956/0.1381, allocations: 1.646 MB / 328.9 MB, free: 3.242 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008376/0.139, allocations: 459.8 kB / 329.3 MB, free: 2.785 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.187e-05/0.1391, allocations: 4 kB / 329.3 MB, free: 2.781 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 6.241e-05/0.1392, allocations: 3.938 kB / 329.3 MB, free: 2.777 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000112/0.1393, allocations: 7.938 kB / 329.3 MB, free: 2.77 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002085/0.1395, allocations: 11.98 kB / 329.4 MB, free: 2.758 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001261/0.1396, allocations: 63.72 kB / 329.4 MB, free: 2.695 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002349/0.1399, allocations: 47.95 kB / 329.5 MB, free: 2.648 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001324/0.14, allocations: 27.86 kB / 329.5 MB, free: 2.621 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.72e-05/0.1401, allocations: 35.78 kB / 329.5 MB, free: 2.586 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.122e-05/0.1402, allocations: 8 kB / 329.5 MB, free: 2.578 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.84e-05/0.1402, allocations: 4 kB / 329.5 MB, free: 2.574 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.007e-05/0.1402, allocations: 15.86 kB / 329.6 MB, free: 2.559 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.549e-05/0.1403, allocations: 35.8 kB / 329.6 MB, free: 2.523 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001072/0.1404, allocations: 40.14 kB / 329.6 MB, free: 2.484 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.1404, allocations: 4 kB / 329.6 MB, free: 2.48 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1404, allocations: 0 / 329.6 MB, free: 2.48 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.1404, allocations: 0 / 329.6 MB, free: 2.48 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.0008303/0.1413, allocations: 379.2 kB / 330 MB, free: 2.062 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.802e-05/0.1414, allocations: 16.03 kB / 330 MB, free: 2.047 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.909e-05/0.1414, allocations: 8.844 kB / 330 MB, free: 2.039 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002014/0.1416, allocations: 168.3 kB / 330.2 MB, free: 1.836 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.092e-05/0.1416, allocations: 384 / 330.2 MB, free: 1.836 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.951e-05/0.1417, allocations: 8.375 kB / 330.2 MB, free: 1.828 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000279/0.142, allocations: 122.2 kB / 330.3 MB, free: 1.688 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.142, allocations: 0 / 330.3 MB, free: 1.688 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.142, allocations: 4 kB / 330.3 MB, free: 1.684 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.142, allocations: 0 / 330.3 MB, free: 1.684 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001893/0.1422, allocations: 55.89 kB / 330.4 MB, free: 1.629 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000781/0.143, allocations: 0.6457 MB / 331 MB, free: 0.918 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.1432, allocations: 117 kB / 331.1 MB, free: 0.7578 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.1433, allocations: 52.39 kB / 331.2 MB, free: 0.6914 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.804e-05/0.1434, allocations: 7.938 kB / 331.2 MB, free: 0.6836 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.496e-05/0.1434, allocations: 38.56 kB / 331.2 MB, free: 0.6367 MB / 270.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.1434, allocations: 0 / 331.2 MB, free: 0.6367 MB / 270.1 MB Notification: Performance of matching and sorting (n=6): time 0.000463/0.1439, allocations: 122.1 kB / 331.4 MB, free: 0.5117 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001599/0.144, allocations: 166.2 kB / 331.5 MB, free: 320 kB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001999/0.1443, allocations: 125.7 kB / 331.6 MB, free: 184 kB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.1443, allocations: 25.7 kB / 331.7 MB, free: 152 kB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.854e-05/0.1444, allocations: 99.92 kB / 331.8 MB, free: 48 kB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.723e-05/0.1444, allocations: 19.8 kB / 331.8 MB, free: 28 kB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.221e-05/0.1444, allocations: 17.72 kB / 331.8 MB, free: 4 kB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0003559/0.1448, allocations: 322.9 kB / 332.1 MB, free: 15.68 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.859e-05/0.1449, allocations: 15.98 kB / 332.1 MB, free: 15.66 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.606e-05/0.145, allocations: 52.28 kB / 332.2 MB, free: 15.6 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001984/0.1452, allocations: 80.19 kB / 332.3 MB, free: 15.5 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1452, allocations: 4 kB / 332.3 MB, free: 15.5 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002258/0.1455, allocations: 97.59 kB / 332.4 MB, free: 15.4 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.1455, allocations: 8 kB / 332.4 MB, free: 15.39 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.1455, allocations: 0 / 332.4 MB, free: 15.39 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.1455, allocations: 4 kB / 332.4 MB, free: 15.39 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.1456, allocations: 11.98 kB / 332.4 MB, free: 15.38 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/0.1457, allocations: 0 / 332.4 MB, free: 15.38 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.873e-05/0.1457, allocations: 11.94 kB / 332.4 MB, free: 15.36 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.1458, allocations: 3.938 kB / 332.4 MB, free: 15.36 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.0001354/0.1459, allocations: 129.8 kB / 332.5 MB, free: 15.22 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.722e-05/0.146, allocations: 11.89 kB / 332.5 MB, free: 15.21 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.981e-05/0.146, allocations: 15.48 kB / 332.6 MB, free: 15.2 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.146, allocations: 0 / 332.6 MB, free: 15.2 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.1461, allocations: 4.125 kB / 332.6 MB, free: 15.19 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.483e-06/0.1461, allocations: 3.938 kB / 332.6 MB, free: 15.19 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004062/0.1465, allocations: 189.6 kB / 332.7 MB, free: 14.95 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1465, allocations: 0 / 332.7 MB, free: 14.95 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.924e-05/0.1466, allocations: 15.98 kB / 332.8 MB, free: 14.94 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1466, allocations: 0 / 332.8 MB, free: 14.94 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.1466, allocations: 8 kB / 332.8 MB, free: 14.93 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1466, allocations: 0 / 332.8 MB, free: 14.93 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.1466, allocations: 0 / 332.8 MB, free: 14.93 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004417/0.1471, allocations: 0.4887 MB / 333.3 MB, free: 14.42 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.753e-05/0.1471, allocations: 81.02 kB / 333.3 MB, free: 14.32 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.238e-05/0.1472, allocations: 7.984 kB / 333.3 MB, free: 14.32 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002002/0.1474, allocations: 4 kB / 333.3 MB, free: 14.31 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.71e-05/0.1474, allocations: 15.92 kB / 333.4 MB, free: 14.3 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.1474, allocations: 7.938 kB / 333.4 MB, free: 14.29 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.092e-05/0.1475, allocations: 95.2 kB / 333.5 MB, free: 14.2 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1475, allocations: 4 kB / 333.5 MB, free: 14.19 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003669/0.1479, allocations: 8 kB / 333.5 MB, free: 14.18 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.0001318/0.148, allocations: 103.2 kB / 333.6 MB, free: 14.07 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002367/0.1483, allocations: 55.89 kB / 333.6 MB, free: 14.02 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1483, allocations: 0 / 333.6 MB, free: 14.02 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 9.904e-05/0.1484, allocations: 36.3 kB / 333.7 MB, free: 13.98 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005166/0.1489, allocations: 8 kB / 333.7 MB, free: 13.98 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000538/0.1495, allocations: 250.2 kB / 333.9 MB, free: 13.69 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000491/0.15, allocations: 0.6887 MB / 334.6 MB, free: 12.97 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.521e-05/0.15, allocations: 15.42 kB / 334.6 MB, free: 12.96 MB / 286.1 MB Notification: Performance of SimCode: time 4.01e-07/0.15, allocations: 0 / 334.6 MB, free: 12.96 MB / 286.1 MB Notification: Performance of Templates: time 0.002593/0.1526, allocations: 0.8607 MB / 335.5 MB, free: 12.1 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