Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001057/0.001056, allocations: 192.4 kB / 7.804 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.374/1.374, allocations: 205.2 MB / 213.4 MB, free: 13.88 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009149/0.000915, allocations: 88.98 kB / 261.4 MB, free: 13.5 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2005/0.2005, allocations: 43.49 MB / 352.8 MB, free: 1.926 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2311/0.4317, allocations: 64.97 MB / 417.8 MB, free: 40.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.7813, allocations: 58.84 MB / 476.6 MB, free: 5.168 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1407/0.9221, allocations: 88.76 MB / 0.5522 GB, free: 10.09 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000238/0.9224, allocations: 67.47 kB / 0.5522 GB, free: 10.03 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.02654/0.9489, allocations: 9.196 MB / 0.5612 GB, free: 0.7617 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.949, allocations: 15.94 kB / 0.5612 GB, free: 0.7461 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001945/0.9492, allocations: 47.44 kB / 0.5613 GB, free: 0.6992 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000624/0.9498, allocations: 320 kB / 0.5616 GB, free: 348 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.064e-05/0.9499, allocations: 16 kB / 0.5616 GB, free: 332 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.925e-05/0.95, allocations: 28 kB / 0.5616 GB, free: 304 kB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005771/0.9506, allocations: 257.9 kB / 0.5619 GB, free: 44 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007125/0.9513, allocations: 361.4 kB / 0.5622 GB, free: 15.67 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.9513, allocations: 0 / 0.5622 GB, free: 15.67 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.041e-05/0.9514, allocations: 4 kB / 0.5622 GB, free: 15.66 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.424e-05/0.9514, allocations: 8 kB / 0.5622 GB, free: 15.66 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003/0.9544, allocations: 1.622 MB / 0.5638 GB, free: 13.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000284/0.9547, allocations: 131.4 kB / 0.5639 GB, free: 13.79 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002536/0.955, allocations: 113.6 kB / 0.564 GB, free: 13.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.314e-05/0.955, allocations: 4 kB / 0.564 GB, free: 13.67 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/0.955, allocations: 42.8 kB / 0.5641 GB, free: 13.62 MB / 410.7 MB Notification: Performance of pre-optimization done (n=26): time 2.034e-06/0.9551, allocations: 4 kB / 0.5641 GB, free: 13.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.002239/0.9573, allocations: 1.017 MB / 0.5651 GB, free: 12.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.665e-05/0.9574, allocations: 85.02 kB / 0.5651 GB, free: 12.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002951/0.9577, allocations: 217 kB / 0.5654 GB, free: 12.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.216e-05/0.9577, allocations: 25.7 kB / 0.5654 GB, free: 12.15 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000174/0.9579, allocations: 235.4 kB / 0.5656 GB, free: 11.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/0.958, allocations: 122.3 kB / 0.5657 GB, free: 11.79 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.44e-05/0.958, allocations: 0 / 0.5657 GB, free: 11.79 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.9582, allocations: 342.7 kB / 0.566 GB, free: 11.45 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.9584, allocations: 76.88 kB / 0.5661 GB, free: 11.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002334/0.9586, allocations: 174.8 kB / 0.5663 GB, free: 11.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002192/0.9589, allocations: 116.2 kB / 0.5664 GB, free: 11.05 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.9589, allocations: 3.984 kB / 0.5664 GB, free: 11.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006084/0.9595, allocations: 329.9 kB / 0.5667 GB, free: 10.72 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.9595, allocations: 4 kB / 0.5667 GB, free: 10.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.9595, allocations: 4.344 kB / 0.5667 GB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001508/0.9597, allocations: 32.84 kB / 0.5668 GB, free: 10.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005045/0.9602, allocations: 123.9 kB / 0.5669 GB, free: 10.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00115/0.9614, allocations: 1.268 MB / 0.5681 GB, free: 9.172 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002931/0.9617, allocations: 12.03 kB / 0.5681 GB, free: 9.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.482e-05/0.9617, allocations: 20.2 kB / 0.5681 GB, free: 9.141 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001484/0.9619, allocations: 126.1 kB / 0.5683 GB, free: 9.012 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.747e-05/0.962, allocations: 27.7 kB / 0.5683 GB, free: 8.984 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.893e-05/0.9621, allocations: 37.8 kB / 0.5683 GB, free: 8.949 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.9621, allocations: 7.938 kB / 0.5683 GB, free: 8.941 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.9621, allocations: 0 / 0.5683 GB, free: 8.941 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.328e-06/0.9621, allocations: 3.984 kB / 0.5683 GB, free: 8.938 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001036/0.9631, allocations: 0.6223 MB / 0.5689 GB, free: 8.262 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.9632, allocations: 0 / 0.5689 GB, free: 8.262 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004814/0.9636, allocations: 100 kB / 0.569 GB, free: 8.164 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.619e-05/0.9638, allocations: 28.78 kB / 0.5691 GB, free: 8.133 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.431e-05/0.9638, allocations: 0 / 0.5691 GB, free: 8.133 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001076/0.9649, allocations: 1.26 MB / 0.5703 GB, free: 6.762 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.9649, allocations: 0 / 0.5703 GB, free: 6.762 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001002/0.9659, allocations: 0.5677 MB / 0.5709 GB, free: 6.152 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001255/0.9672, allocations: 1.034 MB / 0.5719 GB, free: 5.07 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001581/0.9673, allocations: 124.7 kB / 0.572 GB, free: 4.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.92e-05/0.9674, allocations: 4 kB / 0.572 GB, free: 4.926 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003066/0.9677, allocations: 19.98 kB / 0.572 GB, free: 4.906 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.237e-05/0.9678, allocations: 20.2 kB / 0.572 GB, free: 4.887 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.478e-05/0.9678, allocations: 15.94 kB / 0.572 GB, free: 4.871 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001748/0.968, allocations: 161.2 kB / 0.5722 GB, free: 4.711 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00103/0.9691, allocations: 83.98 kB / 0.5723 GB, free: 4.629 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter1.i,eddyCurrent.Phi,converter.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 31 * 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 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002215/0.9693, allocations: 99.25 kB / 0.5724 GB, free: 4.523 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006889/0.97, allocations: 329.6 kB / 0.5727 GB, free: 4.191 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.97, allocations: 0 / 0.5727 GB, free: 4.191 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003224/0.9703, allocations: 217.5 kB / 0.5729 GB, free: 3.969 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003484/0.9707, allocations: 29.28 kB / 0.5729 GB, free: 3.941 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001555/0.9723, allocations: 0.6516 MB / 0.5736 GB, free: 3.242 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006679/0.9729, allocations: 0.8608 MB / 0.5744 GB, free: 2.355 MB / 410.7 MB Notification: Performance of SimCode: time 4.91e-07/0.9729, allocations: 3.938 kB / 0.5744 GB, free: 2.352 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_FluxTubes_BasicComponents_fmu --startTime=0 --stopTime=14 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_FluxTubes_BasicComponents.fmu > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe 2>&1)