Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryReal.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.VoltageSourceReImInputVaryReal,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputVaryReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryReal,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputVaryReal",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.008245/0.008245, allocations: 170.8 kB / 15.11 MB, free: 6.039 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.481/1.481, allocations: 223.2 MB / 239 MB, free: 1.773 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.000913/0.0009131, allocations: 95.06 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5027/0.5027, allocations: 79.44 MB / 420.7 MB, free: 43.67 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004382/0.0004384, allocations: 8 kB / 0.4891 GB, free: 1.941 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4644/0.4649, allocations: 69.51 MB / 0.557 GB, free: 39.22 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1408/0.6058, allocations: 99.45 MB / 0.6541 GB, free: 6.125 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002594/0.6061, allocations: 75.95 kB / 0.6542 GB, free: 6.051 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07209/0.6782, allocations: 25.21 MB / 0.6788 GB, free: 12.71 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.807e-06/0.6783, allocations: 0 / 0.6788 GB, free: 12.71 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001156/0.6784, allocations: 16 kB / 0.6788 GB, free: 12.69 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.006194/0.6846, allocations: 1.834 MB / 0.6806 GB, free: 10.8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/0.6847, allocations: 8.031 kB / 0.6806 GB, free: 10.8 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004717/0.6852, allocations: 122.5 kB / 0.6807 GB, free: 10.67 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003101/0.6883, allocations: 490 kB / 0.6812 GB, free: 10.19 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001758/0.6901, allocations: 0.6628 MB / 0.6818 GB, free: 9.469 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004482/0.6905, allocations: 357.2 kB / 0.6822 GB, free: 9.066 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003059/0.6909, allocations: 64 kB / 0.6822 GB, free: 9.004 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002512/0.6934, allocations: 1.204 MB / 0.6834 GB, free: 7.785 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.6934, allocations: 0 / 0.6834 GB, free: 7.785 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.356e-05/0.6935, allocations: 28 kB / 0.6834 GB, free: 7.758 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.93e-05/0.6935, allocations: 20 kB / 0.6835 GB, free: 7.738 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002455/0.696, allocations: 1.167 MB / 0.6846 GB, free: 6.57 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.006623/0.7026, allocations: 3.381 MB / 0.6879 GB, free: 3.043 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007943/0.7106, allocations: 2.866 MB / 0.6907 GB, free: 92 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001996/0.7109, allocations: 12.98 kB / 0.6907 GB, free: 80 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.7109, allocations: 47.55 kB / 0.6908 GB, free: 24 kB / 490.7 MB Notification: Performance of pre-optimization done (n=89): time 5.781e-06/0.7109, allocations: 0 / 0.6908 GB, free: 24 kB / 490.7 MB Notification: Performance of matching and sorting (n=89): time 0.02961/0.7405, allocations: 8.474 MB / 0.699 GB, free: 7.488 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.72e-05/0.7406, allocations: 86.11 kB / 0.6991 GB, free: 7.383 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001382/0.742, allocations: 0.7305 MB / 0.6998 GB, free: 6.633 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002736/0.7423, allocations: 41.7 kB / 0.6999 GB, free: 6.586 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003707/0.7427, allocations: 456.6 kB / 0.7003 GB, free: 6.133 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000383/0.7431, allocations: 315.4 kB / 0.7006 GB, free: 5.82 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.401e-05/0.7432, allocations: 12 kB / 0.7006 GB, free: 5.809 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.7433, allocations: 338 kB / 0.7009 GB, free: 5.473 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001514/0.7448, allocations: 0.693 MB / 0.7016 GB, free: 4.781 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001592/0.7464, allocations: 0.8203 MB / 0.7024 GB, free: 3.914 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001555/0.748, allocations: 0.7253 MB / 0.7031 GB, free: 3.188 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.837e-06/0.748, allocations: 4 kB / 0.7031 GB, free: 3.184 MB / 0.4948 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.01588/0.7639, allocations: 5.201 MB / 0.7082 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.269e-05/0.764, allocations: 16.23 kB / 0.7082 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.698e-05/0.764, allocations: 8 kB / 0.7082 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00792/0.7719, allocations: 2.513 MB / 0.7107 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006241/0.7726, allocations: 107.8 kB / 0.7108 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02845/0.8011, allocations: 10.97 MB / 0.7215 GB, free: 228 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001799/0.8029, allocations: 203.2 kB / 0.7217 GB, free: 24 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002461/0.8032, allocations: 28.03 kB / 0.7217 GB, free: 15.99 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.0007622/0.804, allocations: 232.2 kB / 0.7219 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004488/0.8044, allocations: 106.7 kB / 0.722 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01526/0.8197, allocations: 5.158 MB / 0.7271 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.632e-05/0.8197, allocations: 8 kB / 0.7271 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.8197, allocations: 0 / 0.7271 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.09e-05/0.8198, allocations: 7.984 kB / 0.7271 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01792/0.8377, allocations: 6.75 MB / 0.7337 GB, free: 3.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.348e-05/0.8378, allocations: 0 / 0.7337 GB, free: 3.59 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000569/0.8383, allocations: 95.83 kB / 0.7338 GB, free: 3.496 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007352/0.8457, allocations: 2.406 MB / 0.7361 GB, free: 1.082 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000222/0.8459, allocations: 19.98 kB / 0.7362 GB, free: 1.062 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02316/0.8691, allocations: 9.699 MB / 0.7456 GB, free: 7.223 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.8692, allocations: 0 / 0.7456 GB, free: 7.223 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01747/0.8866, allocations: 6.262 MB / 0.7517 GB, free: 0.9258 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005421/0.8872, allocations: 203.5 kB / 0.7519 GB, free: 0.707 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003866/0.8876, allocations: 16 kB / 0.7519 GB, free: 0.6914 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001548/0.8892, allocations: 151.9 kB / 0.7521 GB, free: 0.543 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008641/0.8901, allocations: 236.5 kB / 0.7523 GB, free: 320 kB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001399/0.8902, allocations: 24 kB / 0.7523 GB, free: 296 kB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001005/0.8913, allocations: 0.5711 MB / 0.7529 GB, free: 15.71 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8913, allocations: 0 / 0.7529 GB, free: 15.71 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001896/0.8932, allocations: 419.5 kB / 0.7533 GB, free: 15.3 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.01845/0.9116, allocations: 6.921 MB / 0.7601 GB, free: 8.332 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.008507/0.9202, allocations: 2.776 MB / 0.7628 GB, free: 5.52 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.9202, allocations: 0 / 0.7628 GB, free: 5.52 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006384/0.9266, allocations: 2.003 MB / 0.7647 GB, free: 3.48 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009866/0.9276, allocations: 75.44 kB / 0.7648 GB, free: 3.406 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3012/1.229, allocations: 13.19 MB / 0.7777 GB, free: 149.1 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004899/1.229, allocations: 1.078 MB / 0.7787 GB, free: 148.4 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003512/1.23, allocations: 65.86 kB / 0.7788 GB, free: 148.4 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006001/1.23, allocations: 396.6 kB / 0.7792 GB, free: 148.4 MB / 0.5573 GB Notification: Performance of SimCode: time 9.92e-07/1.23, allocations: 0 / 0.7792 GB, free: 148.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06348/1.294, allocations: 31.18 MB / 0.8096 GB, free: 147 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001555/1.294, allocations: 206.8 kB / 0.8098 GB, free: 146.8 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_VoltageSourceReImInputVaryReal.o OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputVaryReal.c In file included from OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputVaryReal.c:7: In file included from ./OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputVaryReal_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_VoltageSourceReImInputVaryReal.c:7: In file included from ./OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputVaryReal_model.h:24: ./OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputVaryReal_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_VoltageSourceReImInputVaryReal.o] Error 1