Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.Motor.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) 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(Modelica.Thermal.HeatTransfer.Examples.Motor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1440000,variableFilter="time|core.T|winding.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.Motor") translateModel(Modelica.Thermal.HeatTransfer.Examples.Motor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1440000,variableFilter="time|core.T|winding.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.Motor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009731/0.0009732, allocations: 93.88 kB / 16.95 MB, free: 5.953 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.001001/0.001001, allocations: 182.4 kB / 17.84 MB, free: 5.617 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.514/1.514, allocations: 223.2 MB / 241.8 MB, free: 308 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00026/0.0002601, allocations: 5.156 kB / 301.4 MB, free: 6.465 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09545/0.09574, allocations: 50.43 MB / 351.9 MB, free: 4.031 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.00235/0.09812, allocations: 1.857 MB / 353.7 MB, free: 2.16 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001536/0.09968, allocations: 1.002 MB / 354.7 MB, free: 1.152 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.09979, allocations: 3.938 kB / 354.7 MB, free: 1.148 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003127/0.1001, allocations: 87.69 kB / 354.8 MB, free: 1.062 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002571/0.1004, allocations: 95.42 kB / 354.9 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002971/0.1007, allocations: 131 kB / 355 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002823/0.101, allocations: 254.8 kB / 355.3 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000177/0.1012, allocations: 72.77 kB / 355.4 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.1013, allocations: 91.64 kB / 355.4 MB, free: 436 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001478/0.1015, allocations: 99.59 kB / 355.5 MB, free: 336 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.903e-05/0.1015, allocations: 19.94 kB / 355.6 MB, free: 316 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/0.1016, allocations: 31.98 kB / 355.6 MB, free: 284 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.617e-05/0.1017, allocations: 47.83 kB / 355.6 MB, free: 236 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.153e-05/0.1018, allocations: 65.58 kB / 355.7 MB, free: 164 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002713/0.1021, allocations: 211.8 kB / 355.9 MB, free: 15.95 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1021, allocations: 0 / 355.9 MB, free: 15.95 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1021, allocations: 0 / 355.9 MB, free: 15.95 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.1021, allocations: 0 / 355.9 MB, free: 15.95 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0007919/0.1029, allocations: 0.5029 MB / 356.4 MB, free: 15.4 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.1029, allocations: 8.031 kB / 356.4 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001717/0.1031, allocations: 35.66 kB / 356.5 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003088/0.1034, allocations: 255.3 kB / 356.7 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.1035, allocations: 11.94 kB / 356.7 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.743e-05/0.1035, allocations: 20 kB / 356.7 MB, free: 15.04 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003315/0.1038, allocations: 161.4 kB / 356.9 MB, free: 14.87 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.1039, allocations: 4 kB / 356.9 MB, free: 14.87 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.157e-05/0.1039, allocations: 8 kB / 356.9 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.1039, allocations: 7.953 kB / 356.9 MB, free: 14.85 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002323/0.1042, allocations: 111.9 kB / 357 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008048/0.105, allocations: 0.5624 MB / 357.6 MB, free: 14.13 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002674/0.1052, allocations: 162.5 kB / 357.7 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001365/0.1054, allocations: 87.58 kB / 357.8 MB, free: 13.88 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.75e-05/0.1054, allocations: 7.953 kB / 357.8 MB, free: 13.87 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002352/0.1057, allocations: 115.3 kB / 358 MB, free: 13.74 MB / 302.1 MB Notification: Performance of pre-optimization done (n=20): time 1.463e-06/0.1057, allocations: 4 kB / 358 MB, free: 13.74 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.0004251/0.1061, allocations: 232 kB / 358.2 MB, free: 13.51 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.532e-05/0.1062, allocations: 51.41 kB / 358.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002308/0.1064, allocations: 249 kB / 358.5 MB, free: 13.2 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.1064, allocations: 29.7 kB / 358.5 MB, free: 13.16 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.807e-05/0.1065, allocations: 144.3 kB / 358.6 MB, free: 13.02 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.215e-05/0.1066, allocations: 67.09 kB / 358.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.317e-06/0.1066, allocations: 4 kB / 358.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.1067, allocations: 342.8 kB / 359 MB, free: 12.6 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.1068, allocations: 51.97 kB / 359.1 MB, free: 12.55 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/0.107, allocations: 87.47 kB / 359.2 MB, free: 12.45 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/0.1071, allocations: 56.94 kB / 359.2 MB, free: 12.4 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1071, allocations: 4 kB / 359.2 MB, free: 12.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003153/0.1074, allocations: 208.4 kB / 359.4 MB, free: 12.19 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.1074, allocations: 4 kB / 359.5 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.1074, allocations: 0 / 359.5 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.1074, allocations: 4 kB / 359.5 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002007/0.1077, allocations: 51.86 kB / 359.5 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.1077, allocations: 4 kB / 359.5 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.1078, allocations: 23.92 kB / 359.5 MB, free: 12.1 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.1078, allocations: 8 kB / 359.5 MB, free: 12.09 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.lossTable.nextTimeEvent,lossTable.nextTimeEvent,$PRE.lossTable.nextTimeEventScaled,lossTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 0.0001184/0.1079, allocations: 153.4 kB / 359.7 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.762e-05/0.108, allocations: 23.72 kB / 359.7 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.33e-05/0.108, allocations: 30.19 kB / 359.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.108, allocations: 3.984 kB / 359.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.1081, allocations: 0 / 359.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.1081, allocations: 0 / 359.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002423/0.1083, allocations: 285.4 kB / 360 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1083, allocations: 8 kB / 360 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001645/0.1085, allocations: 35.98 kB / 360.1 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.1085, allocations: 3.938 kB / 360.1 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.1085, allocations: 0 / 360.1 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.1085, allocations: 7.984 kB / 360.1 MB, free: 11.49 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1085, allocations: 0 / 360.1 MB, free: 11.49 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004304/0.109, allocations: 280.7 kB / 360.4 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.746e-05/0.109, allocations: 100.9 kB / 360.5 MB, free: 11.08 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.135e-05/0.1091, allocations: 8.062 kB / 360.5 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.911e-05/0.1092, allocations: 8 kB / 360.5 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.886e-05/0.1092, allocations: 7.984 kB / 360.5 MB, free: 11.06 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.161e-05/0.1092, allocations: 15.98 kB / 360.5 MB, free: 11.04 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001533/0.1094, allocations: 184.5 kB / 360.7 MB, free: 10.87 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1094, allocations: 0 / 360.7 MB, free: 10.87 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002483/0.1097, allocations: 55.84 kB / 360.7 MB, free: 10.81 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (winding.T,core.T) * Number of discrete variables: 3 ($whenCondition1,lossTable.nextTimeEvent,lossTable.nextTimeEventScaled) * Number of discrete states: 2 (lossTable.nextTimeEventScaled,lossTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008584/0.1105, allocations: 424.7 kB / 361.1 MB, free: 10.55 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002733/0.1108, allocations: 143.8 kB / 361.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1108, allocations: 0 / 361.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001267/0.1109, allocations: 75.91 kB / 361.4 MB, free: 10.34 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003133/0.1113, allocations: 44.62 kB / 361.4 MB, free: 10.29 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009284/0.1122, allocations: 0.6673 MB / 362.1 MB, free: 9.586 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.1125, allocations: 0.7521 MB / 362.8 MB, free: 8.809 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.822e-05/0.1126, allocations: 31.36 kB / 362.8 MB, free: 8.781 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1126, allocations: 0 / 362.8 MB, free: 8.781 MB / 302.1 MB Notification: Performance of Templates: time 0.004875/0.1175, allocations: 3.089 MB / 365.9 MB, free: 5.695 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.Motor.makefile make -j1 -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.Motor.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_4.0.0_Modelica.Thermal.HeatTransfer.Examples.MotorCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.MotorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.MotorCalcHelperMain.o] Error 1