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.0009514/0.0009515, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001101/0.0011, allocations: 182.4 kB / 16.92 MB, free: 6.922 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.532/1.532, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BLDC 1.9.0/package.mo): time 0.168/0.168, allocations: 2.564 MB / 294.6 MB, free: 4.176 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004411/0.0004411, allocations: 16 kB / 356.4 MB, free: 4.543 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1346, allocations: 51.02 MB / 407.4 MB, free: 1.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(BLDC.Examples.SMPM_NominalOperation): time 0.01652/0.1511, allocations: 13.29 MB / 420.7 MB, free: 4.133 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2742/0.4254, allocations: 4.848 MB / 425.6 MB, free: 35.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003358/0.4288, allocations: 83.09 kB / 425.6 MB, free: 35.01 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003787/0.4326, allocations: 0.9238 MB / 426.6 MB, free: 35.01 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004397/0.437, allocations: 1.042 MB / 427.6 MB, free: 34.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001687/0.4387, allocations: 0.7038 MB / 428.3 MB, free: 34.96 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004214/0.443, allocations: 3.229 MB / 431.5 MB, free: 34.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002957/0.4459, allocations: 2.19 MB / 433.7 MB, free: 34.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002284/0.4482, allocations: 1.025 MB / 434.8 MB, free: 33.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002222/0.4505, allocations: 1.325 MB / 436.1 MB, free: 33.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003096/0.4508, allocations: 159 kB / 436.2 MB, free: 33.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001173/0.452, allocations: 371.1 kB / 436.6 MB, free: 33.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000589/0.4526, allocations: 0.606 MB / 437.2 MB, free: 33.4 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001633/0.4542, allocations: 1.395 MB / 438.6 MB, free: 32.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004343/0.4586, allocations: 4.161 MB / 442.8 MB, free: 32.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.4586, allocations: 2.531 kB / 442.8 MB, free: 32.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.05e-06/0.4586, allocations: 2.906 kB / 442.8 MB, free: 32.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000123/0.4587, allocations: 3.938 kB / 442.8 MB, free: 32.52 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.00854/0.4673, allocations: 2.963 MB / 445.7 MB, free: 30.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.685e-05/0.4674, allocations: 9.406 kB / 445.7 MB, free: 30.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003206/0.4706, allocations: 0.5572 MB / 446.3 MB, free: 30.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003566/0.4742, allocations: 1.789 MB / 448.1 MB, free: 29.67 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001311/0.4743, allocations: 191.7 kB / 448.3 MB, free: 29.58 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003653/0.4747, allocations: 254.5 kB / 448.5 MB, free: 29.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005273/0.48, allocations: 3.29 MB / 451.8 MB, free: 28.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.165e-05/0.48, allocations: 3.188 kB / 451.8 MB, free: 28.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002111/0.4803, allocations: 101.2 kB / 451.9 MB, free: 28.01 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000114/0.4804, allocations: 122.7 kB / 452 MB, free: 27.99 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004087/0.4845, allocations: 2.715 MB / 454.8 MB, free: 26.94 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0153/0.4998, allocations: 11 MB / 465.8 MB, free: 20.46 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003437/0.5033, allocations: 3.61 MB / 469.4 MB, free: 17.17 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001521/0.5048, allocations: 0.8417 MB / 470.2 MB, free: 16.88 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004834/0.5097, allocations: 2.404 MB / 472.6 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.897e-05/0.5097, allocations: 39.34 kB / 472.6 MB, free: 15.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=81): time 3.407e-06/0.5097, allocations: 0 / 472.6 MB, free: 15.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=117): time 0.01262/0.5224, allocations: 5.299 MB / 477.9 MB, free: 13.01 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.007654/0.5301, allocations: 5.014 MB / 483 MB, free: 9.867 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002748/0.5328, allocations: 1.526 MB / 484.5 MB, free: 9.258 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000192/0.533, allocations: 46.27 kB / 484.5 MB, free: 9.211 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000836/0.5339, allocations: 1.247 MB / 485.8 MB, free: 8.152 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003404/0.5342, allocations: 406.3 kB / 486.2 MB, free: 7.809 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001809/0.5344, allocations: 122.4 kB / 486.3 MB, free: 7.727 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.59e-05/0.5345, allocations: 306.1 kB / 486.6 MB, free: 7.426 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001016/0.5355, allocations: 0.6124 MB / 487.2 MB, free: 7.105 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001188/0.5367, allocations: 1.141 MB / 488.3 MB, free: 6.086 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002324/0.539, allocations: 1.899 MB / 490.2 MB, free: 4.648 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.144e-05/0.5391, allocations: 8.125 kB / 490.3 MB, free: 4.645 MB / 350.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003341/0.5424, allocations: 2.014 MB / 492.3 MB, free: 3.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.089e-05/0.5425, allocations: 15.52 kB / 492.3 MB, free: 3.586 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.511e-05/0.5425, allocations: 17.84 kB / 492.3 MB, free: 3.586 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002661/0.5428, allocations: 92.05 kB / 492.4 MB, free: 3.539 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001357/0.5441, allocations: 391.8 kB / 492.8 MB, free: 3.441 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.144e-05/0.5442, allocations: 42.77 kB / 492.8 MB, free: 3.426 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001359/0.5455, allocations: 91.05 kB / 492.9 MB, free: 3.375 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.697e-05/0.5456, allocations: 66.31 kB / 493 MB, free: 3.363 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.001488/0.5471, allocations: 0.8042 MB / 493.8 MB, free: 2.809 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000351/0.5475, allocations: 176.3 kB / 493.9 MB, free: 2.715 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003426/0.5509, allocations: 1.826 MB / 495.8 MB, free: 1.652 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.071e-05/0.551, allocations: 12.34 kB / 495.8 MB, free: 1.652 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.551, allocations: 0 / 495.8 MB, free: 1.652 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.413e-05/0.551, allocations: 7.984 kB / 495.8 MB, free: 1.645 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009547/0.5606, allocations: 5.629 MB / 0.4897 GB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.5606, allocations: 4 kB / 0.4897 GB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007516/0.5614, allocations: 183.8 kB / 0.4898 GB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001184/0.5626, allocations: 409.6 kB / 0.4902 GB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.971e-05/0.5626, allocations: 20 kB / 0.4903 GB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006676/0.5693, allocations: 4.767 MB / 0.4949 GB, free: 6.547 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.007503/0.5769, allocations: 4.908 MB / 0.4997 GB, free: 1.488 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004803/0.5817, allocations: 2.764 MB / 0.5024 GB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000995/0.5827, allocations: 390.9 kB / 0.5028 GB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001983/0.583, allocations: 20 kB / 0.5028 GB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007915/0.5838, allocations: 59.94 kB / 0.5029 GB, free: 14.19 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002534/0.584, allocations: 104.7 kB / 0.503 GB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-05/0.5841, allocations: 36.06 kB / 0.503 GB, free: 14.05 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001663/0.5858, allocations: 1.035 MB / 0.504 GB, free: 13.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5858, allocations: 0 / 0.504 GB, free: 13.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002094/0.5879, allocations: 0.5039 MB / 0.5045 GB, free: 12.52 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.0003462/0.5882, allocations: 141.8 kB / 0.5046 GB, free: 12.37 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002791/0.591, allocations: 1.715 MB / 0.5063 GB, free: 10.62 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.5911, allocations: 384 / 0.5063 GB, free: 10.62 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001799/0.5929, allocations: 1.121 MB / 0.5074 GB, free: 9.461 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002713/0.5956, allocations: 451.8 kB / 0.5078 GB, free: 9.027 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0106/0.6062, allocations: 5.925 MB / 0.5136 GB, free: 3.012 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001919/0.6082, allocations: 1.924 MB / 0.5155 GB, free: 1.055 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000807/0.609, allocations: 131.4 kB / 0.5156 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of SimCode: time 2.224e-06/0.609, allocations: 4 kB / 0.5156 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of Templates: time 0.07691/0.686, allocations: 57.6 MB / 0.5719 GB, free: 7.371 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