Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU.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/Credibility 0.1.0-main/package.mo", uses=false) Using package Credibility with version 0.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.1.0-main/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(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU") translateModel(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008568/0.0008566, allocations: 99.59 kB / 15.71 MB, free: 452 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.0009863/0.0009863, allocations: 180.3 kB / 16.58 MB, free: 6.879 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.575/1.575, allocations: 223.3 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.1.0-main/package.mo): time 0.007763/0.007763, allocations: 1.275 MB / 293 MB, free: 0.9883 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003293/0.0003293, allocations: 15.98 kB / 354.2 MB, free: 2.141 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4046/0.405, allocations: 50.68 MB / 404.8 MB, free: 9.73 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU): time 0.004074/0.4091, allocations: 2.746 MB / 407.6 MB, free: 8.852 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002722/0.4118, allocations: 1.995 MB / 409.6 MB, free: 7.449 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000221/0.4121, allocations: 6.594 kB / 409.6 MB, free: 7.449 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002157/0.4142, allocations: 0.9335 MB / 410.5 MB, free: 7.234 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006787/0.4149, allocations: 300.1 kB / 410.8 MB, free: 7.137 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004325/0.4154, allocations: 104.8 kB / 410.9 MB, free: 7.082 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006998/0.4161, allocations: 480.3 kB / 411.4 MB, free: 6.859 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002863/0.4164, allocations: 101.2 kB / 411.5 MB, free: 6.816 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000336/0.4167, allocations: 203.8 kB / 411.7 MB, free: 6.746 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004278/0.4172, allocations: 273.6 kB / 411.9 MB, free: 6.664 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.686e-05/0.4172, allocations: 14.53 kB / 412 MB, free: 6.664 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002114/0.4174, allocations: 71.11 kB / 412 MB, free: 6.641 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003212/0.4178, allocations: 257.5 kB / 412.3 MB, free: 6.562 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001314/0.4179, allocations: 159.5 kB / 412.4 MB, free: 6.438 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008896/0.4188, allocations: 0.6814 MB / 413.1 MB, free: 6.266 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.4188, allocations: 1 kB / 413.1 MB, free: 6.266 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.4188, allocations: 0 / 413.1 MB, free: 6.266 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.563e-05/0.4188, allocations: 0 / 413.1 MB, free: 6.266 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001525/0.4204, allocations: 1.057 MB / 414.2 MB, free: 5.469 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.4204, allocations: 9.031 kB / 414.2 MB, free: 5.469 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001445/0.4206, allocations: 98.45 kB / 414.3 MB, free: 5.414 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/0.4218, allocations: 0.8657 MB / 415.1 MB, free: 4.898 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.582e-05/0.4218, allocations: 17.78 kB / 415.2 MB, free: 4.891 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.852e-05/0.4219, allocations: 28.34 kB / 415.2 MB, free: 4.879 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004135/0.4223, allocations: 222.1 kB / 415.4 MB, free: 4.766 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/0.4223, allocations: 10.89 kB / 415.4 MB, free: 4.758 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.385e-05/0.4224, allocations: 10.16 kB / 415.4 MB, free: 4.75 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.4224, allocations: 9.453 kB / 415.4 MB, free: 4.746 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002829/0.4227, allocations: 141 kB / 415.6 MB, free: 4.699 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002007/0.4247, allocations: 1.339 MB / 416.9 MB, free: 3.898 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004264/0.4251, allocations: 271.3 kB / 417.2 MB, free: 3.715 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001818/0.4253, allocations: 85.67 kB / 417.3 MB, free: 3.684 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.485e-05/0.4254, allocations: 3.328 kB / 417.3 MB, free: 3.684 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.4254, allocations: 37.22 kB / 417.3 MB, free: 3.641 MB / 286.1 MB Notification: Performance of pre-optimization done (n=21): time 1.433e-06/0.4254, allocations: 0 / 417.3 MB, free: 3.641 MB / 286.1 MB Notification: Performance of matching and sorting (n=25): time 0.001651/0.4271, allocations: 1.038 MB / 418.3 MB, free: 2.867 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.4271, allocations: 54.86 kB / 418.4 MB, free: 2.805 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002438/0.4295, allocations: 1.747 MB / 420.1 MB, free: 2.148 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.4296, allocations: 27.41 kB / 420.2 MB, free: 2.117 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003035/0.4299, allocations: 370.7 kB / 420.5 MB, free: 1.828 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.739e-05/0.43, allocations: 106.8 kB / 420.6 MB, free: 1.75 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-05/0.43, allocations: 19.47 kB / 420.7 MB, free: 1.734 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.901e-05/0.4301, allocations: 347.9 kB / 421 MB, free: 1.414 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006764/0.4308, allocations: 459.3 kB / 421.4 MB, free: 1.285 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007906/0.4316, allocations: 0.5435 MB / 422 MB, free: 1.086 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007547/0.4324, allocations: 0.4935 MB / 422.5 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.4324, allocations: 0.9688 kB / 422.5 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002069/0.4345, allocations: 1.288 MB / 423.8 MB, free: 472 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.4345, allocations: 4.75 kB / 423.8 MB, free: 472 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.719e-06/0.4345, allocations: 6.438 kB / 423.8 MB, free: 468 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000328/0.4349, allocations: 75.17 kB / 423.9 MB, free: 440 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005394/0.4354, allocations: 181.8 kB / 424 MB, free: 420 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001899/0.4373, allocations: 2.107 MB / 426.1 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003941/0.4377, allocations: 19.06 kB / 426.2 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-05/0.4378, allocations: 31.22 kB / 426.2 MB, free: 14.36 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 113 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0006325/0.4384, allocations: 371.9 kB / 426.6 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001469/0.4386, allocations: 91.78 kB / 426.6 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004951/0.4391, allocations: 259 kB / 426.9 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.4391, allocations: 2.906 kB / 426.9 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.4391, allocations: 4.188 kB / 426.9 MB, free: 13.95 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.4391, allocations: 7.125 kB / 426.9 MB, free: 13.95 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001585/0.4407, allocations: 0.9919 MB / 427.9 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.4407, allocations: 0.9062 kB / 427.9 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002579/0.441, allocations: 62.16 kB / 428 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.441, allocations: 1.562 kB / 428 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.441, allocations: 5.344 kB / 428 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.4411, allocations: 2 kB / 428 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.4411, allocations: 8.906 kB / 428 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005573/0.4416, allocations: 437.2 kB / 428.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002966/0.4419, allocations: 225.8 kB / 428.6 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.38e-05/0.442, allocations: 9.812 kB / 428.6 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001877/0.4422, allocations: 5.719 kB / 428.6 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.729e-05/0.4423, allocations: 15.38 kB / 428.7 MB, free: 12.74 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.4423, allocations: 8.438 kB / 428.7 MB, free: 12.74 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.001603/0.4439, allocations: 1.136 MB / 429.8 MB, free: 12.16 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.4439, allocations: 0 / 429.8 MB, free: 12.16 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007454/0.4447, allocations: 167.8 kB / 430 MB, free: 12.14 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (damper.phi_rel,damper.w_rel,inertiaLoad.w,loadTorque.phi) * 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 (25): * Single equations (assignments): 25 * 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.0008889/0.4456, allocations: 371.9 kB / 430.3 MB, free: 11.95 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001323/0.4469, allocations: 0.8019 MB / 431.1 MB, free: 11.55 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.175e-06/0.4469, allocations: 0 / 431.1 MB, free: 11.55 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001343/0.447, allocations: 76.23 kB / 431.2 MB, free: 11.53 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007817/0.4478, allocations: 113.3 kB / 431.3 MB, free: 11.46 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003095/0.4509, allocations: 2.006 MB / 433.3 MB, free: 9.984 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007415/0.4517, allocations: 1.024 MB / 434.3 MB, free: 8.938 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001489/0.4519, allocations: 43.36 kB / 434.4 MB, free: 8.895 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4519, allocations: 0 / 434.4 MB, free: 8.895 MB / 302.1 MB Notification: Performance of Templates: time 0.02201/0.4739, allocations: 12.5 MB / 446.9 MB, free: 12.4 MB / 318.1 MB make -j1 -f Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU.makefile make -j1 -f Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU.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 OMCppCredibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMUCalcHelperMain.o OMCppCredibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMUCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppCredibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMUCalcHelperMain.o] Error 1