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.002323/0.002323, allocations: 186.5 kB / 16.41 MB, free: 5.727 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.171/2.171, allocations: 205.4 MB / 222.5 MB, free: 9.137 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.0019/0.0019, allocations: 88.42 kB / 270.9 MB, free: 8.387 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5814/0.5814, allocations: 43.56 MB / 362.7 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004941/0.0004941, allocations: 8 kB / 431.5 MB, free: 6.102 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1476, allocations: 58.84 MB / 490.3 MB, free: 11.18 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.593/0.7407, allocations: 96.18 MB / 0.5727 GB, free: 6.512 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003314/0.7411, allocations: 75.91 kB / 0.5728 GB, free: 6.438 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2109/0.9521, allocations: 29.44 MB / 0.6016 GB, free: 8.969 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.008e-06/0.9522, allocations: 0 / 0.6016 GB, free: 8.969 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001468/0.9523, allocations: 20 kB / 0.6016 GB, free: 8.949 MB / 426.7 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.005752/0.9581, allocations: 1.11 MB / 0.6027 GB, free: 7.789 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.839e-05/0.9582, allocations: 15.97 kB / 0.6027 GB, free: 7.773 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000429/0.9586, allocations: 90.45 kB / 0.6028 GB, free: 7.676 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004314/0.9591, allocations: 86.97 kB / 0.6028 GB, free: 7.59 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003312/0.9624, allocations: 0.6104 MB / 0.6034 GB, free: 6.938 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001497/0.9626, allocations: 40.95 kB / 0.6035 GB, free: 6.898 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002707/0.9629, allocations: 59.84 kB / 0.6035 GB, free: 6.84 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00286/0.9658, allocations: 0.6135 MB / 0.6041 GB, free: 6.168 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.68e-05/0.9659, allocations: 0 / 0.6041 GB, free: 6.168 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001181/0.9661, allocations: 16 kB / 0.6042 GB, free: 6.152 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.097e-05/0.9661, allocations: 15.94 kB / 0.6042 GB, free: 6.137 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002962/0.9691, allocations: 489.8 kB / 0.6046 GB, free: 5.66 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009388/0.9785, allocations: 2.673 MB / 0.6072 GB, free: 2.883 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002559/0.9812, allocations: 0.5112 MB / 0.6077 GB, free: 2.344 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001096/0.9814, allocations: 8.297 kB / 0.6078 GB, free: 2.336 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.547e-05/0.9814, allocations: 38.78 kB / 0.6078 GB, free: 2.289 MB / 426.7 MB Notification: Performance of pre-optimization done (n=45): time 7.674e-06/0.9814, allocations: 0 / 0.6078 GB, free: 2.289 MB / 426.7 MB Notification: Performance of matching and sorting (n=46): time 0.006206/0.9877, allocations: 1.18 MB / 0.6089 GB, free: 1.102 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.9878, allocations: 110.8 kB / 0.609 GB, free: 0.9688 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001959/0.9898, allocations: 0.5701 MB / 0.6096 GB, free: 400 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002255/0.9901, allocations: 37.7 kB / 0.6096 GB, free: 356 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000514/0.9906, allocations: 371.4 kB / 0.61 GB, free: 15.98 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003598/0.991, allocations: 181.3 kB / 0.6102 GB, free: 15.8 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.84e-05/0.9911, allocations: 20 kB / 0.6102 GB, free: 15.78 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002081/0.9913, allocations: 330.8 kB / 0.6105 GB, free: 15.45 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00164/0.993, allocations: 285.1 kB / 0.6108 GB, free: 15.17 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001785/0.9948, allocations: 432.3 kB / 0.6112 GB, free: 14.69 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001757/0.9966, allocations: 328.3 kB / 0.6115 GB, free: 14.37 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.722e-06/0.9967, allocations: 0 / 0.6115 GB, free: 14.37 MB / 442.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.004108/1.001, allocations: 0.77 MB / 0.6123 GB, free: 13.59 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001226/1.002, allocations: 1.754 MB / 0.614 GB, free: 11.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.813e-05/1.002, allocations: 7.953 kB / 0.614 GB, free: 11.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.085e-05/1.002, allocations: 12 kB / 0.614 GB, free: 11.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002674/1.005, allocations: 199.7 kB / 0.6142 GB, free: 11.49 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.969e-05/1.005, allocations: 8 kB / 0.6142 GB, free: 11.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001508/1.006, allocations: 91.62 kB / 0.6143 GB, free: 11.39 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001562/1.007, allocations: 24 kB / 0.6143 GB, free: 11.37 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/1.007, allocations: 4 kB / 0.6143 GB, free: 11.36 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00373/1.01, allocations: 0.7307 MB / 0.615 GB, free: 10.63 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.792e-05/1.011, allocations: 7.938 kB / 0.615 GB, free: 10.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.386e-05/1.011, allocations: 8 kB / 0.615 GB, free: 10.62 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002682/1.013, allocations: 204.3 kB / 0.6152 GB, free: 10.42 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.635e-05/1.013, allocations: 8 kB / 0.6152 GB, free: 10.41 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001092/1.014, allocations: 75.56 kB / 0.6153 GB, free: 10.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001177/1.015, allocations: 24 kB / 0.6153 GB, free: 10.31 MB / 442.7 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 () * Number of clocked 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.0009163/1.016, allocations: 299.1 kB / 0.6156 GB, free: 10.01 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004697/1.016, allocations: 79 kB / 0.6157 GB, free: 9.934 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004015/1.016, allocations: 90.97 kB / 0.6158 GB, free: 9.84 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.666e-05/1.016, allocations: 8 kB / 0.6158 GB, free: 9.832 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.23e-05/1.017, allocations: 4 kB / 0.6158 GB, free: 9.828 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/1.017, allocations: 0 / 0.6158 GB, free: 9.828 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00523/1.022, allocations: 1.272 MB / 0.617 GB, free: 8.492 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.993e-05/1.022, allocations: 4 kB / 0.617 GB, free: 8.488 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002009/1.024, allocations: 111.9 kB / 0.6171 GB, free: 8.379 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.001e-05/1.024, allocations: 4 kB / 0.6171 GB, free: 8.375 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001628/1.024, allocations: 15.98 kB / 0.6172 GB, free: 8.359 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.435e-05/1.024, allocations: 4 kB / 0.6172 GB, free: 8.355 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.057e-06/1.024, allocations: 4 kB / 0.6172 GB, free: 8.352 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006077/1.03, allocations: 1.245 MB / 0.6184 GB, free: 7.059 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009183/1.031, allocations: 200.2 kB / 0.6186 GB, free: 6.844 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002634/1.032, allocations: 12 kB / 0.6186 GB, free: 6.832 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001565/1.033, allocations: 59.94 kB / 0.6186 GB, free: 6.773 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000264/1.033, allocations: 39.94 kB / 0.6187 GB, free: 6.734 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.448e-05/1.034, allocations: 16 kB / 0.6187 GB, free: 6.719 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001731/1.035, allocations: 463 kB / 0.6191 GB, free: 6.273 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.12e-07/1.035, allocations: 0 / 0.6191 GB, free: 6.273 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002315/1.038, allocations: 227.9 kB / 0.6193 GB, free: 6.051 MB / 442.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 () * Number of clocked 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.007466/1.045, allocations: 2.126 MB / 0.6214 GB, free: 3.883 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006202/1.051, allocations: 1.011 MB / 0.6224 GB, free: 2.875 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.601e-05/1.052, allocations: 8.188 kB / 0.6224 GB, free: 2.867 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001837/1.053, allocations: 299.8 kB / 0.6227 GB, free: 2.574 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002386/1.056, allocations: 168.2 kB / 0.6229 GB, free: 2.414 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02365/1.08, allocations: 7.813 MB / 0.6305 GB, free: 10.38 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001181/1.081, allocations: 0.9699 MB / 0.6314 GB, free: 9.375 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001167/1.082, allocations: 259.3 kB / 0.6317 GB, free: 9.125 MB / 458.7 MB Notification: Performance of SimCode: time 3.868e-06/1.082, allocations: 0 / 0.6317 GB, free: 9.125 MB / 458.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/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 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/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_3_cpp_ModelicaTest_Blocks_Continuous_InitialOutput.so OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_Continuous_InitialOutputCalcHelperMain.o -L"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/cpp" -Wl,--no-undefined -L"/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om" -lOMCppSystem_static -lOMCppMath_static -lOMCppFMU_static -lOMCppNewton_static -lOMCppDgesvSolver_static -lOMCppSolver_static -lOMCppExtensionUtilities_static -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