Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryImag.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) 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(OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryImag,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputVaryImag",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryImag,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputVaryImag",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.006444/0.006444, allocations: 169.5 kB / 15.11 MB, free: 5.973 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.401/1.401, allocations: 223.2 MB / 239 MB, free: 1.77 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008782/0.0008783, allocations: 96.36 kB / 290.2 MB, free: 13.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5052/0.5052, allocations: 79.45 MB / 420.8 MB, free: 43.66 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004425/0.0004426, allocations: 12 kB / 0.4891 GB, free: 1.938 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4849/0.4854, allocations: 69.5 MB / 0.557 GB, free: 38.83 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1413/0.6268, allocations: 99.44 MB / 0.6541 GB, free: 6.094 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002228/0.627, allocations: 79.97 kB / 0.6542 GB, free: 6.016 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06874/0.6958, allocations: 25.19 MB / 0.6788 GB, free: 12.7 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.285e-06/0.6959, allocations: 3.938 kB / 0.6788 GB, free: 12.7 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.844e-05/0.6959, allocations: 16 kB / 0.6788 GB, free: 12.68 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.005104/0.701, allocations: 1.834 MB / 0.6806 GB, free: 10.79 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/0.7011, allocations: 8.031 kB / 0.6806 GB, free: 10.79 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002401/0.7014, allocations: 130.5 kB / 0.6807 GB, free: 10.65 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002672/0.704, allocations: 486 kB / 0.6812 GB, free: 10.17 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001175/0.7052, allocations: 0.6589 MB / 0.6818 GB, free: 9.457 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000366/0.7056, allocations: 361.2 kB / 0.6822 GB, free: 9.051 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001289/0.7057, allocations: 68 kB / 0.6822 GB, free: 8.984 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002444/0.7082, allocations: 1.196 MB / 0.6834 GB, free: 7.773 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.7082, allocations: 3.938 kB / 0.6834 GB, free: 7.77 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-05/0.7083, allocations: 32 kB / 0.6834 GB, free: 7.738 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.593e-05/0.7083, allocations: 16 kB / 0.6834 GB, free: 7.723 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002522/0.7109, allocations: 1.167 MB / 0.6846 GB, free: 6.555 MB / 490.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006575/0.7175, allocations: 3.377 MB / 0.6879 GB, free: 3.031 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007994/0.7255, allocations: 2.868 MB / 0.6907 GB, free: 80 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001944/0.7257, allocations: 21 kB / 0.6907 GB, free: 60 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/0.7257, allocations: 39.56 kB / 0.6907 GB, free: 12 kB / 490.7 MB Notification: Performance of pre-optimization done (n=89): time 3.396e-06/0.7258, allocations: 0 / 0.6907 GB, free: 12 kB / 490.7 MB Notification: Performance of matching and sorting (n=89): time 0.03025/0.756, allocations: 8.478 MB / 0.699 GB, free: 7.473 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.177e-05/0.7562, allocations: 94.11 kB / 0.6991 GB, free: 7.359 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001418/0.7576, allocations: 0.7227 MB / 0.6998 GB, free: 6.617 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003027/0.7579, allocations: 41.7 kB / 0.6999 GB, free: 6.57 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003907/0.7583, allocations: 456.7 kB / 0.7003 GB, free: 6.117 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004016/0.7587, allocations: 319.4 kB / 0.7006 GB, free: 5.801 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.891e-05/0.7588, allocations: 16 kB / 0.7006 GB, free: 5.785 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.759, allocations: 334 kB / 0.7009 GB, free: 5.453 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001593/0.7606, allocations: 0.6852 MB / 0.7016 GB, free: 4.77 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001603/0.7622, allocations: 0.8275 MB / 0.7024 GB, free: 3.895 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001565/0.7637, allocations: 0.7253 MB / 0.7031 GB, free: 3.168 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.042e-06/0.7638, allocations: 0 / 0.7031 GB, free: 3.168 MB / 0.4948 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.01593/0.7797, allocations: 5.208 MB / 0.7082 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.738e-05/0.7798, allocations: 4 kB / 0.7082 GB, free: 13.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.7798, allocations: 4 kB / 0.7082 GB, free: 13.94 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007891/0.7877, allocations: 2.513 MB / 0.7107 GB, free: 11.42 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006067/0.7883, allocations: 111.9 kB / 0.7108 GB, free: 11.31 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02689/0.8152, allocations: 10.97 MB / 0.7215 GB, free: 212 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001594/0.8168, allocations: 195.2 kB / 0.7217 GB, free: 16 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/0.817, allocations: 35.98 kB / 0.7217 GB, free: 15.98 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (63): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {24 15} Notification: Performance of prepare postOptimizeDAE: time 0.0005306/0.8175, allocations: 221.6 kB / 0.7219 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002307/0.8177, allocations: 106.7 kB / 0.722 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01549/0.8332, allocations: 5.162 MB / 0.7271 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-05/0.8333, allocations: 12 kB / 0.7271 GB, free: 10.45 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.8333, allocations: 0 / 0.7271 GB, free: 10.45 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.829e-05/0.8334, allocations: 7.922 kB / 0.7271 GB, free: 10.45 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01804/0.8514, allocations: 6.746 MB / 0.7337 GB, free: 3.578 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.691e-05/0.8514, allocations: 4 kB / 0.7337 GB, free: 3.574 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000595/0.8521, allocations: 91.89 kB / 0.7338 GB, free: 3.484 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007843/0.8599, allocations: 2.402 MB / 0.7361 GB, free: 1.074 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002041/0.8601, allocations: 20 kB / 0.7361 GB, free: 1.055 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02403/0.8842, allocations: 9.702 MB / 0.7456 GB, free: 7.215 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.8842, allocations: 0 / 0.7456 GB, free: 7.215 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01837/0.9026, allocations: 6.265 MB / 0.7517 GB, free: 0.9141 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005881/0.9032, allocations: 199.6 kB / 0.7519 GB, free: 0.6992 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001548/0.9034, allocations: 19.94 kB / 0.7519 GB, free: 0.6797 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001208/0.9046, allocations: 151.9 kB / 0.7521 GB, free: 0.5312 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008156/0.9054, allocations: 240.5 kB / 0.7523 GB, free: 304 kB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.54e-05/0.9055, allocations: 20 kB / 0.7523 GB, free: 284 kB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0009098/0.9064, allocations: 0.5711 MB / 0.7529 GB, free: 15.7 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9064, allocations: 0 / 0.7529 GB, free: 15.7 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00135/0.9078, allocations: 415.5 kB / 0.7533 GB, free: 15.29 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (gENCLS.delta,gENCLS.eq,gENCLS.omega) * 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 (52): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {24 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.01834/0.9261, allocations: 6.925 MB / 0.76 GB, free: 8.324 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.007998/0.9342, allocations: 2.776 MB / 0.7627 GB, free: 5.512 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.9342, allocations: 0 / 0.7627 GB, free: 5.512 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006166/0.9404, allocations: 2.004 MB / 0.7647 GB, free: 3.473 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008656/0.9413, allocations: 75.44 kB / 0.7648 GB, free: 3.395 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3023/1.244, allocations: 13.19 MB / 0.7777 GB, free: 148.6 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000542/1.244, allocations: 1.075 MB / 0.7787 GB, free: 147.9 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003547/1.245, allocations: 63.42 kB / 0.7788 GB, free: 147.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005889/1.245, allocations: 398.8 kB / 0.7791 GB, free: 147.9 MB / 0.5573 GB Notification: Performance of SimCode: time 1.042e-06/1.245, allocations: 0 / 0.7791 GB, free: 147.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07347/1.319, allocations: 31.18 MB / 0.8096 GB, free: 146.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002231/1.319, allocations: 214.2 kB / 0.8098 GB, free: 146.3 MB / 0.5573 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputVaryImag.o OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputVaryImag.c In file included from OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputVaryImag.c:7: In file included from ./OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputVaryImag_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 OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputVaryImag.c:7: In file included from ./OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputVaryImag_model.h:24: ./OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputVaryImag_functions.h:137:1: error: unknown type name 'OpenIPSL_Types_ComplexPower' OpenIPSL_Types_ComplexPower omc_OpenIPSL_Types_ComplexPower (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ 2 warnings and 1 error generated. make: *** [: OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputVaryImag.o] Error 1