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.0008793/0.0008793, allocations: 86.88 kB / 17.58 MB, free: 5.758 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.001188/0.001188, allocations: 183.4 kB / 18.48 MB, free: 5.207 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.694/1.694, allocations: 205.4 MB / 224.6 MB, free: 13.16 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.0005797/0.0005797, allocations: 11.44 kB / 281.4 MB, free: 3.746 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1126, allocations: 47.58 MB / 329 MB, free: 4.094 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.001879/0.1145, allocations: 1.287 MB / 330.3 MB, free: 2.793 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007034/0.1152, allocations: 436.2 kB / 330.7 MB, free: 2.359 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.194e-05/0.1153, allocations: 0 / 330.7 MB, free: 2.359 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 3.245e-05/0.1154, allocations: 7.922 kB / 330.7 MB, free: 2.352 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001092/0.1155, allocations: 15.86 kB / 330.7 MB, free: 2.336 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001581/0.1156, allocations: 11.98 kB / 330.7 MB, free: 2.324 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 9.988e-05/0.1157, allocations: 51.8 kB / 330.8 MB, free: 2.273 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001799/0.1159, allocations: 47.89 kB / 330.8 MB, free: 2.227 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.966e-05/0.116, allocations: 23.91 kB / 330.8 MB, free: 2.203 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.569e-05/0.1161, allocations: 19.86 kB / 330.9 MB, free: 2.184 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.1162, allocations: 4 kB / 330.9 MB, free: 2.18 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.039e-05/0.1162, allocations: 0 / 330.9 MB, free: 2.18 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.671e-05/0.1162, allocations: 11.94 kB / 330.9 MB, free: 2.168 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.202e-05/0.1162, allocations: 29.64 kB / 330.9 MB, free: 2.133 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 8.534e-05/0.1163, allocations: 51.89 kB / 331 MB, free: 2.082 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1163, allocations: 0 / 331 MB, free: 2.082 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1163, allocations: 0 / 331 MB, free: 2.082 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.1164, allocations: 4 kB / 331 MB, free: 2.078 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.0005092/0.1169, allocations: 375.4 kB / 331.3 MB, free: 1.664 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.1169, allocations: 8.031 kB / 331.3 MB, free: 1.656 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.435e-05/0.117, allocations: 7.906 kB / 331.3 MB, free: 1.648 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.1171, allocations: 174.9 kB / 331.5 MB, free: 1.438 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.848e-05/0.1171, allocations: 11.95 kB / 331.5 MB, free: 1.426 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.1172, allocations: 4 kB / 331.5 MB, free: 1.422 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002306/0.1174, allocations: 125.9 kB / 331.6 MB, free: 1.277 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.1174, allocations: 0 / 331.6 MB, free: 1.277 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.1174, allocations: 0 / 331.6 MB, free: 1.277 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.1175, allocations: 4 kB / 331.7 MB, free: 1.273 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001917/0.1177, allocations: 75.83 kB / 331.7 MB, free: 1.199 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006559/0.1183, allocations: 0.6303 MB / 332.4 MB, free: 0.5039 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001741/0.1185, allocations: 128.9 kB / 332.5 MB, free: 340 kB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.1186, allocations: 60.41 kB / 332.5 MB, free: 264 kB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.1186, allocations: 4 kB / 332.5 MB, free: 260 kB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.1187, allocations: 34.5 kB / 332.6 MB, free: 216 kB / 270.1 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.1187, allocations: 0 / 332.6 MB, free: 216 kB / 270.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004731/0.1192, allocations: 138.1 kB / 332.7 MB, free: 72 kB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.774e-05/0.1193, allocations: 166.2 kB / 332.9 MB, free: 15.87 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.906e-05/0.1194, allocations: 125.7 kB / 333 MB, free: 15.74 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.306e-05/0.1194, allocations: 25.7 kB / 333 MB, free: 15.71 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.8e-05/0.1195, allocations: 104 kB / 333.1 MB, free: 15.6 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.003e-05/0.1195, allocations: 11.8 kB / 333.1 MB, free: 15.59 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.017e-06/0.1195, allocations: 0 / 333.1 MB, free: 15.59 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.1197, allocations: 318.8 kB / 333.4 MB, free: 15.27 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.904e-05/0.1197, allocations: 31.97 kB / 333.5 MB, free: 15.24 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.375e-05/0.1198, allocations: 52.28 kB / 333.5 MB, free: 15.17 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.244e-05/0.1199, allocations: 31.98 kB / 333.6 MB, free: 15.14 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1199, allocations: 3.938 kB / 333.6 MB, free: 15.14 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002078/0.1202, allocations: 109.5 kB / 333.7 MB, free: 15.02 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.1202, allocations: 4 kB / 333.7 MB, free: 15.02 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.1202, allocations: 0 / 333.7 MB, free: 15.02 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.1202, allocations: 4 kB / 333.7 MB, free: 15.02 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.828e-05/0.1203, allocations: 15.98 kB / 333.7 MB, free: 15 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.311e-06/0.1203, allocations: 0 / 333.7 MB, free: 15 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.066e-05/0.1204, allocations: 24 kB / 333.7 MB, free: 14.98 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.437e-06/0.1204, allocations: 7.938 kB / 333.7 MB, free: 14.97 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.98e-05/0.1205, allocations: 121.8 kB / 333.8 MB, free: 14.84 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.354e-05/0.1206, allocations: 4 kB / 333.9 MB, free: 14.84 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.381e-05/0.1207, allocations: 15.47 kB / 333.9 MB, free: 14.82 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.1207, allocations: 4 kB / 333.9 MB, free: 14.82 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1207, allocations: 3.938 kB / 333.9 MB, free: 14.81 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.1207, allocations: 4 kB / 333.9 MB, free: 14.81 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003555/0.121, allocations: 185.5 kB / 334.1 MB, free: 14.58 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.1211, allocations: 8 kB / 334.1 MB, free: 14.57 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.223e-05/0.1211, allocations: 12.11 kB / 334.1 MB, free: 14.56 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.157e-06/0.1211, allocations: 8 kB / 334.1 MB, free: 14.55 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.1212, allocations: 0 / 334.1 MB, free: 14.55 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.1212, allocations: 4 kB / 334.1 MB, free: 14.55 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.1212, allocations: 3.938 kB / 334.1 MB, free: 14.54 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003509/0.1215, allocations: 0.4928 MB / 334.6 MB, free: 14.03 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.038e-05/0.1216, allocations: 81.02 kB / 334.7 MB, free: 13.93 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.1216, allocations: 8 kB / 334.7 MB, free: 13.93 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002052/0.1218, allocations: 11.98 kB / 334.7 MB, free: 13.91 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.523e-05/0.1219, allocations: 15.92 kB / 334.7 MB, free: 13.9 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.1219, allocations: 0 / 334.7 MB, free: 13.9 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.799e-05/0.1219, allocations: 91.23 kB / 334.8 MB, free: 13.81 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1219, allocations: 4 kB / 334.8 MB, free: 13.8 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003581/0.1223, allocations: 8 kB / 334.8 MB, free: 13.8 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 (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.0001099/0.1224, allocations: 103.2 kB / 334.9 MB, free: 13.69 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002146/0.1226, allocations: 63.91 kB / 335 MB, free: 13.62 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1227, allocations: 320 / 335 MB, free: 13.62 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 9.431e-05/0.1228, allocations: 43.91 kB / 335 MB, free: 13.58 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004948/0.1233, allocations: 11.94 kB / 335 MB, free: 13.57 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005037/0.1238, allocations: 273.7 kB / 335.3 MB, free: 13.26 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.1241, allocations: 0.6926 MB / 336 MB, free: 12.54 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.345e-05/0.1241, allocations: 7.438 kB / 336 MB, free: 12.54 MB / 286.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1241, allocations: 4 kB / 336 MB, free: 12.53 MB / 286.1 MB Notification: Performance of Templates: time 0.002461/0.1266, allocations: 0.853 MB / 336.8 MB, free: 11.68 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++ 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_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