Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009916/0.0009918, allocations: 179.5 kB / 16.39 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 223.2 MB / 240.3 MB, free: 10.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008611/0.0008611, allocations: 94.48 kB / 291.5 MB, free: 10.7 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002666/0.0002665, allocations: 8 kB / 351.2 MB, free: 15 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2311/0.2314, allocations: 50.4 MB / 401.6 MB, free: 32.54 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1017/0.3331, allocations: 82.82 MB / 484.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002941/0.3334, allocations: 83.95 kB / 484.5 MB, free: 13.53 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03866/0.3721, allocations: 15.64 MB / 0.4884 GB, free: 13.73 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.3722, allocations: 0 / 0.4884 GB, free: 13.73 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.935e-05/0.3722, allocations: 8 kB / 0.4884 GB, free: 13.72 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001763/0.374, allocations: 0.761 MB / 0.4891 GB, free: 12.91 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.374, allocations: 8.031 kB / 0.4892 GB, free: 12.9 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001857/0.3742, allocations: 103.7 kB / 0.4893 GB, free: 12.79 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002316/0.3765, allocations: 367 kB / 0.4896 GB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004447/0.377, allocations: 302.4 kB / 0.4899 GB, free: 12.1 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.827e-05/0.3771, allocations: 41.31 kB / 0.4899 GB, free: 12.06 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.465e-05/0.3771, allocations: 52 kB / 0.49 GB, free: 12.01 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/0.3782, allocations: 0.5297 MB / 0.4905 GB, free: 11.47 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.534e-05/0.3782, allocations: 7.844 kB / 0.4905 GB, free: 11.46 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.093e-05/0.3783, allocations: 20 kB / 0.4905 GB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.713e-05/0.3783, allocations: 19.95 kB / 0.4905 GB, free: 11.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001028/0.3794, allocations: 0.5908 MB / 0.4911 GB, free: 10.83 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00317/0.3825, allocations: 1.929 MB / 0.493 GB, free: 8.797 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002192/0.3848, allocations: 2.169 MB / 0.4951 GB, free: 6.25 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000106/0.3849, allocations: 93.53 kB / 0.4952 GB, free: 6.141 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/0.3849, allocations: 35 kB / 0.4952 GB, free: 6.098 MB / 378.7 MB Notification: Performance of pre-optimization done (n=47): time 2.635e-06/0.3849, allocations: 0 / 0.4952 GB, free: 6.098 MB / 378.7 MB Notification: Performance of matching and sorting (n=47): time 0.001832/0.3868, allocations: 0.7665 MB / 0.496 GB, free: 5.301 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/0.3868, allocations: 55.84 kB / 0.496 GB, free: 5.234 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001984/0.387, allocations: 166 kB / 0.4962 GB, free: 5.066 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.351e-05/0.3871, allocations: 37.58 kB / 0.4962 GB, free: 5.023 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001336/0.3872, allocations: 228.3 kB / 0.4965 GB, free: 4.793 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/0.3874, allocations: 157.7 kB / 0.4966 GB, free: 4.637 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.539e-05/0.3874, allocations: 12 kB / 0.4966 GB, free: 4.625 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.3875, allocations: 338.8 kB / 0.4969 GB, free: 4.285 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002954/0.3878, allocations: 165 kB / 0.4971 GB, free: 4.125 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003423/0.3882, allocations: 232.8 kB / 0.4973 GB, free: 3.875 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003569/0.3885, allocations: 188.7 kB / 0.4975 GB, free: 3.691 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.3886, allocations: 4 kB / 0.4975 GB, free: 3.688 MB / 378.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00102/0.3896, allocations: 0.5435 MB / 0.498 GB, free: 3.133 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.3896, allocations: 8 kB / 0.498 GB, free: 3.125 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.3896, allocations: 0 / 0.498 GB, free: 3.125 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003348/0.39, allocations: 84.72 kB / 0.4981 GB, free: 3.039 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004046/0.3904, allocations: 95.89 kB / 0.4982 GB, free: 2.945 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001698/0.3921, allocations: 1.663 MB / 0.4998 GB, free: 1.148 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000286/0.3924, allocations: 47.58 kB / 0.4999 GB, free: 1.102 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.358e-05/0.3924, allocations: 16 kB / 0.4999 GB, free: 1.086 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (52): * Single equations (assignments): 51 * 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: 1 {(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002239/0.3927, allocations: 173.6 kB / 0.5001 GB, free: 0.9062 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.781e-05/0.3927, allocations: 23.72 kB / 0.5001 GB, free: 0.8828 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00109/0.3938, allocations: 0.5591 MB / 0.5006 GB, free: 320 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.3938, allocations: 4 kB / 0.5006 GB, free: 316 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.3939, allocations: 0 / 0.5006 GB, free: 316 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.3939, allocations: 3.984 kB / 0.5006 GB, free: 312 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1968/0.5906, allocations: 1.138 MB / 0.5018 GB, free: 94.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.5907, allocations: 0.9688 kB / 0.5018 GB, free: 94.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000394/0.5911, allocations: 84.53 kB / 0.5018 GB, free: 94.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003016/0.5914, allocations: 82.11 kB / 0.5019 GB, free: 94.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.367e-05/0.5914, allocations: 11.47 kB / 0.5019 GB, free: 94.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0016/0.5931, allocations: 1.654 MB / 0.5035 GB, free: 93.06 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.5931, allocations: 5.562 kB / 0.5035 GB, free: 93.06 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001473/0.5946, allocations: 0.8139 MB / 0.5043 GB, free: 92.91 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.754e-05/0.5947, allocations: 113 kB / 0.5044 GB, free: 92.81 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.846e-05/0.5947, allocations: 10.45 kB / 0.5045 GB, free: 92.81 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002472/0.595, allocations: 24.09 kB / 0.5045 GB, free: 92.81 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/0.5951, allocations: 34.83 kB / 0.5045 GB, free: 92.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.883e-05/0.5951, allocations: 16.2 kB / 0.5045 GB, free: 92.81 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001455/0.5953, allocations: 136.6 kB / 0.5047 GB, free: 92.73 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5953, allocations: 0 / 0.5047 GB, free: 92.73 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007907/0.5961, allocations: 156.7 kB / 0.5048 GB, free: 92.73 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSource.pin_p.reference.gamma) * 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 (44): * Single equations (assignments): 43 * 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: 1 {(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001862/0.5979, allocations: 1.409 MB / 0.5062 GB, free: 92.04 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001305/0.5993, allocations: 0.5777 MB / 0.5068 GB, free: 91.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.5993, allocations: 0 / 0.5068 GB, free: 91.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005518/0.5998, allocations: 393.8 kB / 0.5071 GB, free: 91.79 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002565/0.6001, allocations: 23.64 kB / 0.5071 GB, free: 91.79 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002866/0.603, allocations: 3.219 MB / 0.5103 GB, free: 89.92 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002123/0.6032, allocations: 0.8158 MB / 0.5111 GB, free: 89.22 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002077/0.6034, allocations: 54.67 kB / 0.5111 GB, free: 89.21 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001632/0.6036, allocations: 128.7 kB / 0.5113 GB, free: 89.2 MB / 378.7 MB Notification: Performance of SimCode: time 4.51e-07/0.6036, allocations: 0.8438 kB / 0.5113 GB, free: 89.2 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01866/0.6223, allocations: 6.864 MB / 0.518 GB, free: 88.82 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001616/0.6225, allocations: 222.4 kB / 0.5182 GB, free: 88.58 MB / 378.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance.o Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance.c In file included from Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance.c:7: In file included from ./Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance.c:7: In file included from ./Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance_model.h:24: ./Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance_functions.h:248:1: error: unknown type name '_omcQComplexOutput_24voltageSensor_24v' _omcQComplexOutput_24voltageSensor_24v omc__omcQComplexOutput_24voltageSensor_24v (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ 2 warnings and 1 error generated. make: *** [: Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_ParallelResonance.o] Error 1