Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_4.Experiments.SMIB.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.Examples.Tutorial.Example_4.Experiments.SMIB,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_Tutorial_Example_4_Experiments_SMIB",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.Tutorial.Example_4.Experiments.SMIB,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_Tutorial_Example_4_Experiments_SMIB",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.009223/0.009224, allocations: 171.5 kB / 15.11 MB, free: 6.051 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.434/1.434, allocations: 223.2 MB / 239 MB, free: 92 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.001014/0.001014, allocations: 96.58 kB / 290.2 MB, free: 4.461 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5277/0.5277, allocations: 79.44 MB / 420.7 MB, free: 36.47 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005681/0.000568, allocations: 12 kB / 0.4891 GB, free: 6.27 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1833/0.1839, allocations: 69.5 MB / 0.557 GB, free: 0.707 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5136/0.6975, allocations: 120.4 MB / 0.6746 GB, free: 12.69 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002355/0.6978, allocations: 91.94 kB / 0.6747 GB, free: 12.6 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1784/0.8762, allocations: 63.21 MB / 0.7365 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.154e-06/0.8762, allocations: 0 / 0.7365 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0003507/0.8766, allocations: 47.98 kB / 0.7365 GB, free: 13.18 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 353 * Number of variables: 353 Notification: Performance of Generate backend data structure: time 0.01219/0.8888, allocations: 3.234 MB / 0.7397 GB, free: 9.879 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.345e-05/0.8889, allocations: 12.03 kB / 0.7397 GB, free: 9.867 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001051/0.8899, allocations: 214.8 kB / 0.7399 GB, free: 9.648 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005276/0.8952, allocations: 0.7462 MB / 0.7406 GB, free: 8.898 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007019/0.9023, allocations: 1.717 MB / 0.7423 GB, free: 7.109 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008236/0.9032, allocations: 0.5706 MB / 0.7428 GB, free: 6.445 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008264/0.9041, allocations: 149.9 kB / 0.743 GB, free: 6.301 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006738/0.9108, allocations: 2.061 MB / 0.745 GB, free: 4.191 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.23e-05/0.9109, allocations: 7.938 kB / 0.745 GB, free: 4.184 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005009/0.9114, allocations: 56 kB / 0.7451 GB, free: 4.129 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-05/0.9115, allocations: 36 kB / 0.7451 GB, free: 4.094 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005935/0.9174, allocations: 2.017 MB / 0.7471 GB, free: 2.07 MB / 0.5261 GB 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.02115/0.9386, allocations: 7.535 MB / 0.7544 GB, free: 10.28 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01258/0.9513, allocations: 4.342 MB / 0.7587 GB, free: 5.809 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000341/0.9517, allocations: 21.3 kB / 0.7587 GB, free: 5.789 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00416/0.9559, allocations: 1.432 MB / 0.7601 GB, free: 4.34 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=166): time 6.502e-06/0.9559, allocations: 3.938 kB / 0.7601 GB, free: 4.336 MB / 0.5417 GB Notification: Performance of matching and sorting (n=166): time 0.04476/1.001, allocations: 11.58 MB / 0.7714 GB, free: 8.699 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000165/1.001, allocations: 179.5 kB / 0.7716 GB, free: 8.484 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005803/1.007, allocations: 1.943 MB / 0.7735 GB, free: 6.516 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0006404/1.007, allocations: 53.7 kB / 0.7735 GB, free: 6.457 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001195/1.009, allocations: 0.905 MB / 0.7744 GB, free: 5.539 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001298/1.01, allocations: 0.5737 MB / 0.7749 GB, free: 4.957 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005159/1.01, allocations: 32 kB / 0.775 GB, free: 4.926 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0003408/1.011, allocations: 373.9 kB / 0.7753 GB, free: 4.555 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003412/1.014, allocations: 1.132 MB / 0.7764 GB, free: 3.422 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003543/1.018, allocations: 1.346 MB / 0.7778 GB, free: 2.031 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003437/1.021, allocations: 1.197 MB / 0.7789 GB, free: 0.8359 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.436e-05/1.021, allocations: 4 kB / 0.7789 GB, free: 0.832 MB / 0.5573 GB Notification: Performance of matching and sorting (n=222) (initialization): time 0.01122/1.033, allocations: 3.689 MB / 0.7825 GB, free: 13.13 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005677/1.033, allocations: 1.13 MB / 0.7836 GB, free: 11.89 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.155e-05/1.033, allocations: 4 kB / 0.7836 GB, free: 11.89 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01156/1.045, allocations: 3.265 MB / 0.7868 GB, free: 8.625 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00185/1.047, allocations: 263.7 kB / 0.7871 GB, free: 8.367 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01217/1.059, allocations: 3.636 MB / 0.7906 GB, free: 4.707 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004782/1.064, allocations: 362.2 kB / 0.791 GB, free: 4.352 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007078/1.065, allocations: 55.98 kB / 0.791 GB, free: 4.297 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/1.065, allocations: 4 kB / 0.791 GB, free: 4.293 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01319/1.078, allocations: 3.268 MB / 0.7942 GB, free: 1.02 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.499e-05/1.078, allocations: 7.938 kB / 0.7942 GB, free: 1.012 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3862/1.464, allocations: 3.091 MB / 0.7972 GB, free: 130.1 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00157/1.466, allocations: 264.1 kB / 0.7975 GB, free: 130.1 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00738/1.473, allocations: 3.355 MB / 0.8008 GB, free: 129.6 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003565/1.477, allocations: 325.6 kB / 0.8011 GB, free: 129.6 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003958/1.477, allocations: 60.17 kB / 0.8011 GB, free: 129.6 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,genunit.iEEEG1_1.limIntegrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 131 * 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 {30 61} Notification: Performance of prepare postOptimizeDAE: time 0.00171/1.479, allocations: 0.49 MB / 0.8016 GB, free: 129.4 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008199/1.48, allocations: 230.3 kB / 0.8018 GB, free: 129.4 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01924/1.499, allocations: 6.098 MB / 0.8078 GB, free: 129.3 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.905e-05/1.499, allocations: 17.28 kB / 0.8078 GB, free: 129.3 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/1.499, allocations: 3.906 kB / 0.8078 GB, free: 129.3 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-05/1.499, allocations: 10.47 kB / 0.8078 GB, free: 129.3 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02394/1.523, allocations: 9.131 MB / 0.8167 GB, free: 128.4 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.157e-05/1.523, allocations: 1.797 kB / 0.8167 GB, free: 128.4 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001671/1.525, allocations: 244.6 kB / 0.817 GB, free: 128.4 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006458/1.531, allocations: 2.249 MB / 0.8192 GB, free: 128.3 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004121/1.532, allocations: 41.47 kB / 0.8192 GB, free: 128.3 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02583/1.558, allocations: 12.64 MB / 0.8316 GB, free: 125.2 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/1.558, allocations: 3.625 kB / 0.8316 GB, free: 125.2 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02298/1.581, allocations: 7.672 MB / 0.8391 GB, free: 124.6 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001469/1.582, allocations: 396.8 kB / 0.8394 GB, free: 124.4 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004989/1.583, allocations: 41.5 kB / 0.8395 GB, free: 124.4 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002384/1.585, allocations: 257.6 kB / 0.8397 GB, free: 124.4 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001021/1.586, allocations: 276.5 kB / 0.84 GB, free: 124.4 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001489/1.586, allocations: 44.98 kB / 0.84 GB, free: 124.4 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.003478/1.59, allocations: 1.507 MB / 0.8415 GB, free: 124.2 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.1e-07/1.59, allocations: 1.281 kB / 0.8415 GB, free: 124.2 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.003881/1.594, allocations: 0.9584 MB / 0.8424 GB, free: 124.2 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 20 (infiniteBus.gENCLS.delta,infiniteBus.gENCLS.omega,infiniteBus.gENCLS.eq,genunit.gENROE.w,genunit.gENROE.delta,genunit.gENROE.Epd,genunit.gENROE.Epq,genunit.gENROE.PSIkd,genunit.gENROE.PSIkq,genunit.iEEEG1_1.imLeadLag.TF.x_scaled[1],genunit.iEEEG1_1.imSimpleLag.state,genunit.iEEEG1_1.imSimpleLag1.state,genunit.iEEEG1_1.imSimpleLag2.state,genunit.iEEEG1_1.imSimpleLag3.state,genunit.iEEEG1_1.limIntegrator.y,genunit.eSST1A1.imDerivativeLag.x,genunit.eSST1A1.imLeadLag.TF.x_scaled[1],genunit.eSST1A1.imLeadLag1.TF.x_scaled[1],genunit.eSST1A1.simpleLagLim.state,genunit.eSST1A1.TransducerDelay.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 116 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 9,22 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.02377/1.617, allocations: 8.321 MB / 0.8506 GB, free: 122 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01567/1.633, allocations: 5.375 MB / 0.8558 GB, free: 120.5 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/1.633, allocations: 3.828 kB / 0.8558 GB, free: 120.5 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.006234/1.639, allocations: 2.394 MB / 0.8582 GB, free: 119.6 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002155/1.642, allocations: 209.8 kB / 0.8584 GB, free: 119.5 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01131/1.653, allocations: 7.836 MB / 0.866 GB, free: 114.1 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009823/1.654, allocations: 1.532 MB / 0.8675 GB, free: 113.3 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001328/1.655, allocations: 228.6 kB / 0.8677 GB, free: 113.3 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001239/1.657, allocations: 0.8743 MB / 0.8686 GB, free: 112.6 MB / 0.573 GB Notification: Performance of SimCode: time 1.032e-06/1.657, allocations: 0.8438 kB / 0.8686 GB, free: 112.6 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1059/1.763, allocations: 58.32 MB / 0.9255 GB, free: 84.57 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002021/1.763, allocations: 209.9 kB / 0.9257 GB, free: 84.33 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_Examples_Tutorial_Example_4_Experiments_SMIB.o OpenIPSL_dev_OpenIPSL_Examples_Tutorial_Example_4_Experiments_SMIB.c In file included from OpenIPSL_dev_OpenIPSL_Examples_Tutorial_Example_4_Experiments_SMIB.c:7: In file included from ./OpenIPSL_dev_OpenIPSL_Examples_Tutorial_Example_4_Experiments_SMIB_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_Examples_Tutorial_Example_4_Experiments_SMIB.c:7: In file included from ./OpenIPSL_dev_OpenIPSL_Examples_Tutorial_Example_4_Experiments_SMIB_model.h:24: ./OpenIPSL_dev_OpenIPSL_Examples_Tutorial_Example_4_Experiments_SMIB_functions.h:437: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_Examples_Tutorial_Example_4_Experiments_SMIB.o] Error 1