Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2.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/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.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(ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemAC_Verification_DistributionSystemLinearIndividual_N_2_M_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemAC_Verification_DistributionSystemLinearIndividual_N_2_M_2",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.000983/0.0009829, allocations: 180.6 kB / 16.39 MB, free: 5.762 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.128/1.128, allocations: 223.2 MB / 240.3 MB, free: 10.15 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008571/0.000857, allocations: 102.8 kB / 291.5 MB, free: 10.69 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6253/0.6253, allocations: 120.5 MB / 463 MB, free: 8.711 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002933/0.0002933, allocations: 11.98 kB / 0.5434 GB, free: 42.3 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1259, allocations: 82.85 MB / 0.6243 GB, free: 9.129 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5975/0.7234, allocations: 127.6 MB / 0.749 GB, free: 6.078 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001267/0.7236, allocations: 53.28 kB / 0.749 GB, free: 6.051 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.07042/0.794, allocations: 40.27 MB / 0.7884 GB, free: 6.34 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.954e-06/0.7941, allocations: 0 / 0.7884 GB, free: 6.34 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 3.424e-05/0.7941, allocations: 27.94 kB / 0.7884 GB, free: 6.312 MB / 0.5419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.002819/0.7969, allocations: 1.325 MB / 0.7897 GB, free: 5.074 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.797, allocations: 8.031 kB / 0.7897 GB, free: 5.066 MB / 0.5419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000163/0.7972, allocations: 178.6 kB / 0.7899 GB, free: 4.957 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000143/0.7973, allocations: 110.7 kB / 0.79 GB, free: 4.848 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006045/0.7979, allocations: 0.5419 MB / 0.7905 GB, free: 4.414 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.86e-05/0.798, allocations: 89.11 kB / 0.7906 GB, free: 4.363 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/0.7981, allocations: 122.2 kB / 0.7907 GB, free: 4.281 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001448/0.7996, allocations: 1.144 MB / 0.7918 GB, free: 3.488 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/0.7996, allocations: 352 / 0.7918 GB, free: 3.488 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.168e-05/0.7997, allocations: 46.08 kB / 0.7919 GB, free: 3.477 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.066e-05/0.7997, allocations: 32 kB / 0.7919 GB, free: 3.445 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001141/0.8008, allocations: 0.8483 MB / 0.7927 GB, free: 2.922 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004525/0.8054, allocations: 4.534 MB / 0.7971 GB, free: 15.41 MB / 0.5575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008557/0.8062, allocations: 0.5313 MB / 0.7977 GB, free: 15.11 MB / 0.5575 GB Notification: Performance of preOpt evalFunc (simulation): time 3e-05/0.8063, allocations: 4.438 kB / 0.7977 GB, free: 15.1 MB / 0.5575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.8063, allocations: 46.75 kB / 0.7977 GB, free: 15.05 MB / 0.5575 GB Notification: Performance of pre-optimization done (n=53): time 2.495e-06/0.8063, allocations: 0 / 0.7977 GB, free: 15.05 MB / 0.5575 GB Notification: Performance of matching and sorting (n=53): time 0.004418/0.8108, allocations: 1.685 MB / 0.7994 GB, free: 13.64 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.207e-05/0.8108, allocations: 55.84 kB / 0.7994 GB, free: 13.58 MB / 0.5575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003771/0.8112, allocations: 401.1 kB / 0.7998 GB, free: 13.27 MB / 0.5575 GB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/0.8112, allocations: 41.02 kB / 0.7998 GB, free: 13.23 MB / 0.5575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002127/0.8114, allocations: 490 kB / 0.8003 GB, free: 12.82 MB / 0.5575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/0.8116, allocations: 192 kB / 0.8005 GB, free: 12.66 MB / 0.5575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.032e-05/0.8116, allocations: 11.44 kB / 0.8005 GB, free: 12.66 MB / 0.5575 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.8117, allocations: 361.8 kB / 0.8008 GB, free: 12.32 MB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002451/0.812, allocations: 194.6 kB / 0.801 GB, free: 12.21 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000353/0.8123, allocations: 427.6 kB / 0.8014 GB, free: 11.79 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003147/0.8126, allocations: 273.5 kB / 0.8017 GB, free: 11.64 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.8126, allocations: 0 / 0.8017 GB, free: 11.64 MB / 0.5575 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001388/0.814, allocations: 0.9873 MB / 0.8027 GB, free: 10.93 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.8141, allocations: 8 kB / 0.8027 GB, free: 10.92 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.8141, allocations: 8 kB / 0.8027 GB, free: 10.91 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008948/0.815, allocations: 384.8 kB / 0.803 GB, free: 10.61 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002364/0.8152, allocations: 87.72 kB / 0.8031 GB, free: 10.52 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004544/0.8198, allocations: 4.06 MB / 0.8071 GB, free: 7.59 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003468/0.8201, allocations: 70.84 kB / 0.8072 GB, free: 7.531 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.725e-05/0.8202, allocations: 31.88 kB / 0.8072 GB, free: 7.504 MB / 0.5575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 4 (load_2_2.controller.local_reset,load_2_1.controller.local_reset,load_1_2.controller.local_reset,load_1_1.controller.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * 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: 1 {(7,81.6%) 30} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003719/0.8206, allocations: 257.1 kB / 0.8074 GB, free: 7.324 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.354e-05/0.8206, allocations: 51.34 kB / 0.8075 GB, free: 7.273 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001055/0.8208, allocations: 67.66 kB / 0.8075 GB, free: 7.242 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.8208, allocations: 4 kB / 0.8075 GB, free: 7.238 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.627e-05/0.8208, allocations: 7.953 kB / 0.8076 GB, free: 7.23 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.8208, allocations: 3.984 kB / 0.8076 GB, free: 7.227 MB / 0.5575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007293/0.8215, allocations: 0.7997 MB / 0.8083 GB, free: 6.613 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.8215, allocations: 3.938 kB / 0.8083 GB, free: 6.609 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001525/0.8217, allocations: 35.3 kB / 0.8084 GB, free: 6.578 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000811/0.8225, allocations: 365.8 kB / 0.8087 GB, free: 6.289 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.498e-05/0.8226, allocations: 7.75 kB / 0.8087 GB, free: 6.289 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004323/0.8269, allocations: 4.06 MB / 0.8127 GB, free: 3.359 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.8269, allocations: 0 / 0.8127 GB, free: 3.359 MB / 0.5575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001431/0.8283, allocations: 1.117 MB / 0.8138 GB, free: 2.586 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.8285, allocations: 132.3 kB / 0.8139 GB, free: 2.441 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.115e-05/0.8285, allocations: 19.69 kB / 0.8139 GB, free: 2.43 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002179/0.8287, allocations: 7.75 kB / 0.8139 GB, free: 2.43 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.308e-05/0.8288, allocations: 55.97 kB / 0.814 GB, free: 2.379 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.077e-05/0.8288, allocations: 11.94 kB / 0.814 GB, free: 2.371 MB / 0.5575 GB Notification: Performance of sorting global known variables: time 0.000282/0.8291, allocations: 308.4 kB / 0.8143 GB, free: 2.141 MB / 0.5575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8291, allocations: 0 / 0.8143 GB, free: 2.141 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.0008376/0.83, allocations: 321.6 kB / 0.8146 GB, free: 1.855 MB / 0.5575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (load_1_1.controller.y,load_1_2.controller.y,load_2_1.controller.y,load_2_2.controller.y) * 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 (17): * Single equations (assignments): 16 * 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: 1 {(7,75.5%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001722/0.8317, allocations: 1.693 MB / 0.8163 GB, free: 0.5039 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 0.001262/0.833, allocations: 0.8829 MB / 0.8171 GB, free: 15.86 MB / 0.5732 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.833, allocations: 0 / 0.8171 GB, free: 15.86 MB / 0.5732 GB Notification: Performance of simCode: created simulation system equations: time 0.0007567/0.8338, allocations: 0.5906 MB / 0.8177 GB, free: 15.41 MB / 0.5732 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/0.8341, allocations: 58.5 kB / 0.8178 GB, free: 15.38 MB / 0.5732 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0061/0.8402, allocations: 8.978 MB / 0.8265 GB, free: 6.984 MB / 0.5732 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004695/0.8407, allocations: 0.9965 MB / 0.8275 GB, free: 5.957 MB / 0.5732 GB Notification: Performance of simCode: alias equations: time 0.0001555/0.8409, allocations: 48.77 kB / 0.8275 GB, free: 5.91 MB / 0.5732 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000233/0.8411, allocations: 293 kB / 0.8278 GB, free: 5.855 MB / 0.5732 GB Notification: Performance of SimCode: time 9.22e-07/0.8411, allocations: 0 / 0.8278 GB, free: 5.855 MB / 0.5732 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02567/0.8668, allocations: 13.69 MB / 0.8412 GB, free: 8.457 MB / 0.5888 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002231/0.8671, allocations: 275 kB / 0.8414 GB, free: 8.094 MB / 0.5888 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemAC_Verification_DistributionSystemLinearIndividual_N_2_M_2.o ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemAC_Verification_DistributionSystemLinearIndividual_N_2_M_2.c In file included from ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemAC_Verification_DistributionSystemLinearIndividual_N_2_M_2.c:7: In file included from ./ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemAC_Verification_DistributionSystemLinearIndividual_N_2_M_2_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 ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemAC_Verification_DistributionSystemLinearIndividual_N_2_M_2.c:7: In file included from ./ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemAC_Verification_DistributionSystemLinearIndividual_N_2_M_2_model.h:24: ./ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemAC_Verification_DistributionSystemLinearIndividual_N_2_M_2_functions.h:213:1: error: unknown type name 'ScalableTestSuite_Electrical_DistributionSystemAC_Models_Internals_ComplexCurrent' ScalableTestSuite_Electrical_DistributionSystemAC_Models_Internals_ComplexCurrent omc_ScalableTestSuite_Electrical_DistributionSystemAC_Models_Internals_ComplexCurrent (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemAC_Verification_DistributionSystemLinearIndividual_N_2_M_2_functions.h:222:1: error: unknown type name 'ScalableTestSuite_Electrical_DistributionSystemAC_Models_Internals_ComplexVoltage' ScalableTestSuite_Electrical_DistributionSystemAC_Models_Internals_ComplexVoltage omc_ScalableTestSuite_Electrical_DistributionSystemAC_Models_Internals_ComplexVoltage (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ 2 warnings and 2 errors generated. make: *** [: ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemAC_Verification_DistributionSystemLinearIndividual_N_2_M_2.o] Error 1