Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Math.Nonlinear.Examples.quadratureLobatto3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.quadratureLobatto3,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Math_Nonlinear_Examples_quadratureLobatto3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.quadratureLobatto3,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Math_Nonlinear_Examples_quadratureLobatto3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002356/0.002362, allocations: 187.2 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.116/2.116, allocations: 205.4 MB / 222.5 MB, free: 13.77 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001148/0.001148, allocations: 102.9 kB / 270.9 MB, free: 13.28 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003847/0.0003849, allocations: 8 kB / 327.1 MB, free: 15 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09693/0.09736, allocations: 47.58 MB / 374.6 MB, free: 15.33 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.0007573/0.09817, allocations: 261.1 kB / 374.9 MB, free: 15.07 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00261/0.1008, allocations: 1.45 MB / 376.3 MB, free: 13.61 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.534e-05/0.1009, allocations: 0 / 376.3 MB, free: 13.61 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.48e-05/0.1009, allocations: 3.938 kB / 376.3 MB, free: 13.61 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006559/0.1016, allocations: 123.7 kB / 376.5 MB, free: 13.48 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.054e-05/0.1016, allocations: 7.984 kB / 376.5 MB, free: 13.48 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.055e-05/0.1017, allocations: 8 kB / 376.5 MB, free: 13.47 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.445e-05/0.1017, allocations: 0 / 376.5 MB, free: 13.47 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.42e-05/0.1018, allocations: 7.984 kB / 376.5 MB, free: 13.46 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.882e-05/0.1019, allocations: 11.92 kB / 376.5 MB, free: 13.45 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.189e-05/0.1019, allocations: 4 kB / 376.5 MB, free: 13.45 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004894/0.1024, allocations: 207.7 kB / 376.7 MB, free: 13.24 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.625e-05/0.1024, allocations: 15.92 kB / 376.7 MB, free: 13.23 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.076e-05/0.1025, allocations: 29.7 kB / 376.8 MB, free: 13.19 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002742/0.1028, allocations: 111.8 kB / 376.9 MB, free: 13.08 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.1028, allocations: 0 / 376.9 MB, free: 13.08 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1028, allocations: 0 / 376.9 MB, free: 13.08 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.1028, allocations: 4 kB / 376.9 MB, free: 13.08 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004848/0.1033, allocations: 355.6 kB / 377.2 MB, free: 12.68 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.1033, allocations: 8.031 kB / 377.2 MB, free: 12.68 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.493e-05/0.1034, allocations: 34.56 kB / 377.3 MB, free: 12.63 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.516e-05/0.1034, allocations: 0 / 377.3 MB, free: 12.63 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.1036, allocations: 179 kB / 377.4 MB, free: 12.42 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.1036, allocations: 3.953 kB / 377.4 MB, free: 12.41 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.776e-05/0.1037, allocations: 0 / 377.4 MB, free: 12.41 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.494e-05/0.1038, allocations: 33.64 kB / 377.5 MB, free: 12.38 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.1038, allocations: 0 / 377.5 MB, free: 12.38 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.625e-06/0.1038, allocations: 0 / 377.5 MB, free: 12.38 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.1038, allocations: 4 kB / 377.5 MB, free: 12.37 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.036e-05/0.1039, allocations: 11.98 kB / 377.5 MB, free: 12.36 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001979/0.1041, allocations: 153.7 kB / 377.6 MB, free: 12.16 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.1042, allocations: 42.56 kB / 377.7 MB, free: 12.11 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.392e-05/0.1042, allocations: 3.938 kB / 377.7 MB, free: 12.11 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.1043, allocations: 34.5 kB / 377.7 MB, free: 12.06 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 4.218e-06/0.1043, allocations: 0 / 377.7 MB, free: 12.06 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001713/0.1045, allocations: 53.62 kB / 377.8 MB, free: 12 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/0.1046, allocations: 55.41 kB / 377.8 MB, free: 11.94 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.621e-05/0.1047, allocations: 97.86 kB / 377.9 MB, free: 11.83 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.1047, allocations: 29.7 kB / 377.9 MB, free: 11.8 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.848e-05/0.1048, allocations: 154.5 kB / 378.1 MB, free: 11.64 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.271e-05/0.1048, allocations: 11.91 kB / 378.1 MB, free: 11.63 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-06/0.1048, allocations: 0 / 378.1 MB, free: 11.63 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.105, allocations: 310.8 kB / 378.4 MB, free: 11.32 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.041e-05/0.105, allocations: 8 kB / 378.4 MB, free: 11.31 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.11e-05/0.1051, allocations: 25.64 kB / 378.4 MB, free: 11.28 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.412e-05/0.1051, allocations: 8.375 kB / 378.4 MB, free: 11.27 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1051, allocations: 4 kB / 378.5 MB, free: 11.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001288/0.1053, allocations: 61.59 kB / 378.5 MB, free: 11.2 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.1053, allocations: 4 kB / 378.5 MB, free: 11.2 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.1053, allocations: 7.922 kB / 378.5 MB, free: 11.19 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.1053, allocations: 128 / 378.5 MB, free: 11.19 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.1055, allocations: 12 kB / 378.5 MB, free: 11.18 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.1055, allocations: 0 / 378.5 MB, free: 11.18 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.448e-05/0.1055, allocations: 4 kB / 378.5 MB, free: 11.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.1055, allocations: 0 / 378.5 MB, free: 11.18 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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 9.462e-05/0.1057, allocations: 113.9 kB / 378.7 MB, free: 11.05 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.629e-05/0.1057, allocations: 11.94 kB / 378.7 MB, free: 11.04 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.267e-05/0.1057, allocations: 3.5 kB / 378.7 MB, free: 11.03 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.1057, allocations: 0 / 378.7 MB, free: 11.03 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1058, allocations: 0 / 378.7 MB, free: 11.03 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.1058, allocations: 0 / 378.7 MB, free: 11.03 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/0.1059, allocations: 161.6 kB / 378.8 MB, free: 10.82 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1059, allocations: 0 / 378.8 MB, free: 10.82 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.1061, allocations: 4 kB / 378.8 MB, free: 10.82 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.1061, allocations: 4 kB / 378.8 MB, free: 10.82 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.1061, allocations: 7.953 kB / 378.8 MB, free: 10.81 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.1061, allocations: 0 / 378.8 MB, free: 10.81 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1061, allocations: 0 / 378.8 MB, free: 10.81 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001705/0.1063, allocations: 84.95 kB / 378.9 MB, free: 10.71 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.62e-05/0.1064, allocations: 77.11 kB / 379 MB, free: 10.61 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.947e-05/0.1064, allocations: 0 / 379 MB, free: 10.61 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.955e-05/0.1064, allocations: 11.92 kB / 379 MB, free: 10.6 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.437e-05/0.1065, allocations: 4.062 kB / 379 MB, free: 10.6 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.1065, allocations: 0 / 379 MB, free: 10.6 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.476e-05/0.1066, allocations: 87.27 kB / 379.1 MB, free: 10.51 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1066, allocations: 3.938 kB / 379.1 MB, free: 10.51 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003748/0.1069, allocations: 47.98 kB / 379.1 MB, free: 10.46 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (q,qd) * 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 (3): * Single equations (assignments): 3 * 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.0007239/0.1077, allocations: 0.6672 MB / 379.8 MB, free: 9.766 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001169/0.1078, allocations: 15.98 kB / 379.8 MB, free: 9.75 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.1078, allocations: 0 / 379.8 MB, free: 9.75 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.987e-05/0.1079, allocations: 11.94 kB / 379.8 MB, free: 9.738 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001384/0.108, allocations: 3.953 kB / 379.8 MB, free: 9.734 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009149/0.109, allocations: 0.5839 MB / 380.4 MB, free: 9.09 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/0.1093, allocations: 0.6809 MB / 381.1 MB, free: 8.383 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.333e-05/0.1094, allocations: 15.38 kB / 381.1 MB, free: 8.367 MB / 282.7 MB Notification: Performance of SimCode: time 1.363e-06/0.1094, allocations: 0 / 381.1 MB, free: 8.367 MB / 282.7 MB Error: Error building simulator. Build log: clang++ -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp" -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -I"." -DUSE_LOGGER -c -o OMCppModelica_3_2_3_cpp_Modelica_Math_Nonlinear_Examples_quadratureLobatto3CalcHelperMain.o OMCppModelica_3_2_3_cpp_Modelica_Math_Nonlinear_Examples_quadratureLobatto3CalcHelperMain.cpp In file included from OMCppModelica_3_2_3_cpp_Modelica_Math_Nonlinear_Examples_quadratureLobatto3CalcHelperMain.cpp:28: ./OMCppModelica_3_2_3_cpp_Modelica_Math_Nonlinear_Examples_quadratureLobatto3Functions.cpp:175:56: error: use of undeclared identifier 'f_' Modelica_Math_Nonlinear_quadratureLobatto_quadStep(f_, a_, b_, fa_, fb_, is_,tmp6); ^ ./OMCppModelica_3_2_3_cpp_Modelica_Math_Nonlinear_Examples_quadratureLobatto3Functions.cpp:333:58: error: use of undeclared identifier 'f_' Modelica_Math_Nonlinear_quadratureLobatto_quadStep(f_, a_, mll_, fa_, fmll_, is_,tmp13); ^ ./OMCppModelica_3_2_3_cpp_Modelica_Math_Nonlinear_Examples_quadratureLobatto3Functions.cpp:334:58: error: use of undeclared identifier 'f_' Modelica_Math_Nonlinear_quadratureLobatto_quadStep(f_, mll_, ml_, fmll_, fml_, is_,tmp14); ^ ./OMCppModelica_3_2_3_cpp_Modelica_Math_Nonlinear_Examples_quadratureLobatto3Functions.cpp:335:58: error: use of undeclared identifier 'f_' Modelica_Math_Nonlinear_quadratureLobatto_quadStep(f_, ml_, m_, fml_, fm_, is_,tmp15); ^ ./OMCppModelica_3_2_3_cpp_Modelica_Math_Nonlinear_Examples_quadratureLobatto3Functions.cpp:336:58: error: use of undeclared identifier 'f_' Modelica_Math_Nonlinear_quadratureLobatto_quadStep(f_, m_, mr_, fm_, fmr_, is_,tmp16); ^ ./OMCppModelica_3_2_3_cpp_Modelica_Math_Nonlinear_Examples_quadratureLobatto3Functions.cpp:337:58: error: use of undeclared identifier 'f_' Modelica_Math_Nonlinear_quadratureLobatto_quadStep(f_, mr_, mrr_, fmr_, fmrr_, is_,tmp17); ^ ./OMCppModelica_3_2_3_cpp_Modelica_Math_Nonlinear_Examples_quadratureLobatto3Functions.cpp:338:58: error: use of undeclared identifier 'f_' Modelica_Math_Nonlinear_quadratureLobatto_quadStep(f_, mrr_, b_, fmrr_, fb_, is_,tmp18); ^ In file included from OMCppModelica_3_2_3_cpp_Modelica_Math_Nonlinear_Examples_quadratureLobatto3CalcHelperMain.cpp:35: In file included from ./OMCppModelica_3_2_3_cpp_Modelica_Math_Nonlinear_Examples_quadratureLobatto3FMU.cpp:11: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/FMU2/FMU2Wrapper.cpp:93:11: warning: 6 enumeration values not handled in switch: 'LC_INIT', 'LC_LS', 'LC_SOLVER'... [-Wswitch] switch (cat) { ^ 1 warning and 7 errors generated. : recipe for target 'OMCppModelica_3_2_3_cpp_Modelica_Math_Nonlinear_Examples_quadratureLobatto3CalcHelperMain.o' failed make: *** [OMCppModelica_3_2_3_cpp_Modelica_Math_Nonlinear_Examples_quadratureLobatto3CalcHelperMain.o] Error 1