Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant.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.VoltageSourceReImInputConstant,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputConstant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Sources.VoltageSourceReImInputConstant,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputConstant",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.01149/0.01149, allocations: 170.3 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.781 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.000993/0.000993, allocations: 103.7 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4857/0.4857, allocations: 79.44 MB / 420.8 MB, free: 43.69 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003963/0.0003963, allocations: 8 kB / 0.4891 GB, free: 1.934 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.465/0.4654, allocations: 69.5 MB / 0.557 GB, free: 38.57 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1436/0.6091, allocations: 99.08 MB / 0.6537 GB, free: 6.367 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002537/0.6094, allocations: 79.95 kB / 0.6538 GB, free: 6.289 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06849/0.6779, allocations: 24.92 MB / 0.6782 GB, free: 13.24 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.6779, allocations: 0 / 0.6782 GB, free: 13.24 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.545e-05/0.678, allocations: 20 kB / 0.6782 GB, free: 13.22 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.005912/0.684, allocations: 1.799 MB / 0.6799 GB, free: 11.37 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.684, allocations: 8.031 kB / 0.6799 GB, free: 11.36 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000395/0.6844, allocations: 126.5 kB / 0.6801 GB, free: 11.23 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002915/0.6873, allocations: 486 kB / 0.6805 GB, free: 10.75 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001577/0.6889, allocations: 0.6588 MB / 0.6812 GB, free: 10.04 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004276/0.6894, allocations: 365.2 kB / 0.6815 GB, free: 9.625 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002583/0.6896, allocations: 68 kB / 0.6816 GB, free: 9.559 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002711/0.6924, allocations: 1.176 MB / 0.6827 GB, free: 8.367 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/0.6924, allocations: 0 / 0.6827 GB, free: 8.367 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/0.6925, allocations: 32 kB / 0.6828 GB, free: 8.336 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.233e-05/0.6925, allocations: 16 kB / 0.6828 GB, free: 8.32 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002642/0.6952, allocations: 1.132 MB / 0.6839 GB, free: 7.188 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.007509/0.7027, allocations: 3.49 MB / 0.6873 GB, free: 3.551 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01287/0.7156, allocations: 4.011 MB / 0.6912 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001793/0.7158, allocations: 12.66 kB / 0.6912 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.82e-05/0.7159, allocations: 43.22 kB / 0.6913 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=83): time 6.412e-06/0.7159, allocations: 0 / 0.6913 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=83): time 0.03108/0.747, allocations: 8.911 MB / 0.7 GB, free: 6.41 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.842e-05/0.7471, allocations: 89.7 kB / 0.7 GB, free: 6.301 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001578/0.7486, allocations: 0.7513 MB / 0.7008 GB, free: 5.531 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001753/0.7488, allocations: 49.69 kB / 0.7008 GB, free: 5.477 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004025/0.7493, allocations: 472.3 kB / 0.7013 GB, free: 5.012 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000445/0.7497, allocations: 291.7 kB / 0.7016 GB, free: 4.723 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.348e-05/0.7498, allocations: 20 kB / 0.7016 GB, free: 4.703 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.75, allocations: 330 kB / 0.7019 GB, free: 4.375 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001501/0.7515, allocations: 0.6695 MB / 0.7025 GB, free: 3.707 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001606/0.7531, allocations: 0.815 MB / 0.7033 GB, free: 2.832 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001586/0.7547, allocations: 0.7099 MB / 0.704 GB, free: 2.121 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.7547, allocations: 0 / 0.704 GB, free: 2.121 MB / 0.4948 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.01523/0.7699, allocations: 5.118 MB / 0.709 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.089e-05/0.77, allocations: 8.625 kB / 0.709 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.77, allocations: 7.938 kB / 0.709 GB, free: 12.97 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007668/0.7777, allocations: 2.513 MB / 0.7115 GB, free: 10.45 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005411/0.7783, allocations: 103.8 kB / 0.7116 GB, free: 10.35 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0274/0.8057, allocations: 10.96 MB / 0.7223 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001899/0.8076, allocations: 203.1 kB / 0.7225 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002415/0.8079, allocations: 24 kB / 0.7225 GB, free: 15.03 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (62): * Single equations (assignments): 60 * 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.0008262/0.8087, allocations: 221.7 kB / 0.7227 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005057/0.8092, allocations: 122.6 kB / 0.7228 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01524/0.8245, allocations: 5.107 MB / 0.7278 GB, free: 9.555 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.792e-05/0.8245, allocations: 12 kB / 0.7278 GB, free: 9.543 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.8246, allocations: 4 kB / 0.7279 GB, free: 9.539 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-05/0.8246, allocations: 3.984 kB / 0.7279 GB, free: 9.535 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01776/0.8424, allocations: 6.552 MB / 0.7343 GB, free: 2.871 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.305e-05/0.8424, allocations: 3.938 kB / 0.7343 GB, free: 2.867 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004638/0.8429, allocations: 71.91 kB / 0.7343 GB, free: 2.797 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0074/0.8503, allocations: 2.41 MB / 0.7367 GB, free: 388 kB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001589/0.8505, allocations: 16 kB / 0.7367 GB, free: 372 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02397/0.8745, allocations: 9.721 MB / 0.7462 GB, free: 6.504 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.8745, allocations: 0 / 0.7462 GB, free: 6.504 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01699/0.8915, allocations: 6.137 MB / 0.7522 GB, free: 340 kB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005673/0.8921, allocations: 195.6 kB / 0.7524 GB, free: 124 kB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003352/0.8925, allocations: 19.95 kB / 0.7524 GB, free: 104 kB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001348/0.8938, allocations: 139.9 kB / 0.7525 GB, free: 15.96 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007991/0.8947, allocations: 224.6 kB / 0.7527 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001138/0.8948, allocations: 23.98 kB / 0.7528 GB, free: 15.72 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001097/0.8959, allocations: 0.5991 MB / 0.7533 GB, free: 15.11 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.41e-07/0.8959, allocations: 0 / 0.7533 GB, free: 15.11 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001784/0.8977, allocations: 407.5 kB / 0.7537 GB, free: 14.71 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 (46): * Single equations (assignments): 44 * 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.01735/0.9151, allocations: 6.8 MB / 0.7604 GB, free: 7.871 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.007907/0.923, allocations: 2.715 MB / 0.763 GB, free: 5.117 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.9231, allocations: 3.938 kB / 0.763 GB, free: 5.113 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005916/0.929, allocations: 1.961 MB / 0.7649 GB, free: 3.125 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001056/0.9301, allocations: 69.78 kB / 0.765 GB, free: 3.055 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3018/1.232, allocations: 13.73 MB / 0.7784 GB, free: 147.6 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005029/1.232, allocations: 1.07 MB / 0.7795 GB, free: 146.9 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0002847/1.233, allocations: 67.02 kB / 0.7795 GB, free: 146.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005001/1.233, allocations: 390.8 kB / 0.7799 GB, free: 146.9 MB / 0.5573 GB Notification: Performance of SimCode: time 1.152e-06/1.233, allocations: 3.938 kB / 0.7799 GB, free: 146.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05726/1.29, allocations: 31.03 MB / 0.8102 GB, free: 145.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001995/1.291, allocations: 212.3 kB / 0.8104 GB, free: 145.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_VoltageSourceReImInputConstant.o OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputConstant.c In file included from OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputConstant.c:7: In file included from ./OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputConstant_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_VoltageSourceReImInputConstant.c:7: In file included from ./OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputConstant_model.h:24: ./OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputConstant_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_VoltageSourceReImInputConstant.o] Error 1