Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BLDC_BLDC.Examples.SMPM_NominalOperation.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BLDC 1.9.0/package.mo", uses=false) Using package BLDC with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BLDC 1.9.0/package.mo) 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(BLDC.Examples.SMPM_NominalOperation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="BLDC_BLDC.Examples.SMPM_NominalOperation") translateModel(BLDC.Examples.SMPM_NominalOperation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="BLDC_BLDC.Examples.SMPM_NominalOperation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00578/0.00578, allocations: 101.1 kB / 15.88 MB, free: 5.863 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.001077/0.001077, allocations: 189.3 kB / 16.79 MB, free: 5.805 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.275/1.275, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BLDC 1.9.0/package.mo): time 0.1367/0.1367, allocations: 2.574 MB / 293.2 MB, free: 3.461 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 83.88 kB / 354 MB, free: 5.375 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1065, allocations: 50.03 MB / 404 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFInst.instantiate(BLDC.Examples.SMPM_NominalOperation): time 0.01407/0.1207, allocations: 13.97 MB / 418 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009358/0.1301, allocations: 4.914 MB / 422.9 MB, free: 344 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002698/0.1328, allocations: 83.69 kB / 423 MB, free: 260 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2206/0.3534, allocations: 0.9233 MB / 423.9 MB, free: 36.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004365/0.3579, allocations: 1.044 MB / 425 MB, free: 36.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001778/0.3597, allocations: 0.7231 MB / 425.7 MB, free: 36.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004094/0.3638, allocations: 3.227 MB / 428.9 MB, free: 36.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00251/0.3663, allocations: 2.208 MB / 431.1 MB, free: 35.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001952/0.3682, allocations: 1.198 MB / 432.3 MB, free: 35.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001394/0.3697, allocations: 1.53 MB / 433.8 MB, free: 35.44 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00033/0.37, allocations: 235.3 kB / 434.1 MB, free: 35.44 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001181/0.3712, allocations: 447.1 kB / 434.5 MB, free: 35.37 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005552/0.3717, allocations: 0.7171 MB / 435.2 MB, free: 34.97 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001479/0.3732, allocations: 1.506 MB / 436.7 MB, free: 34.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002948/0.3762, allocations: 4.293 MB / 441 MB, free: 32.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.004e-06/0.3762, allocations: 0 / 441 MB, free: 32.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.3762, allocations: 0 / 441 MB, free: 32.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.733e-05/0.3763, allocations: 0 / 441 MB, free: 32.77 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 673 * Number of variables: 673 Notification: Performance of Generate backend data structure: time 0.006733/0.383, allocations: 3.489 MB / 444.5 MB, free: 30.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.3831, allocations: 9.656 kB / 444.5 MB, free: 30.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002389/0.3855, allocations: 0.5567 MB / 445.1 MB, free: 30.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00261/0.3881, allocations: 1.788 MB / 446.9 MB, free: 29.55 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001062/0.3882, allocations: 186.9 kB / 447.1 MB, free: 29.47 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003086/0.3885, allocations: 254.8 kB / 447.3 MB, free: 29.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004664/0.3932, allocations: 3.284 MB / 450.6 MB, free: 27.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.683e-05/0.3933, allocations: 14.59 kB / 450.6 MB, free: 27.97 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002061/0.3935, allocations: 107.3 kB / 450.7 MB, free: 27.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001157/0.3936, allocations: 117.3 kB / 450.8 MB, free: 27.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004/0.3976, allocations: 2.72 MB / 453.5 MB, free: 26.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01437/0.412, allocations: 10.95 MB / 464.5 MB, free: 20.35 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003157/0.4152, allocations: 3.606 MB / 468.1 MB, free: 17.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001325/0.4165, allocations: 0.8353 MB / 468.9 MB, free: 16.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004316/0.4209, allocations: 2.407 MB / 471.3 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.4209, allocations: 39.34 kB / 471.4 MB, free: 15.35 MB / 350.1 MB Notification: Performance of pre-optimization done (n=81): time 2.965e-06/0.4209, allocations: 0 / 471.4 MB, free: 15.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=117): time 0.01128/0.4322, allocations: 5.282 MB / 476.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.007202/0.4394, allocations: 5.025 MB / 481.7 MB, free: 9.758 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003144/0.4426, allocations: 1.521 MB / 483.2 MB, free: 9.156 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001669/0.4428, allocations: 44.67 kB / 483.2 MB, free: 9.109 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009941/0.4438, allocations: 1.257 MB / 484.5 MB, free: 8.145 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003474/0.4441, allocations: 403 kB / 484.9 MB, free: 7.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000444/0.4446, allocations: 281.1 kB / 485.2 MB, free: 7.699 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.508e-05/0.4447, allocations: 306.9 kB / 485.5 MB, free: 7.398 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008906/0.4456, allocations: 0.6114 MB / 486.1 MB, free: 7.156 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00133/0.4469, allocations: 1.141 MB / 487.2 MB, free: 6.238 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002295/0.4492, allocations: 1.886 MB / 489.1 MB, free: 4.914 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-05/0.4492, allocations: 5.125 kB / 489.1 MB, free: 4.914 MB / 350.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003195/0.4524, allocations: 2.021 MB / 491.1 MB, free: 4.031 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.241e-05/0.4525, allocations: 12.44 kB / 491.1 MB, free: 4.031 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.436e-05/0.4525, allocations: 16.66 kB / 491.2 MB, free: 4.031 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002654/0.4528, allocations: 95.91 kB / 491.3 MB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00133/0.4541, allocations: 392.3 kB / 491.6 MB, free: 3.922 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.061e-05/0.4542, allocations: 45.67 kB / 491.7 MB, free: 3.902 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001206/0.4554, allocations: 83.97 kB / 491.8 MB, free: 3.859 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/0.4555, allocations: 75.48 kB / 491.8 MB, free: 3.84 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (193): * Single equations (assignments): 191 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0012/0.4567, allocations: 0.8044 MB / 492.6 MB, free: 3.285 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000197/0.4569, allocations: 166.2 kB / 492.8 MB, free: 3.199 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002636/0.4595, allocations: 1.839 MB / 494.6 MB, free: 1.891 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.547e-06/0.4595, allocations: 15.94 kB / 494.7 MB, free: 1.875 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.4596, allocations: 0 / 494.7 MB, free: 1.875 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.4596, allocations: 3.984 kB / 494.7 MB, free: 1.871 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008274/0.4679, allocations: 5.627 MB / 0.4886 GB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.4679, allocations: 8 kB / 0.4886 GB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007165/0.4686, allocations: 183.7 kB / 0.4887 GB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001154/0.4698, allocations: 401.7 kB / 0.4891 GB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.924e-05/0.4698, allocations: 23.98 kB / 0.4892 GB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006542/0.4764, allocations: 4.762 MB / 0.4938 GB, free: 6.652 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006694/0.4831, allocations: 4.906 MB / 0.4986 GB, free: 1.594 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004511/0.4876, allocations: 2.765 MB / 0.5013 GB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001122/0.4888, allocations: 382.9 kB / 0.5017 GB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005763/0.4894, allocations: 24 kB / 0.5017 GB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001191/0.4906, allocations: 59.94 kB / 0.5017 GB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003031/0.4909, allocations: 104.8 kB / 0.5018 GB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.547e-05/0.491, allocations: 35.98 kB / 0.5019 GB, free: 14.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002087/0.4931, allocations: 1.031 MB / 0.5029 GB, free: 13.13 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4931, allocations: 0 / 0.5029 GB, free: 13.13 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002491/0.4956, allocations: 0.5038 MB / 0.5034 GB, free: 12.63 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 1 ($STATESET1.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003098/0.4959, allocations: 157.7 kB / 0.5035 GB, free: 12.47 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003388/0.4993, allocations: 1.707 MB / 0.5052 GB, free: 10.72 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.755e-06/0.4993, allocations: 4.25 kB / 0.5052 GB, free: 10.72 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002233/0.5016, allocations: 1.117 MB / 0.5063 GB, free: 9.566 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003249/0.5048, allocations: 443 kB / 0.5067 GB, free: 9.137 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01059/0.5154, allocations: 5.89 MB / 0.5125 GB, free: 3.172 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001797/0.5173, allocations: 1.917 MB / 0.5143 GB, free: 1.223 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005254/0.5178, allocations: 139.4 kB / 0.5145 GB, free: 1.086 MB / 382.1 MB Notification: Performance of SimCode: time 1.302e-06/0.5178, allocations: 0 / 0.5145 GB, free: 1.086 MB / 382.1 MB Notification: Performance of Templates: time 0.07287/0.5907, allocations: 58.01 MB / 0.5711 GB, free: 7.137 MB / 446.1 MB make -j1 -f BLDC_BLDC.Examples.SMPM_NominalOperation.makefile make -j1 -f BLDC_BLDC.Examples.SMPM_NominalOperation.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 OMCppBLDC_BLDC.Examples.SMPM_NominalOperationCalcHelperMain.o OMCppBLDC_BLDC.Examples.SMPM_NominalOperationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBLDC_BLDC.Examples.SMPM_NominalOperationCalcHelperMain.o] Error 1