Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinear_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.DistributionSystemLinear_N_2_M_2,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemAC_Verification_DistributionSystemLinear_N_2_M_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinear_N_2_M_2,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemAC_Verification_DistributionSystemLinear_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.0009537/0.0009538, allocations: 181 kB / 16.39 MB, free: 5.766 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.125/1.125, allocations: 223.2 MB / 240.3 MB, free: 11.9 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.0008609/0.0008608, allocations: 90.12 kB / 291.5 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.653/0.653, allocations: 120.5 MB / 463 MB, free: 8.738 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002834/0.0002835, allocations: 8 kB / 0.5434 GB, free: 42.31 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1206, allocations: 82.86 MB / 0.6243 GB, free: 9.133 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5816/0.7022, allocations: 127.6 MB / 0.7489 GB, free: 6.688 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001365/0.7024, allocations: 49.7 kB / 0.749 GB, free: 6.668 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.07229/0.7747, allocations: 40.56 MB / 0.7886 GB, free: 6.594 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.994e-06/0.7747, allocations: 0 / 0.7886 GB, free: 6.594 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 3.322e-05/0.7748, allocations: 20.22 kB / 0.7886 GB, free: 6.574 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.003831/0.7786, allocations: 1.945 MB / 0.7905 GB, free: 4.715 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.7786, allocations: 8.031 kB / 0.7905 GB, free: 4.707 MB / 0.5419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002071/0.7789, allocations: 198.8 kB / 0.7907 GB, free: 4.578 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001699/0.779, allocations: 106.7 kB / 0.7908 GB, free: 4.473 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001368/0.7804, allocations: 0.7955 MB / 0.7916 GB, free: 3.793 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.817e-05/0.7805, allocations: 88.92 kB / 0.7916 GB, free: 3.742 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001447/0.7806, allocations: 118.3 kB / 0.7918 GB, free: 3.664 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00206/0.7827, allocations: 1.715 MB / 0.7934 GB, free: 2.383 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.7827, allocations: 0 / 0.7934 GB, free: 2.383 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.351e-05/0.7828, allocations: 50.5 kB / 0.7935 GB, free: 2.371 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.363e-05/0.7828, allocations: 31.95 kB / 0.7935 GB, free: 2.34 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00184/0.7847, allocations: 1.502 MB / 0.795 GB, free: 1.266 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006812/0.7915, allocations: 6.051 MB / 0.8009 GB, free: 12.3 MB / 0.5575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00126/0.7928, allocations: 0.9942 MB / 0.8019 GB, free: 11.57 MB / 0.5575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.7928, allocations: 12.25 kB / 0.8019 GB, free: 11.56 MB / 0.5575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/0.7929, allocations: 34.94 kB / 0.8019 GB, free: 11.52 MB / 0.5575 GB Notification: Performance of pre-optimization done (n=53): time 2.365e-06/0.7929, allocations: 4 kB / 0.8019 GB, free: 11.52 MB / 0.5575 GB Notification: Performance of matching and sorting (n=53): time 0.00712/0.8, allocations: 3.572 MB / 0.8054 GB, free: 8.312 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.8, allocations: 59.84 kB / 0.8054 GB, free: 8.242 MB / 0.5575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005583/0.8006, allocations: 0.5587 MB / 0.806 GB, free: 7.781 MB / 0.5575 GB Notification: Performance of collectPreVariables (initialization): time 3.545e-05/0.8006, allocations: 33.2 kB / 0.806 GB, free: 7.75 MB / 0.5575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002361/0.8009, allocations: 497.6 kB / 0.8065 GB, free: 7.336 MB / 0.5575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001286/0.801, allocations: 196.2 kB / 0.8067 GB, free: 7.168 MB / 0.5575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.114e-05/0.8011, allocations: 15.5 kB / 0.8067 GB, free: 7.164 MB / 0.5575 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.8012, allocations: 373.9 kB / 0.8071 GB, free: 6.809 MB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004701/0.8017, allocations: 425.3 kB / 0.8075 GB, free: 6.5 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005947/0.8023, allocations: 0.6426 MB / 0.8081 GB, free: 5.879 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005925/0.8029, allocations: 0.5538 MB / 0.8086 GB, free: 5.48 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.8029, allocations: 0 / 0.8086 GB, free: 5.48 MB / 0.5575 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002233/0.8051, allocations: 1.701 MB / 0.8103 GB, free: 4.125 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.8052, allocations: 14.75 kB / 0.8103 GB, free: 4.113 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.8052, allocations: 8 kB / 0.8103 GB, free: 4.105 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001228/0.8064, allocations: 0.5974 MB / 0.8109 GB, free: 3.598 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000319/0.8067, allocations: 123.7 kB / 0.811 GB, free: 3.48 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007594/0.8143, allocations: 6.465 MB / 0.8173 GB, free: 14.55 MB / 0.5732 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005328/0.8149, allocations: 170.4 kB / 0.8175 GB, free: 14.39 MB / 0.5732 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.213e-05/0.8149, allocations: 35.94 kB / 0.8175 GB, free: 14.36 MB / 0.5732 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.0005939/0.8155, allocations: 497.7 kB / 0.818 GB, free: 13.96 MB / 0.5732 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.675e-05/0.8156, allocations: 51.34 kB / 0.8181 GB, free: 13.91 MB / 0.5732 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001738/0.8158, allocations: 97.98 kB / 0.8181 GB, free: 13.88 MB / 0.5732 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.8158, allocations: 8 kB / 0.8182 GB, free: 13.87 MB / 0.5732 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.728e-05/0.8158, allocations: 4 kB / 0.8182 GB, free: 13.87 MB / 0.5732 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.817e-06/0.8159, allocations: 11.92 kB / 0.8182 GB, free: 13.86 MB / 0.5732 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/0.8169, allocations: 1.056 MB / 0.8192 GB, free: 13 MB / 0.5732 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.8169, allocations: 3.984 kB / 0.8192 GB, free: 12.99 MB / 0.5732 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002168/0.8171, allocations: 59.86 kB / 0.8193 GB, free: 12.94 MB / 0.5732 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00112/0.8182, allocations: 0.5821 MB / 0.8198 GB, free: 12.45 MB / 0.5732 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.571e-05/0.8183, allocations: 11.62 kB / 0.8198 GB, free: 12.44 MB / 0.5732 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006874/0.8252, allocations: 6.468 MB / 0.8262 GB, free: 7.516 MB / 0.5732 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.8252, allocations: 0 / 0.8262 GB, free: 7.516 MB / 0.5732 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002454/0.8277, allocations: 2.085 MB / 0.8282 GB, free: 5.895 MB / 0.5732 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001727/0.8278, allocations: 148.2 kB / 0.8283 GB, free: 5.734 MB / 0.5732 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.042e-05/0.8279, allocations: 10.25 kB / 0.8283 GB, free: 5.73 MB / 0.5732 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003736/0.8283, allocations: 110.3 kB / 0.8284 GB, free: 5.629 MB / 0.5732 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.501e-05/0.8284, allocations: 52.23 kB / 0.8285 GB, free: 5.582 MB / 0.5732 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.609e-05/0.8284, allocations: 12 kB / 0.8285 GB, free: 5.57 MB / 0.5732 GB Notification: Performance of sorting global known variables: time 0.0004164/0.8288, allocations: 440 kB / 0.8289 GB, free: 5.23 MB / 0.5732 GB Notification: Performance of sort global known variables: time 2.6e-07/0.8288, allocations: 0 / 0.8289 GB, free: 5.23 MB / 0.5732 GB Notification: Performance of remove unused functions: time 0.0009784/0.8298, allocations: 365.9 kB / 0.8293 GB, free: 4.898 MB / 0.5732 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.002712/0.8326, allocations: 2.649 MB / 0.8319 GB, free: 2.703 MB / 0.5732 GB Notification: Performance of simCode: created initialization part: time 0.001884/0.8344, allocations: 1.428 MB / 0.8333 GB, free: 1.586 MB / 0.5732 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.8345, allocations: 0 / 0.8333 GB, free: 1.586 MB / 0.5732 GB Notification: Performance of simCode: created simulation system equations: time 0.001132/0.8356, allocations: 0.9078 MB / 0.8341 GB, free: 0.8711 MB / 0.5732 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003471/0.836, allocations: 64.36 kB / 0.8342 GB, free: 0.832 MB / 0.5732 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008631/0.8446, allocations: 11.43 MB / 0.8454 GB, free: 6.332 MB / 0.5888 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007282/0.8454, allocations: 1.355 MB / 0.8467 GB, free: 5.059 MB / 0.5888 GB Notification: Performance of simCode: alias equations: time 0.0004094/0.8458, allocations: 240.6 kB / 0.8469 GB, free: 4.82 MB / 0.5888 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000267/0.8461, allocations: 288.5 kB / 0.8472 GB, free: 4.773 MB / 0.5888 GB Notification: Performance of SimCode: time 7.51e-07/0.8461, allocations: 0 / 0.8472 GB, free: 4.773 MB / 0.5888 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02915/0.8752, allocations: 17.94 MB / 0.8647 GB, free: 3.113 MB / 0.6044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002135/0.8755, allocations: 255.2 kB / 0.865 GB, free: 2.781 MB / 0.6044 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_DistributionSystemLinear_N_2_M_2.o ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemAC_Verification_DistributionSystemLinear_N_2_M_2.c In file included from ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemAC_Verification_DistributionSystemLinear_N_2_M_2.c:7: In file included from ./ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemAC_Verification_DistributionSystemLinear_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_DistributionSystemLinear_N_2_M_2.c:7: In file included from ./ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemAC_Verification_DistributionSystemLinear_N_2_M_2_model.h:24: ./ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemAC_Verification_DistributionSystemLinear_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_DistributionSystemLinear_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_DistributionSystemLinear_N_2_M_2.o] Error 1