Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryRealAndImag.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.VoltageSourceReImInputVaryRealAndImag,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputVaryRealAndImag",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryRealAndImag,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputVaryRealAndImag",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.006695/0.006695, allocations: 170.9 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.371/1.371, allocations: 223.2 MB / 239 MB, free: 40 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 98.69 kB / 290.2 MB, free: 4.52 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5285/0.5285, allocations: 79.44 MB / 420.7 MB, free: 36.27 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003949/0.0003952, allocations: 8 kB / 0.4891 GB, free: 6.258 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1603, allocations: 69.5 MB / 0.557 GB, free: 0.6953 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.475/0.6353, allocations: 99.54 MB / 0.6542 GB, free: 1.5 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000253/0.6356, allocations: 80.8 kB / 0.6543 GB, free: 1.422 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07/0.7056, allocations: 25.45 MB / 0.6791 GB, free: 8.023 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.365e-06/0.7056, allocations: 0 / 0.6791 GB, free: 8.023 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.025e-05/0.7057, allocations: 20 kB / 0.6792 GB, free: 8.004 MB / 474.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.004775/0.7105, allocations: 1.853 MB / 0.681 GB, free: 6.098 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.7105, allocations: 8.031 kB / 0.681 GB, free: 6.09 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000176/0.7107, allocations: 118.5 kB / 0.6811 GB, free: 5.965 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002604/0.7133, allocations: 498 kB / 0.6816 GB, free: 5.477 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001072/0.7144, allocations: 0.6514 MB / 0.6822 GB, free: 4.77 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003485/0.7148, allocations: 357.3 kB / 0.6825 GB, free: 4.367 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/0.7149, allocations: 71.95 kB / 0.6826 GB, free: 4.297 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003257/0.7182, allocations: 1.219 MB / 0.6838 GB, free: 3.062 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/0.7182, allocations: 0 / 0.6838 GB, free: 3.062 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001367/0.7184, allocations: 32 kB / 0.6838 GB, free: 3.031 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.145e-05/0.7184, allocations: 16 kB / 0.6838 GB, free: 3.016 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004208/0.7226, allocations: 1.202 MB / 0.685 GB, free: 1.812 MB / 474.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.01126/0.7339, allocations: 3.403 MB / 0.6883 GB, free: 14.27 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01464/0.7486, allocations: 3.056 MB / 0.6913 GB, free: 11.08 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002625/0.7489, allocations: 9 kB / 0.6913 GB, free: 11.07 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.716e-05/0.749, allocations: 51.45 kB / 0.6914 GB, free: 11.02 MB / 490.7 MB Notification: Performance of pre-optimization done (n=90): time 5.931e-06/0.749, allocations: 6.625 kB / 0.6914 GB, free: 11.01 MB / 490.7 MB Notification: Performance of matching and sorting (n=90): time 0.05641/0.8054, allocations: 9.445 MB / 0.7006 GB, free: 1.508 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.988e-05/0.8055, allocations: 90.11 kB / 0.7007 GB, free: 1.402 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001489/0.807, allocations: 0.7106 MB / 0.7014 GB, free: 0.6719 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002689/0.8073, allocations: 41.7 kB / 0.7014 GB, free: 0.625 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004323/0.8078, allocations: 464.5 kB / 0.7019 GB, free: 168 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006189/0.8084, allocations: 319.4 kB / 0.7022 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.8085, allocations: 20 kB / 0.7022 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001714/0.8087, allocations: 334 kB / 0.7025 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001719/0.8104, allocations: 0.7124 MB / 0.7032 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001685/0.8121, allocations: 0.8432 MB / 0.704 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001606/0.8138, allocations: 0.7526 MB / 0.7048 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.8138, allocations: 0 / 0.7048 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.01635/0.8301, allocations: 5.201 MB / 0.7099 GB, free: 7.922 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.777e-05/0.8302, allocations: 5.094 kB / 0.7099 GB, free: 7.918 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/0.8302, allocations: 8 kB / 0.7099 GB, free: 7.91 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008015/0.8382, allocations: 2.517 MB / 0.7123 GB, free: 5.387 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006472/0.8389, allocations: 119.8 kB / 0.7124 GB, free: 5.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02782/0.8668, allocations: 10.95 MB / 0.7231 GB, free: 10.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001702/0.8685, allocations: 211.1 kB / 0.7233 GB, free: 9.98 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001947/0.8687, allocations: 24 kB / 0.7234 GB, free: 9.957 MB / 0.5105 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 (64): * Single equations (assignments): 62 * 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.0006625/0.8694, allocations: 226.7 kB / 0.7236 GB, free: 9.727 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003556/0.8698, allocations: 110.7 kB / 0.7237 GB, free: 9.617 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01656/0.8863, allocations: 5.209 MB / 0.7288 GB, free: 4.387 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.141e-05/0.8864, allocations: 15.94 kB / 0.7288 GB, free: 4.371 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.8864, allocations: 4 kB / 0.7288 GB, free: 4.367 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.353e-05/0.8864, allocations: 7.922 kB / 0.7288 GB, free: 4.359 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01939/0.9058, allocations: 6.789 MB / 0.7354 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-05/0.9059, allocations: 4 kB / 0.7354 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006344/0.9065, allocations: 103.8 kB / 0.7355 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007996/0.9146, allocations: 2.406 MB / 0.7379 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002459/0.9149, allocations: 16 kB / 0.7379 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02518/0.9401, allocations: 9.703 MB / 0.7474 GB, free: 1.078 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.9401, allocations: 0 / 0.7474 GB, free: 1.078 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01865/0.9588, allocations: 6.379 MB / 0.7536 GB, free: 10.67 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005493/0.9594, allocations: 195.5 kB / 0.7538 GB, free: 10.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004218/0.9598, allocations: 23.98 kB / 0.7538 GB, free: 10.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001473/0.9613, allocations: 159.9 kB / 0.754 GB, free: 10.28 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009108/0.9622, allocations: 232.6 kB / 0.7542 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001373/0.9624, allocations: 24 kB / 0.7542 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.00102/0.9634, allocations: 0.567 MB / 0.7548 GB, free: 9.445 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.4e-07/0.9634, allocations: 0 / 0.7548 GB, free: 9.445 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001802/0.9652, allocations: 429.4 kB / 0.7552 GB, free: 9.027 MB / 0.5417 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 (53): * 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): 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.01842/0.9837, allocations: 7.031 MB / 0.762 GB, free: 1.957 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.008383/0.9921, allocations: 2.838 MB / 0.7648 GB, free: 15.09 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.9921, allocations: 0 / 0.7648 GB, free: 15.09 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006294/0.9984, allocations: 2.029 MB / 0.7668 GB, free: 13.03 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/0.9996, allocations: 80.61 kB / 0.7669 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02897/1.029, allocations: 13.24 MB / 0.7798 GB, free: 15.38 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008636/1.03, allocations: 1.084 MB / 0.7808 GB, free: 14.27 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0004344/1.03, allocations: 65.23 kB / 0.7809 GB, free: 14.2 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006548/1.031, allocations: 391.3 kB / 0.7813 GB, free: 13.82 MB / 0.573 GB Notification: Performance of SimCode: time 7.61e-07/1.031, allocations: 0 / 0.7813 GB, free: 13.82 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3449/1.376, allocations: 31.29 MB / 0.8118 GB, free: 157.4 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001884/1.376, allocations: 226.9 kB / 0.8121 GB, free: 157.1 MB / 0.573 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_VoltageSourceReImInputVaryRealAndImag.o OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputVaryRealAndImag.c In file included from OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputVaryRealAndImag.c:7: In file included from ./OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputVaryRealAndImag_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_VoltageSourceReImInputVaryRealAndImag.c:7: In file included from ./OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputVaryRealAndImag_model.h:24: ./OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputVaryRealAndImag_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_VoltageSourceReImInputVaryRealAndImag.o] Error 1