Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.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.Multivibrator,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator",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.001637/0.001641, allocations: 183.2 kB / 16.4 MB, free: 5.75 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.104/2.104, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001187/0.001187, allocations: 91.28 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005304/0.0005306, allocations: 15.98 kB / 327.1 MB, free: 84 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.342, allocations: 47.57 MB / 374.6 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.003065/0.3452, allocations: 2.07 MB / 376.7 MB, free: 43.82 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001471/0.3467, allocations: 0.6905 MB / 377.4 MB, free: 43.27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001877/0.3469, allocations: 4.25 kB / 377.4 MB, free: 43.27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 7.198e-05/0.347, allocations: 32.81 kB / 377.4 MB, free: 43.24 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003798/0.3474, allocations: 95 kB / 377.5 MB, free: 43.16 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002116/0.3476, allocations: 73.84 kB / 377.6 MB, free: 43.09 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003606/0.348, allocations: 211.9 kB / 377.8 MB, free: 42.96 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002055/0.3482, allocations: 67.38 kB / 377.9 MB, free: 42.93 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001732/0.3484, allocations: 99.59 kB / 378 MB, free: 42.88 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001772/0.3486, allocations: 110.9 kB / 378.1 MB, free: 42.8 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.914e-05/0.3487, allocations: 12.59 kB / 378.1 MB, free: 42.8 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.152e-05/0.3487, allocations: 13.22 kB / 378.1 MB, free: 42.8 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.919e-05/0.3488, allocations: 47.39 kB / 378.1 MB, free: 42.76 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.533e-05/0.3489, allocations: 67.89 kB / 378.2 MB, free: 42.71 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002522/0.3491, allocations: 202.8 kB / 378.4 MB, free: 42.56 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.3491, allocations: 4 kB / 378.4 MB, free: 42.56 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.275e-06/0.3491, allocations: 0 / 378.4 MB, free: 42.56 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.643e-06/0.3492, allocations: 0 / 378.4 MB, free: 42.56 MB / 298.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.001123/0.3503, allocations: 0.525 MB / 378.9 MB, free: 42.08 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.3504, allocations: 9.625 kB / 379 MB, free: 42.08 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.749e-05/0.3505, allocations: 54.33 kB / 379 MB, free: 42.03 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.866e-05/0.3505, allocations: 29.27 kB / 379 MB, free: 42.01 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003538/0.3509, allocations: 252.5 kB / 379.3 MB, free: 41.75 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.481e-05/0.3509, allocations: 17.25 kB / 379.3 MB, free: 41.74 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.075e-05/0.351, allocations: 22.66 kB / 379.3 MB, free: 41.73 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006641/0.3517, allocations: 219 kB / 379.5 MB, free: 41.6 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.3517, allocations: 1.312 kB / 379.5 MB, free: 41.6 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.522e-05/0.3518, allocations: 13.34 kB / 379.5 MB, free: 41.59 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.3518, allocations: 5.938 kB / 379.6 MB, free: 41.59 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007239/0.3525, allocations: 194.3 kB / 379.7 MB, free: 41.5 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002201/0.3547, allocations: 0.9217 MB / 380.7 MB, free: 40.73 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/0.3558, allocations: 221.2 kB / 380.9 MB, free: 40.62 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.911e-05/0.3559, allocations: 6.188 kB / 380.9 MB, free: 40.62 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.3559, allocations: 40.88 kB / 380.9 MB, free: 40.57 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 2.695e-06/0.356, allocations: 0 / 380.9 MB, free: 40.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.003224/0.3592, allocations: 0.6069 MB / 381.5 MB, free: 40.26 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.346e-05/0.3593, allocations: 56.48 kB / 381.6 MB, free: 40.19 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003187/0.3596, allocations: 225.3 kB / 381.8 MB, free: 40.02 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.164e-05/0.3596, allocations: 30.83 kB / 381.8 MB, free: 39.99 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.3598, allocations: 232 kB / 382.1 MB, free: 39.77 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.186e-05/0.3598, allocations: 53 kB / 382.1 MB, free: 39.72 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.455e-05/0.3598, allocations: 5.062 kB / 382.1 MB, free: 39.72 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.444e-05/0.3599, allocations: 317.5 kB / 382.4 MB, free: 39.4 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002801/0.3602, allocations: 65.2 kB / 382.5 MB, free: 39.38 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003519/0.3606, allocations: 127.4 kB / 382.6 MB, free: 39.27 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003107/0.3609, allocations: 79.16 kB / 382.7 MB, free: 39.24 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.3609, allocations: 0 / 382.7 MB, free: 39.24 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001444/0.3624, allocations: 349.2 kB / 383 MB, free: 39.07 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001577/0.3626, allocations: 0.6085 MB / 383.6 MB, free: 38.42 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.3626, allocations: 1.344 kB / 383.6 MB, free: 38.42 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005802/0.3632, allocations: 86.2 kB / 383.7 MB, free: 38.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003093/0.3635, allocations: 46.59 kB / 383.8 MB, free: 38.37 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004282/0.3678, allocations: 1.894 MB / 385.7 MB, free: 36.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000337/0.3682, allocations: 36.11 kB / 385.7 MB, free: 36.71 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.3682, allocations: 6.125 kB / 385.7 MB, free: 36.71 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.3682, allocations: 4.469 kB / 385.7 MB, free: 36.71 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004931/0.3687, allocations: 173.5 kB / 385.9 MB, free: 36.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.3688, allocations: 1.125 kB / 385.9 MB, free: 36.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000111/0.3689, allocations: 28.59 kB / 385.9 MB, free: 36.6 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003038/0.3692, allocations: 40.98 kB / 386 MB, free: 36.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009567/0.3702, allocations: 1.314 MB / 387.3 MB, free: 35.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001463/0.3703, allocations: 17.19 kB / 387.3 MB, free: 35.22 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/0.3704, allocations: 5.438 kB / 387.3 MB, free: 35.22 MB / 298.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 20 * 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: 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001906/0.3706, allocations: 210.5 kB / 387.5 MB, free: 35.02 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.807e-05/0.3707, allocations: 18.5 kB / 387.5 MB, free: 35.01 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.669e-05/0.3707, allocations: 29.78 kB / 387.5 MB, free: 34.98 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.3707, allocations: 2.156 kB / 387.5 MB, free: 34.98 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3708, allocations: 0 / 387.5 MB, free: 34.98 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.3708, allocations: 5.031 kB / 387.6 MB, free: 34.98 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003933/0.3712, allocations: 296.1 kB / 387.8 MB, free: 34.69 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.3712, allocations: 0 / 387.8 MB, free: 34.69 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002338/0.3714, allocations: 23.48 kB / 387.9 MB, free: 34.69 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004712/0.3719, allocations: 82.7 kB / 387.9 MB, free: 34.65 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.776e-05/0.372, allocations: 1.406 kB / 387.9 MB, free: 34.65 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003397/0.3754, allocations: 1.79 MB / 389.7 MB, free: 32.91 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.3754, allocations: 3.953 kB / 389.7 MB, free: 32.91 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001482/0.3769, allocations: 452 kB / 390.2 MB, free: 32.45 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.019e-05/0.377, allocations: 100.8 kB / 390.3 MB, free: 32.33 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.151e-05/0.3771, allocations: 4 kB / 390.3 MB, free: 32.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003266/0.3774, allocations: 19.98 kB / 390.3 MB, free: 32.3 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.686e-05/0.3775, allocations: 16.05 kB / 390.3 MB, free: 32.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.748e-05/0.3775, allocations: 4 kB / 390.3 MB, free: 32.29 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001783/0.3777, allocations: 164.6 kB / 390.5 MB, free: 32.12 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.3777, allocations: 0 / 390.5 MB, free: 32.12 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007679/0.3785, allocations: 111.7 kB / 390.6 MB, free: 32.02 MB / 298.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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: 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001702/0.3802, allocations: 0.9785 MB / 391.6 MB, free: 31 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001733/0.382, allocations: 0.5598 MB / 392.1 MB, free: 30.42 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.382, allocations: 0 / 392.1 MB, free: 30.42 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004279/0.3824, allocations: 210.7 kB / 392.3 MB, free: 30.2 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004948/0.3829, allocations: 37.06 kB / 392.4 MB, free: 30.16 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004027/0.387, allocations: 2.407 MB / 394.8 MB, free: 27.68 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002095/0.3873, allocations: 0.752 MB / 395.5 MB, free: 26.9 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001364/0.3874, allocations: 63.42 kB / 395.6 MB, free: 26.84 MB / 298.7 MB Notification: Performance of SimCode: time 1.243e-06/0.3874, allocations: 0 / 395.6 MB, free: 26.84 MB / 298.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_MultivibratorCalcHelperMain.o OMCppModelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_OpAmps_MultivibratorCalcHelperMain.cpp In file included from OMCppModelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_OpAmps_MultivibratorCalcHelperMain.cpp:32: ./OMCppModelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_OpAmps_MultivibratorJacobian.cpp:80:24: error: use of undeclared identifier '__HOM_LAMBDA_' _NLSJac0jac_y(0) = ((__HOM_LAMBDA_ * tmp14) - _NLSJac0jac_tmp(2)); ^ In file included from OMCppModelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_OpAmps_MultivibratorCalcHelperMain.cpp:35: In file included from ./OMCppModelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_OpAmps_MultivibratorFMU.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 1 error generated. : recipe for target 'OMCppModelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_OpAmps_MultivibratorCalcHelperMain.o' failed make: *** [OMCppModelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_OpAmps_MultivibratorCalcHelperMain.o] Error 1