Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001278/0.001279, allocations: 198.3 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.197/1.197, allocations: 227.2 MB / 245 MB, free: 7.613 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008256/0.0008255, allocations: 102.7 kB / 297.3 MB, free: 6.203 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3103/0.3103, allocations: 45.22 MB / 394.7 MB, free: 31.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002535/0.0002535, allocations: 8 kB / 468.4 MB, free: 7.738 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.3114, allocations: 63.24 MB / 0.5192 GB, free: 43.92 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1153/0.4268, allocations: 101.4 MB / 0.6182 GB, free: 4.273 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002062/0.427, allocations: 87.95 kB / 0.6183 GB, free: 4.188 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08267/0.5097, allocations: 37.58 MB / 0.655 GB, free: 14.23 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.5098, allocations: 0 / 0.655 GB, free: 14.23 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.633e-05/0.5098, allocations: 20 kB / 0.655 GB, free: 14.21 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: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.003555/0.5134, allocations: 1.374 MB / 0.6563 GB, free: 12.79 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.5134, allocations: 11.97 kB / 0.6563 GB, free: 12.78 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006167/0.5196, allocations: 0.9624 MB / 0.6573 GB, free: 11.81 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/0.5207, allocations: 0.57 MB / 0.6578 GB, free: 11.2 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001271/0.5208, allocations: 98.66 kB / 0.6579 GB, free: 11.11 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003459/0.5212, allocations: 131.9 kB / 0.6581 GB, free: 10.98 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002361/0.5235, allocations: 1.226 MB / 0.6592 GB, free: 9.727 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.179e-05/0.5236, allocations: 3.984 kB / 0.6593 GB, free: 9.723 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001277/0.5237, allocations: 59.94 kB / 0.6593 GB, free: 9.664 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.452e-05/0.5238, allocations: 32 kB / 0.6593 GB, free: 9.633 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002441/0.5262, allocations: 1.463 MB / 0.6608 GB, free: 8.164 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008698/0.5349, allocations: 5.879 MB / 0.6665 GB, free: 1.797 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001616/0.5366, allocations: 0.9342 MB / 0.6674 GB, free: 0.832 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001667/0.5367, allocations: 179.2 kB / 0.6676 GB, free: 0.6211 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.896e-05/0.5368, allocations: 47.56 kB / 0.6676 GB, free: 0.5664 MB / 474.7 MB Notification: Performance of pre-optimization done (n=90): time 3.477e-06/0.5368, allocations: 0 / 0.6676 GB, free: 0.5664 MB / 474.7 MB Notification: Performance of matching and sorting (n=90): time 0.002115/0.5389, allocations: 1.204 MB / 0.6688 GB, free: 15.31 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.686e-05/0.539, allocations: 60.41 kB / 0.6689 GB, free: 15.24 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008282/0.5398, allocations: 0.7341 MB / 0.6696 GB, free: 14.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.101e-05/0.5399, allocations: 41.7 kB / 0.6696 GB, free: 14.45 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000296/0.5402, allocations: 0.4946 MB / 0.6701 GB, free: 13.95 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002048/0.5404, allocations: 311.5 kB / 0.6704 GB, free: 13.64 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.061e-05/0.5404, allocations: 24 kB / 0.6704 GB, free: 13.62 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.5406, allocations: 398.7 kB / 0.6708 GB, free: 13.22 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000597/0.5412, allocations: 342.5 kB / 0.6711 GB, free: 12.88 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007537/0.542, allocations: 0.6047 MB / 0.6717 GB, free: 12.17 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006765/0.5427, allocations: 430.8 kB / 0.6721 GB, free: 11.75 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.5427, allocations: 4 kB / 0.6721 GB, free: 11.75 MB / 490.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001825/0.5445, allocations: 1.177 MB / 0.6733 GB, free: 10.55 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/0.5445, allocations: 12.61 kB / 0.6733 GB, free: 10.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.5446, allocations: 8 kB / 0.6733 GB, free: 10.53 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000307/0.5449, allocations: 65.69 kB / 0.6734 GB, free: 10.46 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009859/0.5459, allocations: 267.6 kB / 0.6736 GB, free: 10.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002024/0.5479, allocations: 2.643 MB / 0.6762 GB, free: 7.285 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008644/0.5488, allocations: 158.2 kB / 0.6764 GB, free: 7.129 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.358e-05/0.5489, allocations: 48 kB / 0.6764 GB, free: 7.082 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (141): * Single equations (assignments): 139 * 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: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004122/0.5493, allocations: 269.6 kB / 0.6767 GB, free: 6.809 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001322/0.5494, allocations: 94.88 kB / 0.6768 GB, free: 6.715 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001764/0.5512, allocations: 1.103 MB / 0.6778 GB, free: 5.578 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.5512, allocations: 12 kB / 0.6778 GB, free: 5.566 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.5512, allocations: 0 / 0.6778 GB, free: 5.566 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/0.5512, allocations: 11.97 kB / 0.6779 GB, free: 5.555 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00357/0.5548, allocations: 3.127 MB / 0.6809 GB, free: 2.102 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/0.5548, allocations: 8.031 kB / 0.6809 GB, free: 2.094 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007003/0.5556, allocations: 183.7 kB / 0.6811 GB, free: 1.914 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001896/0.5558, allocations: 61.67 kB / 0.6812 GB, free: 1.848 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.933e-05/0.5558, allocations: 27.98 kB / 0.6812 GB, free: 1.82 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001705/0.5575, allocations: 2.643 MB / 0.6838 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.5575, allocations: 8 kB / 0.6838 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002079/0.5596, allocations: 1.767 MB / 0.6855 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002206/0.5599, allocations: 219.7 kB / 0.6857 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/0.56, allocations: 31.92 kB / 0.6857 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006066/0.5606, allocations: 51.98 kB / 0.6858 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/0.5607, allocations: 88.36 kB / 0.6859 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.043e-05/0.5608, allocations: 28 kB / 0.6859 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0006321/0.5614, allocations: 0.5732 MB / 0.6865 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.433e-06/0.5614, allocations: 0 / 0.6865 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0009006/0.5623, allocations: 339.3 kB / 0.6868 GB, free: 11.55 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 1 (currentRMSSensor.pin_p.reference.gamma) * 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 (93): * Single equations (assignments): 91 * 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: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002888/0.5626, allocations: 187.3 kB / 0.687 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001604/0.5643, allocations: 1.086 MB / 0.688 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.5643, allocations: 0 / 0.688 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008186/0.5651, allocations: 0.6233 MB / 0.6886 GB, free: 9.602 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000489/0.5656, allocations: 110.5 kB / 0.6887 GB, free: 9.496 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002817/0.5684, allocations: 2.215 MB / 0.6909 GB, free: 7.18 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000529/0.569, allocations: 1.031 MB / 0.6919 GB, free: 6.125 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0006087/0.5696, allocations: 155.8 kB / 0.692 GB, free: 5.969 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002264/0.5698, allocations: 87.42 kB / 0.6921 GB, free: 5.883 MB / 0.4948 GB Notification: Performance of SimCode: time 2.4e-07/0.5698, allocations: 0 / 0.6921 GB, free: 5.883 MB / 0.4948 GB Notification: Performance of Templates: time 0.2381/0.8079, allocations: 9.791 MB / 0.7017 GB, free: 112 MB / 0.4948 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.o ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.c In file included from ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.c:7: In file included from ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_model.h:24: ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_functions.h:304:1: error: unknown type name '_omcQComplexOutput_24voltageSensor_24v' _omcQComplexOutput_24voltageSensor_24v omc__omcQComplexOutput_24voltageSensor_24v (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ 1 error generated. make: *** [: ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.o] Error 1