Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialOutput,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Blocks_Continuous_InitialOutput",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.109/2.109, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.069e-05/3.095e-05, allocations: 4 kB / 267.6 MB, free: 5.336 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1102, allocations: 48.7 MB / 316.3 MB, free: 4.539 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4339/0.5441, allocations: 83.42 MB / 399.7 MB, free: 9.035 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002344/0.5444, allocations: 59.98 kB / 399.8 MB, free: 9.008 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1601/0.7045, allocations: 29.11 MB / 428.9 MB, free: 15.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.7046, allocations: 0 / 428.9 MB, free: 15.88 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001193/0.7047, allocations: 24 kB / 428.9 MB, free: 15.86 MB / 362.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.003539/0.7083, allocations: 0.9311 MB / 429.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.477e-05/0.7084, allocations: 8.031 kB / 429.8 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003331/0.7087, allocations: 90.97 kB / 429.9 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001941/0.7107, allocations: 0.5538 MB / 430.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.705e-05/0.7107, allocations: 16 kB / 430.5 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001429/0.7109, allocations: 35.91 kB / 430.5 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001013/0.7119, allocations: 313.5 kB / 430.8 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001109/0.7131, allocations: 429.9 kB / 431.3 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.816e-05/0.7131, allocations: 3.984 kB / 431.3 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.534e-05/0.7132, allocations: 0 / 431.3 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.994e-05/0.7132, allocations: 12 kB / 431.3 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005825/0.7191, allocations: 1.838 MB / 433.1 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001119/0.7202, allocations: 416.7 kB / 433.5 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004795/0.7207, allocations: 186.6 kB / 433.7 MB, free: 10.83 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.606e-05/0.7208, allocations: 9.297 kB / 433.7 MB, free: 10.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.884e-05/0.7209, allocations: 38.56 kB / 433.7 MB, free: 10.78 MB / 362.7 MB Notification: Performance of pre-optimization done (n=44): time 4.578e-06/0.7209, allocations: 4 kB / 433.8 MB, free: 10.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=45): time 0.002151/0.723, allocations: 0.7287 MB / 434.5 MB, free: 10.04 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.477e-05/0.7231, allocations: 106.8 kB / 434.6 MB, free: 9.906 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008976/0.724, allocations: 463.4 kB / 435 MB, free: 9.445 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.182e-05/0.7241, allocations: 25.7 kB / 435.1 MB, free: 9.414 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003057/0.7244, allocations: 330.8 kB / 435.4 MB, free: 9.086 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002185/0.7247, allocations: 173.7 kB / 435.6 MB, free: 8.914 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.469e-05/0.7247, allocations: 3.938 kB / 435.6 MB, free: 8.91 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.7249, allocations: 338.8 kB / 435.9 MB, free: 8.57 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005218/0.7254, allocations: 185.1 kB / 436.1 MB, free: 8.391 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006293/0.7261, allocations: 279 kB / 436.3 MB, free: 8.082 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007019/0.7268, allocations: 233 kB / 436.6 MB, free: 7.855 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.7268, allocations: 4 kB / 436.6 MB, free: 7.852 MB / 362.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001569/0.7284, allocations: 0.5217 MB / 437.1 MB, free: 7.324 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.774e-05/0.7285, allocations: 7.984 kB / 437.1 MB, free: 7.316 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.156e-05/0.7285, allocations: 7.984 kB / 437.1 MB, free: 7.309 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.986e-05/0.7285, allocations: 11.98 kB / 437.1 MB, free: 7.297 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001861/0.7304, allocations: 192.1 kB / 437.3 MB, free: 7.109 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.7304, allocations: 4 kB / 437.3 MB, free: 7.105 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001002/0.7314, allocations: 75.62 kB / 437.4 MB, free: 7.031 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.959e-05/0.7315, allocations: 20 kB / 437.4 MB, free: 7.012 MB / 362.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.0001922/0.7318, allocations: 116.8 kB / 437.5 MB, free: 6.891 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001251/0.733, allocations: 432.6 kB / 437.9 MB, free: 6.461 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001929/0.7332, allocations: 67.16 kB / 438 MB, free: 6.395 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002745/0.7335, allocations: 81.17 kB / 438.1 MB, free: 6.312 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.7335, allocations: 4 kB / 438.1 MB, free: 6.309 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.651e-05/0.7336, allocations: 7.984 kB / 438.1 MB, free: 6.301 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.7336, allocations: 0 / 438.1 MB, free: 6.301 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002514/0.7361, allocations: 1.081 MB / 439.2 MB, free: 5.168 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.7361, allocations: 0 / 439.2 MB, free: 5.168 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001333/0.7375, allocations: 115.9 kB / 439.3 MB, free: 5.055 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.907e-05/0.7375, allocations: 4 kB / 439.3 MB, free: 5.051 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.741e-05/0.7376, allocations: 8 kB / 439.3 MB, free: 5.043 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.917e-06/0.7376, allocations: 4 kB / 439.3 MB, free: 5.039 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.269e-06/0.7376, allocations: 0 / 439.3 MB, free: 5.039 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002091/0.7397, allocations: 0.9958 MB / 440.3 MB, free: 3.996 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004268/0.7402, allocations: 188.3 kB / 440.5 MB, free: 3.793 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001439/0.7404, allocations: 12 kB / 440.5 MB, free: 3.781 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000995/0.7414, allocations: 47.94 kB / 440.5 MB, free: 3.734 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001794/0.7416, allocations: 47.88 kB / 440.6 MB, free: 3.688 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.093e-05/0.7416, allocations: 12 kB / 440.6 MB, free: 3.676 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006758/0.7423, allocations: 351.2 kB / 441 MB, free: 3.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.7423, allocations: 0 / 441 MB, free: 3.34 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001012/0.7434, allocations: 120 kB / 441.1 MB, free: 3.223 MB / 362.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.002801/0.7462, allocations: 1.864 MB / 442.9 MB, free: 1.309 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001309/0.7475, allocations: 443.8 kB / 443.4 MB, free: 0.875 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.7476, allocations: 0 / 443.4 MB, free: 0.875 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005756/0.7481, allocations: 214.1 kB / 443.6 MB, free: 0.668 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001474/0.7496, allocations: 146.6 kB / 443.7 MB, free: 0.5234 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004169/0.7538, allocations: 1.339 MB / 445.1 MB, free: 15.12 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007454/0.7546, allocations: 0.9489 MB / 446 MB, free: 14.15 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007644/0.7554, allocations: 239.3 kB / 446.2 MB, free: 13.92 MB / 378.7 MB Notification: Performance of SimCode: time 1.022e-06/0.7554, allocations: 0 / 446.2 MB, free: 13.92 MB / 378.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=7 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/cpp" -I"." -I"." -I"." -DUSE_LOGGER -c -o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Blocks_Continuous_InitialOutputCalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Blocks_Continuous_InitialOutputCalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Blocks_Continuous_InitialOutputCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Blocks_Continuous_InitialOutputFMU.cpp:11: /var/lib/jenkins/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_1_cpp_ModelicaTest_Blocks_Continuous_InitialOutput.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Blocks_Continuous_InitialOutputCalcHelperMain.o -L"/var/lib/jenkins/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"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1" -lOMCppModelicaUtilities_static -lOMCppDgesv_static OMCppModelicaTest_3_2_1_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.1_cpp_ModelicaTest.Blocks.Continuous_InitialOutput/./OMCppModelicaTest_3_2_1_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_1_cpp_ModelicaTest_Blocks_Continuous_InitialOutput_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Blocks_Continuous_InitialOutput.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Blocks_Continuous_InitialOutput.fmu] Error 1