Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.HeatLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.HeatLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|damper.s_rel|damper.v_rel|massWithStopAndFriction.s|massWithStopAndFriction.v|springDamper.s_rel|springDamper.v_rel|springDamper1.s_rel|springDamper1.v_rel|brake.mode|brake.startBackward|brake.startForward|massWithStopAndFriction.mode|massWithStopAndFriction.startBackward|massWithStopAndFriction.startForward|supportFriction.mode|supportFriction.startBackward|supportFriction.startForward",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.HeatLosses") translateModel(Modelica.Mechanics.Translational.Examples.HeatLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|damper.s_rel|damper.v_rel|massWithStopAndFriction.s|massWithStopAndFriction.v|springDamper.s_rel|springDamper.v_rel|springDamper1.s_rel|springDamper1.v_rel|brake.mode|brake.startBackward|brake.startForward|massWithStopAndFriction.mode|massWithStopAndFriction.startBackward|massWithStopAndFriction.startForward|supportFriction.mode|supportFriction.startBackward|supportFriction.startForward",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.HeatLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009158/0.0009158, allocations: 92.11 kB / 17.63 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001128/0.001128, allocations: 192.5 kB / 18.54 MB, free: 5.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.622/1.622, allocations: 227.3 MB / 246.6 MB, free: 10.32 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003233/0.0003234, allocations: 8 kB / 307.3 MB, free: 1.414 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1204, allocations: 51.5 MB / 358.8 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.HeatLosses): time 0.004585/0.125, allocations: 3.838 MB / 362.6 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002527/0.1276, allocations: 1.465 MB / 364.1 MB, free: 8.59 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002154/0.1278, allocations: 11.94 kB / 364.1 MB, free: 8.578 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003032/0.1281, allocations: 103.2 kB / 364.2 MB, free: 8.477 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005016/0.1287, allocations: 234.3 kB / 364.4 MB, free: 8.246 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001013/0.1297, allocations: 311.2 kB / 364.7 MB, free: 7.945 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001391/0.1311, allocations: 1.01 MB / 365.8 MB, free: 6.926 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004456/0.1315, allocations: 195.2 kB / 365.9 MB, free: 6.723 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008063/0.1324, allocations: 442.5 kB / 366.4 MB, free: 6.289 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006024/0.133, allocations: 470.3 kB / 366.8 MB, free: 5.828 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001177/0.1331, allocations: 48 kB / 366.9 MB, free: 5.781 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003092/0.1334, allocations: 104 kB / 367 MB, free: 5.68 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002652/0.1337, allocations: 183.3 kB / 367.2 MB, free: 5.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001811/0.1339, allocations: 165.3 kB / 367.3 MB, free: 5.332 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008103/0.1347, allocations: 0.7794 MB / 368.1 MB, free: 4.551 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.1347, allocations: 0 / 368.1 MB, free: 4.551 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1347, allocations: 0 / 368.1 MB, free: 4.551 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.1347, allocations: 0 / 368.1 MB, free: 4.551 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.002814/0.1376, allocations: 1.263 MB / 369.4 MB, free: 3.238 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.1376, allocations: 12.03 kB / 369.4 MB, free: 3.227 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004758/0.1381, allocations: 115 kB / 369.5 MB, free: 3.113 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006407/0.1387, allocations: 436.5 kB / 369.9 MB, free: 2.648 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.404e-05/0.1388, allocations: 57.95 kB / 370 MB, free: 2.59 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/0.1389, allocations: 64 kB / 370 MB, free: 2.527 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001595/0.1405, allocations: 0.8115 MB / 370.8 MB, free: 1.707 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.073e-05/0.1406, allocations: 7.906 kB / 370.9 MB, free: 1.699 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.124e-05/0.1407, allocations: 28 kB / 370.9 MB, free: 1.672 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.589e-05/0.1407, allocations: 16 kB / 370.9 MB, free: 1.656 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001892/0.1426, allocations: 0.8783 MB / 371.8 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2486/0.3912, allocations: 2.463 MB / 374.2 MB, free: 18.4 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00175/0.393, allocations: 0.7426 MB / 375 MB, free: 18.36 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00102/0.394, allocations: 481.2 kB / 375.5 MB, free: 18.35 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.256e-05/0.3941, allocations: 17.92 kB / 375.5 MB, free: 18.35 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00135/0.3955, allocations: 0.5535 MB / 376 MB, free: 18.2 MB / 302.1 MB Notification: Performance of pre-optimization done (n=89): time 2.485e-06/0.3955, allocations: 0 / 376 MB, free: 18.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=109): time 0.01073/0.4062, allocations: 4.364 MB / 380.4 MB, free: 16.25 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/0.4063, allocations: 64.86 kB / 380.5 MB, free: 16.19 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005315/0.4068, allocations: 402.9 kB / 380.8 MB, free: 16 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.139e-05/0.4069, allocations: 57.03 kB / 380.9 MB, free: 15.95 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002164/0.4071, allocations: 278 kB / 381.2 MB, free: 15.72 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003043/0.4074, allocations: 375 kB / 381.5 MB, free: 15.44 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.933e-05/0.4075, allocations: 21.02 kB / 381.6 MB, free: 15.43 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.4077, allocations: 378.1 kB / 381.9 MB, free: 15.08 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009895/0.4086, allocations: 427.2 kB / 382.3 MB, free: 14.93 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001149/0.4098, allocations: 0.5208 MB / 382.9 MB, free: 14.7 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008559/0.4107, allocations: 377.3 kB / 383.2 MB, free: 14.55 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.4107, allocations: 0 / 383.2 MB, free: 14.55 MB / 302.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.003029/0.4137, allocations: 1.297 MB / 384.5 MB, free: 14.03 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.4138, allocations: 6.875 kB / 384.5 MB, free: 14.03 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.4138, allocations: 5.344 kB / 384.5 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001069/0.4148, allocations: 498.8 kB / 385 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008081/0.4157, allocations: 212.4 kB / 385.2 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003495/0.4192, allocations: 3.262 MB / 388.5 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0013/0.4205, allocations: 241.1 kB / 388.7 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-05/0.4206, allocations: 39.52 kB / 388.8 MB, free: 10.98 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 27 (supportFriction.free,$whenCondition1,elastoGap.contact,$PRE.supportFriction.startForward,supportFriction.startForward,$PRE.supportFriction.startBackward,supportFriction.startBackward,supportFriction.locked,$PRE.supportFriction.mode,supportFriction.mode,brake.free,$PRE.brake.startForward,brake.startForward,$PRE.brake.startBackward,brake.startBackward,brake.locked,$PRE.brake.mode,brake.mode,massWithStopAndFriction.free,$PRE.massWithStopAndFriction.startForward,massWithStopAndFriction.startForward,$PRE.massWithStopAndFriction.startBackward,massWithStopAndFriction.startBackward,massWithStopAndFriction.locked,$PRE.massWithStopAndFriction.mode,massWithStopAndFriction.mode,massWithStopAndFriction.stopped) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 111 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 9,1 5,1 8} Notification: Performance of prepare postOptimizeDAE: time 0.0005167/0.4211, allocations: 224.2 kB / 389 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000163/0.4213, allocations: 71.91 kB / 389.1 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002495/0.4215, allocations: 109.9 kB / 389.2 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.99e-05/0.4216, allocations: 9.875 kB / 389.2 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.141e-05/0.4216, allocations: 1.375 kB / 389.2 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.167e-05/0.4216, allocations: 5.438 kB / 389.2 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005567/0.4272, allocations: 2.516 MB / 391.7 MB, free: 9.402 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.924e-06/0.4272, allocations: 2 kB / 391.7 MB, free: 9.402 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007519/0.428, allocations: 186.8 kB / 391.9 MB, free: 9.383 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000931/0.4289, allocations: 473.1 kB / 392.3 MB, free: 9.203 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.952e-05/0.429, allocations: 36.09 kB / 392.4 MB, free: 9.188 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003049/0.4321, allocations: 3.074 MB / 395.5 MB, free: 6.539 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.4321, allocations: 1.562 kB / 395.5 MB, free: 6.539 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003736/0.4358, allocations: 1.855 MB / 397.3 MB, free: 5.527 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004392/0.4363, allocations: 239.6 kB / 397.5 MB, free: 5.309 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001313/0.4364, allocations: 31.75 kB / 397.6 MB, free: 5.289 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001123/0.4376, allocations: 276.4 kB / 397.9 MB, free: 5.188 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007952/0.4384, allocations: 428.5 kB / 398.3 MB, free: 4.914 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-05/0.4384, allocations: 42.38 kB / 398.3 MB, free: 4.895 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003188/0.4388, allocations: 282.2 kB / 398.6 MB, free: 4.719 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4388, allocations: 0 / 398.6 MB, free: 4.719 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009534/0.4397, allocations: 246 kB / 398.8 MB, free: 4.684 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (springDamper.s_rel,springDamper.v_rel,elastoGap.s_rel,elastoGap.v_rel,massWithStopAndFriction.s,massWithStopAndFriction.v,springDamper1.s_rel,springDamper1.v_rel) * Number of discrete variables: 17 ($whenCondition1,elastoGap.contact,supportFriction.startForward,supportFriction.startBackward,supportFriction.locked,supportFriction.mode,brake.free,brake.startForward,brake.startBackward,brake.locked,brake.mode,massWithStopAndFriction.free,massWithStopAndFriction.startForward,massWithStopAndFriction.startBackward,massWithStopAndFriction.locked,massWithStopAndFriction.mode,massWithStopAndFriction.stopped) * Number of discrete states: 9 (massWithStopAndFriction.mode,massWithStopAndFriction.startBackward,massWithStopAndFriction.startForward,brake.mode,brake.startForward,brake.startBackward,supportFriction.mode,supportFriction.startForward,supportFriction.startBackward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 86 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 7,1 8,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009549/0.4407, allocations: 408.8 kB / 399.2 MB, free: 4.465 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002369/0.4431, allocations: 1.178 MB / 400.4 MB, free: 3.871 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.4431, allocations: 0 / 400.4 MB, free: 3.871 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001294/0.4444, allocations: 0.7363 MB / 401.1 MB, free: 3.461 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008297/0.4452, allocations: 139.2 kB / 401.3 MB, free: 3.367 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00369/0.4489, allocations: 2.46 MB / 403.7 MB, free: 0.8516 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004817/0.4494, allocations: 0.9478 MB / 404.7 MB, free: 15.88 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002683/0.4497, allocations: 67.41 kB / 404.7 MB, free: 15.81 MB / 318.1 MB Notification: Performance of SimCode: time 9.21e-07/0.4497, allocations: 0 / 404.7 MB, free: 15.81 MB / 318.1 MB Notification: Performance of Templates: time 0.02816/0.4779, allocations: 17.86 MB / 422.6 MB, free: 13.93 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.HeatLosses.makefile make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.HeatLosses.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_trunk_Modelica.Mechanics.Translational.Examples.HeatLossesCalcHelperMain.o OMCppModelica_trunk_Modelica.Mechanics.Translational.Examples.HeatLossesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Mechanics.Translational.Examples.HeatLossesCalcHelperMain.o] Error 1