Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialOutput.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Blocks.Continuous_InitialOutput,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_Continuous_InitialOutput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialOutput,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_Continuous_InitialOutput",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.002227/0.002227, allocations: 177.8 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.018/2.018, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001576/0.001576, allocations: 92.86 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2958/0.2958, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.307e-05/2.306e-05, allocations: 4 kB / 418.3 MB, free: 40.96 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.405/0.4051, allocations: 58.85 MB / 477.2 MB, free: 5.168 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1809/0.586, allocations: 95.44 MB / 0.5592 GB, free: 3.746 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002868/0.5863, allocations: 63.97 kB / 0.5593 GB, free: 3.684 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1448/0.7311, allocations: 29.17 MB / 0.5877 GB, free: 6.41 MB / 427.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.7312, allocations: 0 / 0.5877 GB, free: 6.41 MB / 427.1 MB Notification: Performance of Transformations before backend: time 0.0001148/0.7313, allocations: 28.38 kB / 0.5878 GB, free: 6.383 MB / 427.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.003236/0.7346, allocations: 0.9585 MB / 0.5887 GB, free: 5.379 MB / 427.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.93e-05/0.7346, allocations: 8.031 kB / 0.5887 GB, free: 5.371 MB / 427.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003875/0.735, allocations: 94.88 kB / 0.5888 GB, free: 5.277 MB / 427.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002024/0.7371, allocations: 0.5862 MB / 0.5894 GB, free: 4.652 MB / 427.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.929e-05/0.7372, allocations: 15.95 kB / 0.5894 GB, free: 4.637 MB / 427.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001569/0.7373, allocations: 43.89 kB / 0.5894 GB, free: 4.594 MB / 427.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001082/0.7384, allocations: 330.5 kB / 0.5897 GB, free: 4.27 MB / 427.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/0.7396, allocations: 0.4939 MB / 0.5902 GB, free: 3.719 MB / 427.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.188e-05/0.7397, allocations: 3.938 kB / 0.5902 GB, free: 3.715 MB / 427.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.859e-05/0.7398, allocations: 4 kB / 0.5902 GB, free: 3.711 MB / 427.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.911e-05/0.7398, allocations: 12 kB / 0.5902 GB, free: 3.699 MB / 427.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006227/0.746, allocations: 2.565 MB / 0.5928 GB, free: 1.043 MB / 427.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.7472, allocations: 420.1 kB / 0.5932 GB, free: 0.6016 MB / 427.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004722/0.7476, allocations: 195 kB / 0.5933 GB, free: 412 kB / 427.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.539e-05/0.7477, allocations: 4.234 kB / 0.5933 GB, free: 408 kB / 427.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.049e-05/0.7478, allocations: 46.78 kB / 0.5934 GB, free: 352 kB / 427.1 MB Notification: Performance of pre-optimization done (n=45): time 3.386e-06/0.7478, allocations: 0 / 0.5934 GB, free: 352 kB / 427.1 MB Notification: Performance of matching and sorting (n=46): time 0.002291/0.7501, allocations: 0.7716 MB / 0.5941 GB, free: 15.56 MB / 443.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.834e-05/0.7502, allocations: 114.8 kB / 0.5943 GB, free: 15.42 MB / 443.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009564/0.7512, allocations: 495.8 kB / 0.5947 GB, free: 14.93 MB / 443.1 MB Notification: Performance of collectPreVariables (initialization): time 7.774e-05/0.7513, allocations: 25.7 kB / 0.5948 GB, free: 14.9 MB / 443.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003479/0.7516, allocations: 371.3 kB / 0.5951 GB, free: 14.54 MB / 443.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002447/0.7519, allocations: 177.3 kB / 0.5953 GB, free: 14.36 MB / 443.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.467e-05/0.752, allocations: 0 / 0.5953 GB, free: 14.36 MB / 443.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.7521, allocations: 339.8 kB / 0.5956 GB, free: 14.02 MB / 443.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005497/0.7527, allocations: 193.5 kB / 0.5958 GB, free: 13.83 MB / 443.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006729/0.7534, allocations: 339.3 kB / 0.5961 GB, free: 13.44 MB / 443.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007717/0.7542, allocations: 248.2 kB / 0.5963 GB, free: 13.2 MB / 443.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/0.7542, allocations: 7.781 kB / 0.5963 GB, free: 13.19 MB / 443.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001676/0.7559, allocations: 0.5676 MB / 0.5969 GB, free: 12.62 MB / 443.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007658/0.7567, allocations: 1.76 MB / 0.5986 GB, free: 10.72 MB / 443.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.225e-05/0.7567, allocations: 7.984 kB / 0.5986 GB, free: 10.71 MB / 443.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.302e-05/0.7567, allocations: 8 kB / 0.5986 GB, free: 10.71 MB / 443.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002046/0.7588, allocations: 207.6 kB / 0.5988 GB, free: 10.5 MB / 443.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.556e-05/0.7589, allocations: 8 kB / 0.5988 GB, free: 10.5 MB / 443.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/0.7599, allocations: 71.62 kB / 0.5989 GB, free: 10.43 MB / 443.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.639e-05/0.7601, allocations: 24 kB / 0.5989 GB, free: 10.4 MB / 443.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.7601, allocations: 8 kB / 0.5989 GB, free: 10.39 MB / 443.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001612/0.7617, allocations: 0.5229 MB / 0.5995 GB, free: 9.871 MB / 443.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.7618, allocations: 4.562 kB / 0.5995 GB, free: 9.867 MB / 443.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.7618, allocations: 12 kB / 0.5995 GB, free: 9.855 MB / 443.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001866/0.7637, allocations: 195.8 kB / 0.5997 GB, free: 9.664 MB / 443.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.946e-05/0.7637, allocations: 15.92 kB / 0.5997 GB, free: 9.648 MB / 443.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006564/0.7644, allocations: 67.56 kB / 0.5997 GB, free: 9.582 MB / 443.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.002e-05/0.7645, allocations: 24 kB / 0.5998 GB, free: 9.559 MB / 443.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (limPID.I.local_reset,pID.I.local_reset,limIntegrator.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 77 * Array equations: 1 * 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.00023/0.7647, allocations: 120.8 kB / 0.5999 GB, free: 9.434 MB / 443.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001322/0.766, allocations: 444.6 kB / 0.6003 GB, free: 8.992 MB / 443.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002414/0.7663, allocations: 71.06 kB / 0.6004 GB, free: 8.922 MB / 443.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002908/0.7666, allocations: 90.98 kB / 0.6005 GB, free: 8.832 MB / 443.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.607e-06/0.7666, allocations: 7.938 kB / 0.6005 GB, free: 8.824 MB / 443.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.7666, allocations: 0 / 0.6005 GB, free: 8.824 MB / 443.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.7667, allocations: 0 / 0.6005 GB, free: 8.824 MB / 443.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002559/0.7692, allocations: 1.119 MB / 0.6016 GB, free: 7.656 MB / 443.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.7693, allocations: 3.938 kB / 0.6016 GB, free: 7.652 MB / 443.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001377/0.7707, allocations: 115.9 kB / 0.6017 GB, free: 7.539 MB / 443.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.449e-05/0.7707, allocations: 4 kB / 0.6017 GB, free: 7.535 MB / 443.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.568e-05/0.7708, allocations: 19.98 kB / 0.6017 GB, free: 7.516 MB / 443.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.7708, allocations: 0 / 0.6017 GB, free: 7.516 MB / 443.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.017e-05/0.7709, allocations: 7.938 kB / 0.6017 GB, free: 7.508 MB / 443.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002018/0.7729, allocations: 0.9995 MB / 0.6027 GB, free: 6.461 MB / 443.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004409/0.7734, allocations: 200.1 kB / 0.6029 GB, free: 6.246 MB / 443.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001317/0.7735, allocations: 7.984 kB / 0.6029 GB, free: 6.238 MB / 443.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/0.7746, allocations: 43.95 kB / 0.6029 GB, free: 6.195 MB / 443.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001804/0.7748, allocations: 43.94 kB / 0.603 GB, free: 6.152 MB / 443.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.846e-05/0.7749, allocations: 19.98 kB / 0.603 GB, free: 6.133 MB / 443.1 MB Notification: Performance of sorting global known variables: time 0.0007484/0.7756, allocations: 379.1 kB / 0.6033 GB, free: 5.766 MB / 443.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.7756, allocations: 0 / 0.6033 GB, free: 5.766 MB / 443.1 MB Notification: Performance of remove unused functions: time 0.00139/0.777, allocations: 192 kB / 0.6035 GB, free: 5.578 MB / 443.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 46 * 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.002792/0.7798, allocations: 1.859 MB / 0.6053 GB, free: 3.66 MB / 443.1 MB Notification: Performance of simCode: created initialization part: time 0.002333/0.7822, allocations: 0.7473 MB / 0.6061 GB, free: 2.914 MB / 443.1 MB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/0.7823, allocations: 0 / 0.6061 GB, free: 2.914 MB / 443.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006485/0.783, allocations: 224.3 kB / 0.6063 GB, free: 2.695 MB / 443.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001586/0.7846, allocations: 162.4 kB / 0.6064 GB, free: 2.543 MB / 443.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004412/0.789, allocations: 1.395 MB / 0.6078 GB, free: 1.086 MB / 443.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007071/0.7898, allocations: 0.9695 MB / 0.6087 GB, free: 88 kB / 443.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008385/0.7906, allocations: 263.4 kB / 0.609 GB, free: 15.83 MB / 459.1 MB Notification: Performance of SimCode: time 1.253e-06/0.7906, allocations: 0 / 0.609 GB, free: 15.83 MB / 459.1 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=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/cpp" -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c/sundials" -I"." -DUSE_LOGGER -c -o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_Continuous_InitialOutputCalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_Continuous_InitialOutputCalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_Continuous_InitialOutputCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_Continuous_InitialOutputFMU.cpp:11: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/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 generated. clang++ -shared -o ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_Continuous_InitialOutput.so OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_Continuous_InitialOutputCalcHelperMain.o -L"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc/cpp" -Wl,--no-undefined -lOMCppSystem_static -lOMCppMath_static -lOMCppModelicaUtilities_static -lOMCppFMU_static -lOMCppNewton_static -lOMCppDgesvSolver_static -lOMCppSolver_static -lOMCppExtensionUtilities_static -L"/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om" -lOMCppModelicaUtilities_static -lOMCppDgesv_static OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_Continuous_InitialOutputCalcHelperMain.o: In function `Functions::Modelica_Math_Matrices_LAPACK_dgglse__vec(BaseArray&, BaseArray&, BaseArray&, BaseArray&, Modelica_Math_Matrices_LAPACK_dgglse__vecType&)': /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialOutput/./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_Continuous_InitialOutputFunctions.cpp:108: undefined reference to `dgglse_' clang: error: linker command failed with exit code 1 (use -v to see invocation) ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_Continuous_InitialOutput_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_Continuous_InitialOutput.fmu' failed make: *** [ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_Continuous_InitialOutput.fmu] Error 1