Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.SpringDemo.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/PlanarMechanics 1.6.0/package.mo", uses=false) Using package PlanarMechanics with version 1.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.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(PlanarMechanics.Examples.SpringDemo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.SpringDemo") translateModel(PlanarMechanics.Examples.SpringDemo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.SpringDemo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 98.88 kB / 16.02 MB, free: 76 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.001821/0.001821, allocations: 185.4 kB / 16.92 MB, free: 6.707 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.565/1.565, allocations: 223.2 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.2558/0.2558, allocations: 9.099 MB / 301.2 MB, free: 2.781 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003845/0.0003845, allocations: 12 kB / 364.3 MB, free: 12.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.139, allocations: 52.44 MB / 416.8 MB, free: 8.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.SpringDemo): time 0.3238/0.4628, allocations: 27.37 MB / 444.2 MB, free: 26.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01634/0.4792, allocations: 6.187 MB / 450.3 MB, free: 23.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007884/0.4872, allocations: 102.9 kB / 450.4 MB, free: 23.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00148/0.4887, allocations: 336.7 kB / 450.8 MB, free: 23.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005087/0.4938, allocations: 1.325 MB / 452.1 MB, free: 23.22 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008505/0.4946, allocations: 139.2 kB / 452.2 MB, free: 23.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005273/0.4999, allocations: 3.784 MB / 456 MB, free: 21.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001666/0.5016, allocations: 0.8595 MB / 456.9 MB, free: 21.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001341/0.503, allocations: 0.813 MB / 457.7 MB, free: 21.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001613/0.5046, allocations: 1.406 MB / 459.1 MB, free: 20.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003389/0.5049, allocations: 143 kB / 459.2 MB, free: 20.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001528/0.5065, allocations: 0.7755 MB / 460 MB, free: 20.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001218/0.5077, allocations: 1.246 MB / 461.3 MB, free: 20.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001427/0.5091, allocations: 1.639 MB / 462.9 MB, free: 18.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004143/0.5133, allocations: 3.932 MB / 466.8 MB, free: 17.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.5133, allocations: 0 / 466.8 MB, free: 17.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.5133, allocations: 0 / 466.8 MB, free: 17.99 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001088/0.5134, allocations: 0 / 466.8 MB, free: 17.99 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: 1293 * Number of variables: 1293 Notification: Performance of Generate backend data structure: time 0.006549/0.52, allocations: 2.923 MB / 469.7 MB, free: 16.22 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/0.5201, allocations: 16.53 kB / 469.8 MB, free: 16.22 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007279/0.5273, allocations: 1.877 MB / 471.6 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003722/0.5311, allocations: 1.414 MB / 473.1 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001795/0.5313, allocations: 165.3 kB / 473.2 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005104/0.5318, allocations: 211.9 kB / 473.4 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01742/0.5493, allocations: 8.678 MB / 482.1 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-05/0.5494, allocations: 26.34 kB / 482.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003178/0.5497, allocations: 104.7 kB / 482.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004092/0.5538, allocations: 2.093 MB / 484.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02127/0.5751, allocations: 7.503 MB / 491.8 MB, free: 7.852 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0502/0.6253, allocations: 27.1 MB / 0.5068 GB, free: 12.49 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005716/0.6311, allocations: 2.175 MB / 0.5089 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002518/0.6337, allocations: 0.9488 MB / 0.5098 GB, free: 9.234 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01312/0.6468, allocations: 5.565 MB / 0.5152 GB, free: 3.27 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.577e-05/0.6469, allocations: 43.56 kB / 0.5153 GB, free: 3.219 MB / 382.1 MB Notification: Performance of pre-optimization done (n=119): time 5.27e-06/0.6469, allocations: 0 / 0.5153 GB, free: 3.219 MB / 382.1 MB Notification: Performance of matching and sorting (n=135): time 0.0163/0.6632, allocations: 6.979 MB / 0.5221 GB, free: 12.05 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.533e-05/0.6633, allocations: 60.41 kB / 0.5222 GB, free: 11.98 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006718/0.6701, allocations: 2.924 MB / 0.525 GB, free: 9.043 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002439/0.6703, allocations: 49.69 kB / 0.5251 GB, free: 8.988 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002488/0.6728, allocations: 2.36 MB / 0.5274 GB, free: 6.594 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008893/0.6737, allocations: 0.5128 MB / 0.5279 GB, free: 6.074 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008859/0.6746, allocations: 359 kB / 0.5282 GB, free: 5.715 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.6748, allocations: 301.1 kB / 0.5285 GB, free: 5.418 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003036/0.6778, allocations: 1.351 MB / 0.5298 GB, free: 4.059 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005502/0.6834, allocations: 3.799 MB / 0.5335 GB, free: 15.03 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008727/0.6921, allocations: 5.489 MB / 0.5389 GB, free: 8.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001339/0.6923, allocations: 28 kB / 0.5389 GB, free: 8.312 MB / 414.1 MB Notification: Performance of matching and sorting (n=552) (initialization): time 0.01284/0.7052, allocations: 5.614 MB / 0.5444 GB, free: 2.602 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001031/0.7053, allocations: 40.09 kB / 0.5444 GB, free: 2.562 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001659/0.7055, allocations: 95.88 kB / 0.5445 GB, free: 2.469 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008726/0.7064, allocations: 372.5 kB / 0.5449 GB, free: 2.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003291/0.7097, allocations: 0.9124 MB / 0.5458 GB, free: 1.176 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009036/0.7187, allocations: 8.277 MB / 0.5539 GB, free: 8.227 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004202/0.723, allocations: 219.9 kB / 0.5541 GB, free: 8.012 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00099/0.724, allocations: 256 kB / 0.5543 GB, free: 7.762 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 392 * Number of states: 0 () * Number of discrete variables: 30 (prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],damper.color_b[3],damper.color_b[2],damper.color_b[1],damper.color_a[3],damper.color_a[2],damper.color_a[1],damper.colorConnector_b[3],damper.colorConnector_b[2],damper.colorConnector_b[1],damper.colorConnector_a[3],damper.colorConnector_a[2],damper.colorConnector_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.colorConnector_b[3],spring1.colorConnector_b[2],spring1.colorConnector_b[1],spring1.colorConnector_a[3],spring1.colorConnector_a[2],spring1.colorConnector_a[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (505): * Single equations (assignments): 495 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(3,10,66.7%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004474/0.7285, allocations: 1.709 MB / 0.556 GB, free: 6.043 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007152/0.7292, allocations: 240.9 kB / 0.5562 GB, free: 5.805 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004548/0.7338, allocations: 2.243 MB / 0.5584 GB, free: 3.465 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001994/0.734, allocations: 43.95 kB / 0.5584 GB, free: 3.422 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-05/0.734, allocations: 4 kB / 0.5584 GB, free: 3.418 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-05/0.7341, allocations: 7.969 kB / 0.5585 GB, free: 3.41 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01409/0.7482, allocations: 5.781 MB / 0.5641 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.158e-05/0.7482, allocations: 4 kB / 0.5641 GB, free: 13.47 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008338/0.7491, allocations: 175.7 kB / 0.5643 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004609/0.7496, allocations: 158.8 kB / 0.5644 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001417/0.7497, allocations: 27.97 kB / 0.5644 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004869/0.7546, allocations: 4.678 MB / 0.569 GB, free: 8.031 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.7546, allocations: 4 kB / 0.569 GB, free: 8.027 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005283/0.7599, allocations: 3.012 MB / 0.572 GB, free: 4.902 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001156/0.7611, allocations: 337.8 kB / 0.5723 GB, free: 4.551 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007043/0.7618, allocations: 20 kB / 0.5723 GB, free: 4.531 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001352/0.7632, allocations: 63.92 kB / 0.5724 GB, free: 4.469 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000185/0.7634, allocations: 80.84 kB / 0.5724 GB, free: 4.391 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.388e-05/0.7635, allocations: 40 kB / 0.5725 GB, free: 4.352 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00453/0.768, allocations: 1.87 MB / 0.5743 GB, free: 2.473 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.768, allocations: 3.938 kB / 0.5743 GB, free: 2.469 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005049/0.7731, allocations: 0.7228 MB / 0.575 GB, free: 1.746 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (prismatic.s,prismatic.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 (103): * Single equations (assignments): 95 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,6,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005653/0.7737, allocations: 157 kB / 0.5752 GB, free: 1.586 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.3158/1.089, allocations: 3.686 MB / 0.5788 GB, free: 103 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.018e-05/1.09, allocations: 0 / 0.5788 GB, free: 103 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001579/1.091, allocations: 1.127 MB / 0.5799 GB, free: 102.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003333/1.094, allocations: 386.3 kB / 0.5802 GB, free: 102.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01346/1.108, allocations: 8.979 MB / 0.589 GB, free: 98.74 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002662/1.111, allocations: 2.761 MB / 0.5917 GB, free: 97.97 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008004/1.111, allocations: 223.7 kB / 0.5919 GB, free: 97.96 MB / 446.1 MB Notification: Performance of SimCode: time 1.493e-06/1.111, allocations: 0 / 0.5919 GB, free: 97.96 MB / 446.1 MB Notification: Performance of Templates: time 0.128/1.24, allocations: 109.7 MB / 0.6991 GB, free: 14.3 MB / 446.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.Examples.SpringDemo.makefile make -j1 -f PlanarMechanics_PlanarMechanics.Examples.SpringDemo.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 OMCppPlanarMechanics_PlanarMechanics.Examples.SpringDemoCalcHelperMain.o OMCppPlanarMechanics_PlanarMechanics.Examples.SpringDemoCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPlanarMechanics_PlanarMechanics.Examples.SpringDemoCalcHelperMain.o] Error 1