Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.HeatLosses.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.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_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.HeatLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 96.77 kB / 16.95 MB, free: 5.586 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.001378/0.001378, allocations: 188.7 kB / 17.85 MB, free: 5.262 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.636/1.636, allocations: 223.2 MB / 241.8 MB, free: 328 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003109/0.0003109, allocations: 9.25 kB / 301.5 MB, free: 6.434 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1404, allocations: 50.42 MB / 351.9 MB, free: 4.004 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.HeatLosses): time 0.005013/0.1455, allocations: 3.712 MB / 355.6 MB, free: 268 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003444/0.149, allocations: 1.325 MB / 356.9 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004724/0.1495, allocations: 15.94 kB / 356.9 MB, free: 14.92 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003339/0.1499, allocations: 79.33 kB / 357 MB, free: 14.84 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004861/0.1504, allocations: 194.4 kB / 357.2 MB, free: 14.65 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001187/0.1516, allocations: 330.6 kB / 357.5 MB, free: 14.33 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001155/0.1527, allocations: 0.9946 MB / 358.5 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003698/0.1531, allocations: 203.1 kB / 358.7 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006553/0.1538, allocations: 422.5 kB / 359.1 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005604/0.1544, allocations: 458.3 kB / 359.6 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001065/0.1545, allocations: 44 kB / 359.6 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002556/0.1547, allocations: 87.97 kB / 359.7 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002046/0.155, allocations: 183.3 kB / 359.9 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001664/0.1551, allocations: 153.3 kB / 360 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007617/0.1559, allocations: 0.7482 MB / 360.8 MB, free: 11.04 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.1559, allocations: 0 / 360.8 MB, free: 11.04 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1559, allocations: 0 / 360.8 MB, free: 11.04 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.568e-05/0.1559, allocations: 0 / 360.8 MB, free: 11.04 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.002952/0.1589, allocations: 1.224 MB / 362 MB, free: 9.762 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.159, allocations: 8.031 kB / 362 MB, free: 9.754 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002705/0.1592, allocations: 91.05 kB / 362.1 MB, free: 9.664 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006322/0.1599, allocations: 420.7 kB / 362.5 MB, free: 9.215 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.926e-05/0.16, allocations: 54 kB / 362.6 MB, free: 9.16 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/0.1601, allocations: 67.91 kB / 362.6 MB, free: 9.094 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001719/0.1618, allocations: 0.8193 MB / 363.4 MB, free: 8.27 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.291e-05/0.1619, allocations: 11.89 kB / 363.5 MB, free: 8.258 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.34e-05/0.162, allocations: 31.95 kB / 363.5 MB, free: 8.227 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.988e-05/0.162, allocations: 19.94 kB / 363.5 MB, free: 8.207 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001955/0.164, allocations: 0.9017 MB / 364.4 MB, free: 7.305 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004338/0.1683, allocations: 2.451 MB / 366.9 MB, free: 4.723 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001471/0.1698, allocations: 0.7269 MB / 367.6 MB, free: 3.992 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009343/0.1708, allocations: 492.2 kB / 368.1 MB, free: 3.512 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.889e-05/0.1709, allocations: 12.98 kB / 368.1 MB, free: 3.496 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001196/0.1721, allocations: 0.5634 MB / 368.6 MB, free: 2.918 MB / 302.1 MB Notification: Performance of pre-optimization done (n=86): time 3.246e-06/0.1721, allocations: 0 / 368.6 MB, free: 2.918 MB / 302.1 MB Notification: Performance of matching and sorting (n=106): time 0.2808/0.4529, allocations: 4.457 MB / 373.1 MB, free: 24.92 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.86e-05/0.453, allocations: 63.05 kB / 373.2 MB, free: 24.86 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006858/0.4537, allocations: 386.3 kB / 373.5 MB, free: 24.74 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000111/0.4538, allocations: 58.33 kB / 373.6 MB, free: 24.71 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000264/0.4541, allocations: 274.3 kB / 373.9 MB, free: 24.52 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003702/0.4545, allocations: 360.2 kB / 374.2 MB, free: 24.25 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.544e-05/0.4546, allocations: 20.97 kB / 374.2 MB, free: 24.23 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.4547, allocations: 377 kB / 374.6 MB, free: 23.89 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001041/0.4558, allocations: 449.8 kB / 375 MB, free: 23.75 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001079/0.4569, allocations: 0.5434 MB / 375.6 MB, free: 23.52 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008748/0.4578, allocations: 393.1 kB / 376 MB, free: 23.38 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.4578, allocations: 1.375 kB / 376 MB, free: 23.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.00322/0.461, allocations: 1.366 MB / 377.3 MB, free: 22.88 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.7e-05/0.461, allocations: 6.219 kB / 377.3 MB, free: 22.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.4611, allocations: 1.25 kB / 377.3 MB, free: 22.88 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001343/0.4624, allocations: 0.6482 MB / 378 MB, free: 22.69 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008139/0.4632, allocations: 213 kB / 378.2 MB, free: 22.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00371/0.467, allocations: 3.306 MB / 381.5 MB, free: 19.89 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001204/0.4682, allocations: 241.2 kB / 381.7 MB, free: 19.86 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.083e-05/0.4683, allocations: 36.56 kB / 381.8 MB, free: 19.85 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 (115): * Single equations (assignments): 112 * 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 5,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0004096/0.4687, allocations: 217.7 kB / 382 MB, free: 19.67 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001315/0.4688, allocations: 75.53 kB / 382.1 MB, free: 19.63 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002156/0.4691, allocations: 104.2 kB / 382.2 MB, free: 19.54 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/0.4691, allocations: 14.67 kB / 382.2 MB, free: 19.54 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.738e-05/0.4691, allocations: 3.125 kB / 382.2 MB, free: 19.54 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.626e-05/0.4691, allocations: 10.73 kB / 382.2 MB, free: 19.54 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00476/0.4739, allocations: 2.551 MB / 384.7 MB, free: 18.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.716e-06/0.4739, allocations: 6.547 kB / 384.8 MB, free: 18.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007704/0.4747, allocations: 186.2 kB / 384.9 MB, free: 18.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001201/0.4759, allocations: 0.6186 MB / 385.6 MB, free: 18.08 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-05/0.476, allocations: 34.8 kB / 385.6 MB, free: 18.06 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003104/0.4791, allocations: 3.125 MB / 388.7 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.4791, allocations: 2.281 kB / 388.7 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003877/0.483, allocations: 1.889 MB / 390.6 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004391/0.4835, allocations: 234.5 kB / 390.8 MB, free: 14.4 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001298/0.4836, allocations: 29.52 kB / 390.9 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001151/0.4848, allocations: 273.2 kB / 391.1 MB, free: 14.35 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008275/0.4856, allocations: 431.8 kB / 391.5 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-05/0.4857, allocations: 43.25 kB / 391.6 MB, free: 14.28 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003231/0.486, allocations: 273 kB / 391.9 MB, free: 14.14 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.486, allocations: 0 / 391.9 MB, free: 14.14 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009367/0.487, allocations: 242.9 kB / 392.1 MB, free: 14.11 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 6,1 6,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002993/0.4873, allocations: 171.5 kB / 392.3 MB, free: 13.99 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002568/0.4898, allocations: 1.199 MB / 393.5 MB, free: 13.48 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.4899, allocations: 1.812 kB / 393.5 MB, free: 13.48 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001368/0.4912, allocations: 0.7438 MB / 394.2 MB, free: 13.08 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008129/0.4921, allocations: 127.4 kB / 394.3 MB, free: 13 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00373/0.4958, allocations: 2.415 MB / 396.7 MB, free: 11.29 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003262/0.4961, allocations: 0.9436 MB / 397.7 MB, free: 10.48 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002181/0.4964, allocations: 67.91 kB / 397.8 MB, free: 10.46 MB / 302.1 MB Notification: Performance of SimCode: time 4.9e-07/0.4964, allocations: 0 / 397.8 MB, free: 10.46 MB / 302.1 MB Notification: Performance of Templates: time 0.01931/0.5157, allocations: 17.37 MB / 415.1 MB, free: 9.402 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.HeatLosses.makefile make -j1 -f Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.HeatLossesCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Mechanics.Translational.Examples.HeatLossesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Mechanics.Translational.Examples.HeatLossesCalcHelperMain.o] Error 1