Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant.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.CurrentSourceReImInputConstant,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_CurrentSourceReImInputConstant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_CurrentSourceReImInputConstant",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.008165/0.008165, 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.362/1.362, allocations: 223.2 MB / 239 MB, free: 76 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.0009632/0.0009629, allocations: 101.1 kB / 290.2 MB, free: 4.477 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5175/0.5175, allocations: 79.44 MB / 420.7 MB, free: 36.28 MB / 346.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004341/0.0004341, allocations: 8 kB / 0.4891 GB, free: 6.25 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1617, allocations: 69.52 MB / 0.557 GB, free: 0.6719 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4706/0.6324, allocations: 99.02 MB / 0.6537 GB, free: 2.039 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001918/0.6326, allocations: 77.81 kB / 0.6538 GB, free: 1.965 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06769/0.7003, allocations: 24.91 MB / 0.6781 GB, free: 9.113 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.7003, allocations: 0 / 0.6781 GB, free: 9.113 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.765e-05/0.7004, allocations: 20 kB / 0.6781 GB, free: 9.094 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.00568/0.7061, allocations: 1.807 MB / 0.6799 GB, free: 7.238 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.7062, allocations: 12.03 kB / 0.6799 GB, free: 7.227 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003609/0.7066, allocations: 122.5 kB / 0.68 GB, free: 7.098 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002885/0.7095, allocations: 486 kB / 0.6805 GB, free: 6.621 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001526/0.711, allocations: 0.6588 MB / 0.6811 GB, free: 5.906 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004149/0.7114, allocations: 361.2 kB / 0.6815 GB, free: 5.5 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002686/0.7117, allocations: 67.95 kB / 0.6815 GB, free: 5.434 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002534/0.7143, allocations: 1.18 MB / 0.6827 GB, free: 4.242 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.7143, allocations: 0 / 0.6827 GB, free: 4.242 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.174e-05/0.7144, allocations: 33.59 kB / 0.6827 GB, free: 4.211 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.515e-05/0.7144, allocations: 16 kB / 0.6827 GB, free: 4.195 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002353/0.7168, allocations: 1.136 MB / 0.6838 GB, free: 3.059 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.006206/0.723, allocations: 3.465 MB / 0.6872 GB, free: 15.43 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01733/0.7403, allocations: 5.158 MB / 0.6923 GB, free: 10.14 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002127/0.7406, allocations: 16.98 kB / 0.6923 GB, free: 10.12 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/0.7406, allocations: 47.56 kB / 0.6923 GB, free: 10.07 MB / 490.7 MB Notification: Performance of pre-optimization done (n=88): time 4.067e-06/0.7406, allocations: 7.922 kB / 0.6923 GB, free: 10.06 MB / 490.7 MB Notification: Performance of matching and sorting (n=88): time 0.03659/0.7772, allocations: 9.991 MB / 0.7021 GB, free: 36 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/0.7774, allocations: 90.11 kB / 0.7022 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001601/0.779, allocations: 0.7269 MB / 0.7029 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002777/0.7793, allocations: 39.11 kB / 0.7029 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004586/0.7798, allocations: 460.5 kB / 0.7034 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006169/0.7804, allocations: 303.5 kB / 0.7037 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.7805, allocations: 16 kB / 0.7037 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001925/0.7807, allocations: 338 kB / 0.704 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001709/0.7824, allocations: 0.6657 MB / 0.7046 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001747/0.7842, allocations: 0.8002 MB / 0.7054 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001629/0.7858, allocations: 0.7136 MB / 0.7061 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.7859, allocations: 0 / 0.7061 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.01651/0.8024, allocations: 5.226 MB / 0.7112 GB, free: 6.566 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.442e-05/0.8025, allocations: 8.312 kB / 0.7112 GB, free: 6.559 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.8025, allocations: 11.94 kB / 0.7112 GB, free: 6.547 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008191/0.8107, allocations: 2.412 MB / 0.7136 GB, free: 4.129 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006734/0.8114, allocations: 103.9 kB / 0.7137 GB, free: 4.027 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03095/0.8424, allocations: 11.64 MB / 0.7251 GB, free: 8.254 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001635/0.8441, allocations: 187.2 kB / 0.7252 GB, free: 8.07 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001984/0.8443, allocations: 35.98 kB / 0.7253 GB, free: 8.035 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 (61): * 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): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 15} Notification: Performance of prepare postOptimizeDAE: time 0.0006803/0.845, allocations: 225.6 kB / 0.7255 GB, free: 7.805 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004098/0.8454, allocations: 106.7 kB / 0.7256 GB, free: 7.699 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01645/0.8619, allocations: 5.224 MB / 0.7307 GB, free: 2.465 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.838e-05/0.8619, allocations: 12 kB / 0.7307 GB, free: 2.453 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.862, allocations: 0 / 0.7307 GB, free: 2.453 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.796e-05/0.862, allocations: 11.97 kB / 0.7307 GB, free: 2.441 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02056/0.8826, allocations: 6.716 MB / 0.7373 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.118e-05/0.8827, allocations: 3.953 kB / 0.7373 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005583/0.8832, allocations: 83.91 kB / 0.7374 GB, free: 11.53 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007586/0.8908, allocations: 2.327 MB / 0.7396 GB, free: 9.195 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002454/0.8911, allocations: 16 kB / 0.7396 GB, free: 9.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02748/0.9186, allocations: 10.29 MB / 0.7497 GB, free: 14.75 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.9187, allocations: 1.062 kB / 0.7497 GB, free: 14.75 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01927/0.938, allocations: 6.3 MB / 0.7559 GB, free: 8.418 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006968/0.9387, allocations: 203.5 kB / 0.756 GB, free: 8.199 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000491/0.9392, allocations: 20 kB / 0.7561 GB, free: 8.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001588/0.9408, allocations: 143.9 kB / 0.7562 GB, free: 8.039 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008937/0.9418, allocations: 224.6 kB / 0.7564 GB, free: 7.82 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001486/0.9419, allocations: 23.94 kB / 0.7564 GB, free: 7.797 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001095/0.943, allocations: 0.5752 MB / 0.757 GB, free: 7.211 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.41e-07/0.943, allocations: 3.938 kB / 0.757 GB, free: 7.207 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001932/0.945, allocations: 419.5 kB / 0.7574 GB, free: 6.797 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 (50): * Single equations (assignments): 49 * 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: 0 * Non-linear torn systems: 1 {26 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.01898/0.964, allocations: 6.969 MB / 0.7642 GB, free: 15.78 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.008261/0.9723, allocations: 2.661 MB / 0.7668 GB, free: 13.11 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.9723, allocations: 0.5625 kB / 0.7668 GB, free: 13.11 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006322/0.9787, allocations: 1.902 MB / 0.7687 GB, free: 11.2 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/0.9798, allocations: 79.98 kB / 0.7687 GB, free: 11.12 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0305/1.01, allocations: 13.3 MB / 0.7817 GB, free: 13.48 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008684/1.011, allocations: 1.076 MB / 0.7828 GB, free: 12.38 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0004379/1.012, allocations: 61.34 kB / 0.7828 GB, free: 12.32 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006447/1.012, allocations: 393 kB / 0.7832 GB, free: 11.93 MB / 0.573 GB Notification: Performance of SimCode: time 1.432e-06/1.012, allocations: 3.938 kB / 0.7832 GB, free: 11.93 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.347/1.359, allocations: 31.29 MB / 0.8138 GB, free: 157.6 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001811/1.36, allocations: 209.1 kB / 0.814 GB, free: 157.3 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_CurrentSourceReImInputConstant.o OpenIPSL_dev_OpenIPSL_Tests_Sources_CurrentSourceReImInputConstant.c In file included from OpenIPSL_dev_OpenIPSL_Tests_Sources_CurrentSourceReImInputConstant.c:7: In file included from ./OpenIPSL_dev_OpenIPSL_Tests_Sources_CurrentSourceReImInputConstant_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_CurrentSourceReImInputConstant.c:7: In file included from ./OpenIPSL_dev_OpenIPSL_Tests_Sources_CurrentSourceReImInputConstant_model.h:24: ./OpenIPSL_dev_OpenIPSL_Tests_Sources_CurrentSourceReImInputConstant_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_CurrentSourceReImInputConstant.o] Error 1