Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.InitialConditions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|m1.s|m1.v|m3.s|m3.v|sd1.s_rel|sd1.v_rel|sd2.s_rel|sd2.v_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions") translateModel(Modelica.Mechanics.Translational.Examples.InitialConditions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|m1.s|m1.v|m3.s|m3.v|sd1.s_rel|sd1.v_rel|sd2.s_rel|sd2.v_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007807/0.0007807, allocations: 84.22 kB / 17.58 MB, free: 5.758 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.0008549/0.000855, allocations: 182.6 kB / 18.48 MB, free: 5.207 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.669/1.669, allocations: 205.4 MB / 224.6 MB, free: 13.07 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005115/0.0005115, allocations: 12 kB / 281.4 MB, free: 3.723 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1038, allocations: 47.58 MB / 329 MB, free: 4.07 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.002564/0.1064, allocations: 2.055 MB / 331 MB, free: 2.004 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.000486/0.1069, allocations: 251.1 kB / 331.3 MB, free: 1.758 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.107, allocations: 7.938 kB / 331.3 MB, free: 1.75 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000125/0.1072, allocations: 35.77 kB / 331.3 MB, free: 1.715 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001632/0.1073, allocations: 79.31 kB / 331.4 MB, free: 1.637 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001508/0.1075, allocations: 43.95 kB / 331.4 MB, free: 1.594 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002902/0.1078, allocations: 294.6 kB / 331.7 MB, free: 1.305 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002093/0.108, allocations: 81.64 kB / 331.8 MB, free: 1.227 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.1081, allocations: 95.59 kB / 331.9 MB, free: 1.133 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001701/0.1083, allocations: 119.5 kB / 332 MB, free: 1.016 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.153e-05/0.1083, allocations: 20 kB / 332 MB, free: 0.9961 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.568e-05/0.1084, allocations: 12 kB / 332.1 MB, free: 0.9844 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.188e-05/0.1084, allocations: 39.84 kB / 332.1 MB, free: 0.9453 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.389e-05/0.1085, allocations: 77.58 kB / 332.2 MB, free: 0.8633 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002298/0.1087, allocations: 227.6 kB / 332.4 MB, free: 0.6406 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.608e-06/0.1087, allocations: 4 kB / 332.4 MB, free: 0.6367 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1088, allocations: 0 / 332.4 MB, free: 0.6367 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.1088, allocations: 0 / 332.4 MB, free: 0.6367 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0008008/0.1096, allocations: 0.53 MB / 332.9 MB, free: 60 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.1096, allocations: 8.031 kB / 332.9 MB, free: 52 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.097e-05/0.1097, allocations: 31.62 kB / 333 MB, free: 20 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003154/0.11, allocations: 242.6 kB / 333.2 MB, free: 15.74 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.501e-05/0.11, allocations: 20.52 kB / 333.2 MB, free: 15.72 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.676e-05/0.1101, allocations: 35.91 kB / 333.3 MB, free: 15.69 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004196/0.1105, allocations: 246.6 kB / 333.5 MB, free: 15.43 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.1106, allocations: 0 / 333.5 MB, free: 15.43 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.668e-05/0.1106, allocations: 16 kB / 333.5 MB, free: 15.42 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.1106, allocations: 8 kB / 333.5 MB, free: 15.41 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002878/0.1109, allocations: 179.8 kB / 333.7 MB, free: 15.23 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001051/0.112, allocations: 0.7539 MB / 334.4 MB, free: 14.43 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003983/0.1124, allocations: 277.2 kB / 334.7 MB, free: 14.14 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001761/0.1126, allocations: 125.7 kB / 334.8 MB, free: 14.01 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.1126, allocations: 4 kB / 334.8 MB, free: 14 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/0.1126, allocations: 42.55 kB / 334.9 MB, free: 13.95 MB / 286.1 MB Notification: Performance of pre-optimization done (n=36): time 1.413e-06/0.1126, allocations: 0 / 334.9 MB, free: 13.95 MB / 286.1 MB Notification: Performance of matching and sorting (n=48): time 0.00275/0.1154, allocations: 1.7 MB / 336.6 MB, free: 12.08 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/0.1155, allocations: 89.09 kB / 336.7 MB, free: 11.97 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002229/0.1157, allocations: 186.2 kB / 336.9 MB, free: 11.78 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/0.1158, allocations: 29.7 kB / 336.9 MB, free: 11.74 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.1159, allocations: 140.8 kB / 337 MB, free: 11.6 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001354/0.116, allocations: 169.4 kB / 337.2 MB, free: 11.43 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.754e-05/0.1161, allocations: 8 kB / 337.2 MB, free: 11.42 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.1162, allocations: 346.7 kB / 337.5 MB, free: 11.07 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000174/0.1164, allocations: 97.09 kB / 337.6 MB, free: 10.98 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002016/0.1166, allocations: 161.4 kB / 337.8 MB, free: 10.8 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002109/0.1168, allocations: 134.3 kB / 337.9 MB, free: 10.68 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.1169, allocations: 0 / 337.9 MB, free: 10.68 MB / 286.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004948/0.1174, allocations: 358.4 kB / 338.3 MB, free: 10.32 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.1174, allocations: 11.98 kB / 338.3 MB, free: 10.31 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.1174, allocations: 0 / 338.3 MB, free: 10.31 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.783e-05/0.1174, allocations: 4 kB / 338.3 MB, free: 10.3 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003588/0.1178, allocations: 95.84 kB / 338.4 MB, free: 10.21 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.437e-05/0.1178, allocations: 12.05 kB / 338.4 MB, free: 10.2 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.1179, allocations: 12 kB / 338.4 MB, free: 10.19 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.29e-05/0.118, allocations: 15.94 kB / 338.4 MB, free: 10.17 MB / 286.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * 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.0001586/0.1181, allocations: 153.7 kB / 338.6 MB, free: 10.01 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.963e-05/0.1182, allocations: 31.58 kB / 338.6 MB, free: 9.98 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.118e-05/0.1183, allocations: 37.88 kB / 338.6 MB, free: 9.945 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.1183, allocations: 8 kB / 338.6 MB, free: 9.938 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/0.1183, allocations: 3.984 kB / 338.6 MB, free: 9.934 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.1183, allocations: 3.938 kB / 338.6 MB, free: 9.93 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001287/0.1196, allocations: 0.9517 MB / 339.6 MB, free: 8.914 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1196, allocations: 0 / 339.6 MB, free: 8.914 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003735/0.12, allocations: 99.89 kB / 339.7 MB, free: 8.816 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.12, allocations: 4 kB / 339.7 MB, free: 8.812 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.48e-05/0.1201, allocations: 15.95 kB / 339.7 MB, free: 8.797 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.1201, allocations: 0 / 339.7 MB, free: 8.797 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.1201, allocations: 4 kB / 339.7 MB, free: 8.793 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007544/0.1208, allocations: 0.6357 MB / 340.4 MB, free: 8.129 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.282e-05/0.1209, allocations: 100.7 kB / 340.5 MB, free: 8.012 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.674e-05/0.121, allocations: 8 kB / 340.5 MB, free: 8.004 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001604/0.1211, allocations: 11.95 kB / 340.5 MB, free: 7.992 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.822e-05/0.1212, allocations: 27.95 kB / 340.5 MB, free: 7.965 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.766e-05/0.1212, allocations: 16 kB / 340.5 MB, free: 7.949 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001028/0.1213, allocations: 140.3 kB / 340.7 MB, free: 7.812 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1213, allocations: 0 / 340.7 MB, free: 7.812 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003564/0.1217, allocations: 76 kB / 340.7 MB, free: 7.738 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (m1.s,m1.v,sd1.s_rel,sd1.v_rel,sd2.s_rel,sd2.v_rel,m4.s,m4.v) * 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 (48): * Single equations (assignments): 48 * 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 Backend phase and start with SimCode phase: time 0.0001397/0.1218, allocations: 111.1 kB / 340.8 MB, free: 7.621 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000455/0.1223, allocations: 286.7 kB / 341.1 MB, free: 7.344 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1223, allocations: 0 / 341.1 MB, free: 7.344 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002153/0.1225, allocations: 156.8 kB / 341.3 MB, free: 7.191 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006878/0.1232, allocations: 71.16 kB / 341.3 MB, free: 7.125 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001756/0.125, allocations: 1.244 MB / 342.6 MB, free: 5.836 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004097/0.1254, allocations: 0.7767 MB / 343.4 MB, free: 5.027 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.501e-05/0.1255, allocations: 31.44 kB / 343.4 MB, free: 4.996 MB / 286.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1255, allocations: 0 / 343.4 MB, free: 4.996 MB / 286.1 MB Notification: Performance of Templates: time 0.006125/0.1316, allocations: 3.634 MB / 347 MB, free: 1.355 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.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_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditionsCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditionsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditionsCalcHelperMain.o] Error 1