Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.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.Electrical.Analog.Examples.OpAmps.HighPass,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_OpAmps_HighPass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_OpAmps_HighPass",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.002099/0.002099, allocations: 187.9 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.294/2.294, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001244/0.001244, allocations: 102.8 kB / 270.9 MB, free: 13.37 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004123/0.0004124, allocations: 12 kB / 327.1 MB, free: 14.98 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09953/0.09999, allocations: 47.58 MB / 374.6 MB, free: 15.33 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.004046/0.1041, allocations: 2.291 MB / 376.9 MB, free: 13.02 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001921/0.1061, allocations: 0.7259 MB / 377.7 MB, free: 12.29 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002413/0.1064, allocations: 4 kB / 377.7 MB, free: 12.29 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.658e-05/0.1065, allocations: 35.75 kB / 377.7 MB, free: 12.25 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004083/0.1069, allocations: 111.6 kB / 377.8 MB, free: 12.14 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004139/0.1073, allocations: 67.92 kB / 377.9 MB, free: 12.07 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005909/0.1079, allocations: 259.3 kB / 378.1 MB, free: 11.82 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002543/0.1082, allocations: 77.03 kB / 378.2 MB, free: 11.75 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003412/0.1086, allocations: 123.5 kB / 378.3 MB, free: 11.63 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002729/0.1089, allocations: 147.4 kB / 378.5 MB, free: 11.48 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.603e-05/0.1089, allocations: 16 kB / 378.5 MB, free: 11.47 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.166e-05/0.109, allocations: 16 kB / 378.5 MB, free: 11.45 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.409e-05/0.1091, allocations: 55.75 kB / 378.6 MB, free: 11.4 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000106/0.1092, allocations: 73.58 kB / 378.6 MB, free: 11.32 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004134/0.1097, allocations: 259.5 kB / 378.9 MB, free: 11.07 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1097, allocations: 0 / 378.9 MB, free: 11.07 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1097, allocations: 0 / 378.9 MB, free: 11.07 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.1097, allocations: 4 kB / 378.9 MB, free: 11.06 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001929/0.1117, allocations: 0.6262 MB / 379.5 MB, free: 10.38 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/0.1117, allocations: 16.03 kB / 379.5 MB, free: 10.36 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001134/0.1119, allocations: 54.48 kB / 379.6 MB, free: 10.3 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001082/0.112, allocations: 39.56 kB / 379.6 MB, free: 10.26 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004997/0.1125, allocations: 271.6 kB / 379.9 MB, free: 9.953 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.106e-05/0.1125, allocations: 20.56 kB / 379.9 MB, free: 9.934 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.187e-05/0.1126, allocations: 16 kB / 379.9 MB, free: 9.918 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/0.1137, allocations: 280.8 kB / 380.2 MB, free: 9.633 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.1137, allocations: 3.938 kB / 380.2 MB, free: 9.629 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.131e-05/0.1138, allocations: 8 kB / 380.2 MB, free: 9.621 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.796e-05/0.1138, allocations: 8 kB / 380.2 MB, free: 9.613 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001415/0.1153, allocations: 306 kB / 380.5 MB, free: 9.316 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00268/0.118, allocations: 0.9405 MB / 381.5 MB, free: 8.305 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001353/0.1194, allocations: 282.5 kB / 381.7 MB, free: 8.02 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.709e-05/0.1194, allocations: 7.984 kB / 381.7 MB, free: 8.012 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007838/0.1202, allocations: 190.6 kB / 381.9 MB, free: 7.805 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 2.665e-06/0.1203, allocations: 0 / 381.9 MB, free: 7.805 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.003858/0.1241, allocations: 0.7371 MB / 382.7 MB, free: 7.043 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.1243, allocations: 110.8 kB / 382.8 MB, free: 6.91 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004877/0.1248, allocations: 262.6 kB / 383 MB, free: 6.648 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.994e-05/0.1249, allocations: 29.7 kB / 383.1 MB, free: 6.613 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002099/0.1251, allocations: 238.2 kB / 383.3 MB, free: 6.379 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.233e-05/0.1252, allocations: 59.19 kB / 383.3 MB, free: 6.32 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.401e-05/0.1252, allocations: 7.938 kB / 383.4 MB, free: 6.312 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.1254, allocations: 318.8 kB / 383.7 MB, free: 5.992 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006189/0.126, allocations: 112.2 kB / 383.8 MB, free: 5.883 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006429/0.1267, allocations: 177 kB / 383.9 MB, free: 5.684 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006156/0.1273, allocations: 146.4 kB / 384.1 MB, free: 5.535 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.215e-06/0.1273, allocations: 4 kB / 384.1 MB, free: 5.531 MB / 282.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.002014/0.1294, allocations: 466.3 kB / 384.6 MB, free: 5.062 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003817/0.1298, allocations: 0.6451 MB / 385.2 MB, free: 4.363 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.1298, allocations: 0 / 385.2 MB, free: 4.363 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005141/0.1303, allocations: 80.81 kB / 385.3 MB, free: 4.281 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004188/0.1308, allocations: 55.95 kB / 385.3 MB, free: 4.227 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003527/0.1343, allocations: 1.775 MB / 387.1 MB, free: 2.312 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006009/0.135, allocations: 55.78 kB / 387.2 MB, free: 2.258 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.782e-05/0.135, allocations: 16.06 kB / 387.2 MB, free: 2.242 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.1351, allocations: 4 kB / 387.2 MB, free: 2.238 MB / 282.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001358/0.1364, allocations: 330.6 kB / 387.5 MB, free: 1.906 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.1365, allocations: 0 / 387.5 MB, free: 1.906 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001851/0.1367, allocations: 45.14 kB / 387.5 MB, free: 1.859 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003946/0.1371, allocations: 55.88 kB / 387.6 MB, free: 1.805 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001992/0.1391, allocations: 1.549 MB / 389.1 MB, free: 120 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005011/0.1397, allocations: 43.81 kB / 389.2 MB, free: 76 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.404e-05/0.1397, allocations: 12 kB / 389.2 MB, free: 64 kB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.2836/0.4234, allocations: 211.8 kB / 389.4 MB, free: 20.07 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/0.4235, allocations: 27.69 kB / 389.4 MB, free: 20.07 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001173/0.4237, allocations: 25.91 kB / 389.5 MB, free: 20.07 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/0.4237, allocations: 2.891 kB / 389.5 MB, free: 20.07 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.4237, allocations: 0 / 389.5 MB, free: 20.07 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.4237, allocations: 1.719 kB / 389.5 MB, free: 20.07 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006495/0.4244, allocations: 307.8 kB / 389.8 MB, free: 19.88 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/0.4244, allocations: 3.328 kB / 389.8 MB, free: 19.88 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005364/0.425, allocations: 35.52 kB / 389.8 MB, free: 19.88 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006093/0.4256, allocations: 77.41 kB / 389.9 MB, free: 19.87 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.547e-05/0.4257, allocations: 7.828 kB / 389.9 MB, free: 19.87 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004229/0.4299, allocations: 1.668 MB / 391.6 MB, free: 18.62 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.43, allocations: 0 / 391.6 MB, free: 18.62 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003342/0.4334, allocations: 0.4949 MB / 392.1 MB, free: 18.55 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001787/0.4336, allocations: 104 kB / 392.2 MB, free: 18.46 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.4337, allocations: 6.078 kB / 392.2 MB, free: 18.46 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006159/0.4344, allocations: 41.45 kB / 392.2 MB, free: 18.46 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001739/0.4346, allocations: 30.08 kB / 392.2 MB, free: 18.46 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.638e-05/0.4346, allocations: 5.203 kB / 392.2 MB, free: 18.46 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005145/0.4352, allocations: 190.7 kB / 392.4 MB, free: 18.38 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.4352, allocations: 0 / 392.4 MB, free: 18.38 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001413/0.4366, allocations: 135.5 kB / 392.6 MB, free: 18.38 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.003654/0.4403, allocations: 1.035 MB / 393.6 MB, free: 17.77 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.003578/0.444, allocations: 0.7531 MB / 394.3 MB, free: 17.41 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/0.444, allocations: 0 / 394.3 MB, free: 17.41 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00134/0.4454, allocations: 250.4 kB / 394.6 MB, free: 17.3 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007723/0.4462, allocations: 48.67 kB / 394.6 MB, free: 17.3 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009018/0.4553, allocations: 2.75 MB / 397.4 MB, free: 15.47 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002942/0.4556, allocations: 0.7686 MB / 398.2 MB, free: 14.77 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002269/0.4559, allocations: 81.66 kB / 398.2 MB, free: 14.7 MB / 282.7 MB Notification: Performance of SimCode: time 1.333e-06/0.4559, allocations: 1.125 kB / 398.2 MB, free: 14.7 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_Electrical_Analog_Examples_OpAmps_HighPassCalcHelperMain.o OMCppModelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_OpAmps_HighPassCalcHelperMain.cpp In file included from OMCppModelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_OpAmps_HighPassCalcHelperMain.cpp:32: ./OMCppModelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_OpAmps_HighPassJacobian.cpp:79:26: error: use of undeclared identifier '__HOM_LAMBDA_' _NLSJac0jac_tmp(4) = ((__HOM_LAMBDA_ * tmp32) + ((1.0 - __HOM_LAMBDA_) * _NLSJac0jac_tmp(3))); ^ ./OMCppModelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_OpAmps_HighPassJacobian.cpp:79:59: error: use of undeclared identifier '__HOM_LAMBDA_' _NLSJac0jac_tmp(4) = ((__HOM_LAMBDA_ * tmp32) + ((1.0 - __HOM_LAMBDA_) * _NLSJac0jac_tmp(3))); ^ In file included from OMCppModelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_OpAmps_HighPassCalcHelperMain.cpp:35: In file included from ./OMCppModelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_OpAmps_HighPassFMU.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 2 errors generated. : recipe for target 'OMCppModelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_OpAmps_HighPassCalcHelperMain.o' failed make: *** [OMCppModelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_OpAmps_HighPassCalcHelperMain.o] Error 1