Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialOutput,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Blocks_Continuous_InitialOutput",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.501/2.501, allocations: 235 MB / 247.6 MB, free: 14.55 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 7.609e-05/7.618e-05, allocations: 4.938 kB / 305 MB, free: 5.781 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4192/0.4193, allocations: 54.85 MB / 359.8 MB, free: 2.219 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2346/0.654, allocations: 90.06 MB / 449.9 MB, free: 6.867 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003017/0.6544, allocations: 67.97 kB / 450 MB, free: 6.801 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1423/0.7967, allocations: 27.57 MB / 477.5 MB, free: 11.18 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.7968, allocations: 448 / 477.5 MB, free: 11.18 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001014/0.7969, allocations: 23.88 kB / 477.6 MB, free: 11.15 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.003175/0.8001, allocations: 0.9152 MB / 478.5 MB, free: 10.19 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.36e-05/0.8002, allocations: 12.02 kB / 478.5 MB, free: 10.18 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001898/0.8004, allocations: 74.53 kB / 478.6 MB, free: 10.1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002892/0.8007, allocations: 86.97 kB / 478.6 MB, free: 10.01 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001754/0.8024, allocations: 0.5421 MB / 479.2 MB, free: 9.422 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.928e-05/0.8025, allocations: 36.78 kB / 479.2 MB, free: 9.387 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001478/0.8027, allocations: 48 kB / 479.3 MB, free: 9.34 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001227/0.8039, allocations: 466.5 kB / 479.7 MB, free: 8.859 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.824e-05/0.804, allocations: 4 kB / 479.7 MB, free: 8.855 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.472e-05/0.8041, allocations: 16 kB / 479.7 MB, free: 8.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.683e-05/0.8041, allocations: 15.98 kB / 479.8 MB, free: 8.824 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001054/0.8052, allocations: 333 kB / 480.1 MB, free: 8.496 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005647/0.8108, allocations: 1.924 MB / 482 MB, free: 6.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001232/0.8121, allocations: 420 kB / 482.4 MB, free: 6.059 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005903/0.8128, allocations: 204.5 kB / 482.6 MB, free: 5.852 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.066e-05/0.8129, allocations: 8 kB / 482.6 MB, free: 5.844 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.277e-05/0.8129, allocations: 54.38 kB / 482.7 MB, free: 5.781 MB / 410.7 MB Notification: Performance of pre-optimization done (n=44): time 3.637e-06/0.8129, allocations: 0 / 482.7 MB, free: 5.781 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.002422/0.8154, allocations: 0.7617 MB / 483.4 MB, free: 5.008 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.184e-05/0.8155, allocations: 106.8 kB / 483.6 MB, free: 4.879 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/0.8165, allocations: 0.4957 MB / 484 MB, free: 4.379 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001114/0.8167, allocations: 37.8 kB / 484.1 MB, free: 4.336 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003252/0.817, allocations: 334.9 kB / 484.4 MB, free: 4.008 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002398/0.8173, allocations: 173.5 kB / 484.6 MB, free: 3.836 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.489e-05/0.8173, allocations: 12.94 kB / 484.6 MB, free: 3.824 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.8175, allocations: 330.8 kB / 484.9 MB, free: 3.492 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006069/0.8181, allocations: 197.1 kB / 485.1 MB, free: 3.297 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006722/0.8188, allocations: 299 kB / 485.4 MB, free: 2.969 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006544/0.8195, allocations: 225.4 kB / 485.6 MB, free: 2.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.8195, allocations: 0 / 485.6 MB, free: 2.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001625/0.8211, allocations: 0.5706 MB / 486.2 MB, free: 2.176 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005164/0.8216, allocations: 1.055 MB / 487.2 MB, free: 1.039 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.609e-05/0.8217, allocations: 4 kB / 487.2 MB, free: 1.035 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.933e-05/0.8217, allocations: 8.031 kB / 487.3 MB, free: 1.027 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001962/0.8237, allocations: 192.3 kB / 487.4 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.228e-05/0.8237, allocations: 8 kB / 487.5 MB, free: 0.832 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001076/0.8248, allocations: 91.53 kB / 487.5 MB, free: 0.7422 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-05/0.8249, allocations: 20 kB / 487.6 MB, free: 0.7227 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.825, allocations: 4 kB / 487.6 MB, free: 0.7188 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001594/0.8266, allocations: 0.5199 MB / 488.1 MB, free: 204 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.039e-05/0.8266, allocations: 9.906 kB / 488.1 MB, free: 196 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.8267, allocations: 11.94 kB / 488.1 MB, free: 184 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001877/0.8285, allocations: 187.8 kB / 488.3 MB, free: 15.99 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.666e-05/0.8286, allocations: 8 kB / 488.3 MB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006656/0.8293, allocations: 71.61 kB / 488.4 MB, free: 15.92 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-05/0.8294, allocations: 23.95 kB / 488.4 MB, free: 15.89 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 68 * 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.0002278/0.8296, allocations: 126.6 kB / 488.5 MB, free: 15.77 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002792/0.8299, allocations: 67.16 kB / 488.6 MB, free: 15.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000296/0.8302, allocations: 93.41 kB / 488.7 MB, free: 15.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-06/0.8302, allocations: 8 kB / 488.7 MB, free: 15.59 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.8302, allocations: 0 / 488.7 MB, free: 15.59 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.8303, allocations: 0 / 488.7 MB, free: 15.59 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002819/0.8331, allocations: 1.163 MB / 489.8 MB, free: 14.37 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/0.8331, allocations: 0 / 489.8 MB, free: 14.37 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001415/0.8346, allocations: 111.9 kB / 490 MB, free: 14.26 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.822e-05/0.8346, allocations: 7.984 kB / 490 MB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.69e-05/0.8347, allocations: 16 kB / 490 MB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.648e-06/0.8347, allocations: 4.891 kB / 490 MB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.8348, allocations: 4 kB / 490 MB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002197/0.837, allocations: 1.014 MB / 491 MB, free: 13.16 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000418/0.8374, allocations: 196.2 kB / 491.2 MB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001335/0.8376, allocations: 8 kB / 491.2 MB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/0.8386, allocations: 59.94 kB / 491.3 MB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001661/0.8388, allocations: 39.94 kB / 491.3 MB, free: 12.85 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.387e-05/0.8389, allocations: 16 kB / 491.3 MB, free: 12.83 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007785/0.8397, allocations: 395.1 kB / 491.7 MB, free: 12.45 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.8397, allocations: 0 / 491.7 MB, free: 12.45 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001344/0.841, allocations: 224.5 kB / 491.9 MB, free: 12.23 MB / 426.7 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 (45): * Single equations (assignments): 45 * 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.002995/0.8441, allocations: 1.888 MB / 493.8 MB, free: 10.29 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002262/0.8464, allocations: 0.7336 MB / 494.5 MB, free: 9.555 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.8464, allocations: 0 / 494.5 MB, free: 9.555 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006646/0.8471, allocations: 226.8 kB / 494.8 MB, free: 9.336 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001452/0.8485, allocations: 165.2 kB / 494.9 MB, free: 9.184 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004086/0.8526, allocations: 1.359 MB / 496.3 MB, free: 7.766 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007731/0.8535, allocations: 0.953 MB / 497.2 MB, free: 6.785 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007097/0.8542, allocations: 244.9 kB / 497.5 MB, free: 6.547 MB / 426.7 MB Notification: Performance of SimCode: time 1.092e-06/0.8542, allocations: 0 / 497.5 MB, free: 6.547 MB / 426.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=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp" -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -I"." -DUSE_LOGGER -c -o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Blocks_Continuous_InitialOutputCalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Blocks_Continuous_InitialOutputCalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Blocks_Continuous_InitialOutputCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Blocks_Continuous_InitialOutputFMU.cpp:11: /var/lib/jenkins/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 generated. clang++ -shared -o ModelicaTest_3_2_2_cpp_ModelicaTest_Blocks_Continuous_InitialOutput.so OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Blocks_Continuous_InitialOutputCalcHelperMain.o -L"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../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"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2" -lOMCppModelicaUtilities_static -lOMCppDgesv_static OMCppModelicaTest_3_2_2_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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Continuous_InitialOutput/./OMCppModelicaTest_3_2_2_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_2_cpp_ModelicaTest_Blocks_Continuous_InitialOutput_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_2_cpp_ModelicaTest_Blocks_Continuous_InitialOutput.fmu' failed make: *** [ModelicaTest_3_2_2_cpp_ModelicaTest_Blocks_Continuous_InitialOutput.fmu] Error 1