Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.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/FluxTubesExtension 1.2.0-main/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) 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 FluxTubesExtension with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/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(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic,fileNamePrefix="FluxTubesExtension_FluxTubesExtension_Examples_ShowSoftMagneticCharacteristic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic,fileNamePrefix="FluxTubesExtension_FluxTubesExtension_Examples_ShowSoftMagneticCharacteristic",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 4.0.0+maint.om/package.mo): time 0.003536/0.003535, allocations: 183.8 kB / 7.462 MB, free: 2.438 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.007568/0.007569, allocations: 1.191 MB / 9.058 MB, free: 1.176 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 221.4 MB / 231.1 MB, free: 1.637 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 108.9 kB / 282.2 MB, free: 108 kB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1505/0.1515, allocations: 56.82 MB / 339.1 MB, free: 7.281 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.4987, allocations: 50.66 MB / 389.7 MB, free: 37.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1084/0.6072, allocations: 79.43 MB / 469.2 MB, free: 5.938 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001756/0.6074, allocations: 59.98 kB / 469.2 MB, free: 5.879 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.03887/0.6463, allocations: 12.66 MB / 481.9 MB, free: 9.082 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/0.6464, allocations: 12 kB / 481.9 MB, free: 9.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001057/0.6465, allocations: 20.47 kB / 481.9 MB, free: 9.051 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004573/0.6469, allocations: 222.8 kB / 482.1 MB, free: 8.793 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.647, allocations: 0 / 482.1 MB, free: 8.793 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.845e-05/0.647, allocations: 4 kB / 482.1 MB, free: 8.789 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003322/0.6473, allocations: 195.8 kB / 482.3 MB, free: 8.598 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002253/0.6476, allocations: 126.8 kB / 482.4 MB, free: 8.469 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.6476, allocations: 0 / 482.4 MB, free: 8.469 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.635e-05/0.6477, allocations: 3.984 kB / 482.4 MB, free: 8.465 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.6477, allocations: 0 / 482.4 MB, free: 8.465 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004026/0.6481, allocations: 246 kB / 482.7 MB, free: 8.188 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003024/0.6484, allocations: 178.7 kB / 482.9 MB, free: 8.004 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000149/0.6486, allocations: 88.73 kB / 483 MB, free: 7.914 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001458/0.6487, allocations: 35.97 kB / 483 MB, free: 7.879 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.782e-05/0.6488, allocations: 34.56 kB / 483 MB, free: 7.836 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.783e-06/0.6488, allocations: 0 / 483 MB, free: 7.836 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.001844/0.6506, allocations: 398.9 kB / 483.4 MB, free: 7.438 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.6507, allocations: 55.41 kB / 483.5 MB, free: 7.371 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002223/0.6509, allocations: 186 kB / 483.6 MB, free: 7.184 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.059e-05/0.6509, allocations: 29.7 kB / 483.7 MB, free: 7.148 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.749e-05/0.651, allocations: 92.12 kB / 483.8 MB, free: 7.055 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.762e-05/0.6511, allocations: 32.58 kB / 483.8 MB, free: 7.023 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.044e-05/0.6511, allocations: 0 / 483.8 MB, free: 7.023 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.6513, allocations: 326.8 kB / 484.1 MB, free: 6.695 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.6514, allocations: 75.94 kB / 484.2 MB, free: 6.621 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.6515, allocations: 75.94 kB / 484.3 MB, free: 6.547 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007277/0.6523, allocations: 208 kB / 484.5 MB, free: 6.344 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.6523, allocations: 4 kB / 484.5 MB, free: 6.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00154/0.6538, allocations: 393.9 kB / 484.9 MB, free: 5.945 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.6539, allocations: 4 kB / 484.9 MB, free: 5.941 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.6539, allocations: 7.938 kB / 484.9 MB, free: 5.934 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008186/0.6547, allocations: 72.77 kB / 484.9 MB, free: 5.859 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.878e-05/0.6548, allocations: 24 kB / 485 MB, free: 5.836 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001862/0.6567, allocations: 1.326 MB / 486.3 MB, free: 4.395 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.6568, allocations: 4.031 kB / 486.3 MB, free: 4.391 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.813e-05/0.6569, allocations: 15.98 kB / 486.3 MB, free: 4.375 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: B:VARIABLE(unit = "T" ) "Magnetic flux density of material" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * 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 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001627/0.657, allocations: 113 kB / 486.4 MB, free: 4.258 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.992e-05/0.6571, allocations: 11.81 kB / 486.4 MB, free: 4.246 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001756/0.6588, allocations: 473.6 kB / 486.9 MB, free: 3.777 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.6588, allocations: 4 kB / 486.9 MB, free: 3.773 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.6589, allocations: 0 / 486.9 MB, free: 3.773 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.6589, allocations: 0 / 486.9 MB, free: 3.773 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002775/0.6591, allocations: 234 kB / 487.1 MB, free: 3.508 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.6592, allocations: 0 / 487.1 MB, free: 3.508 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.801e-05/0.6592, allocations: 19.98 kB / 487.1 MB, free: 3.488 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007338/0.66, allocations: 76.78 kB / 487.2 MB, free: 3.41 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.085e-05/0.66, allocations: 7.984 kB / 487.2 MB, free: 3.402 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001914/0.6619, allocations: 1.392 MB / 488.6 MB, free: 1.895 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.6619, allocations: 0 / 488.6 MB, free: 1.895 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001535/0.6635, allocations: 429.4 kB / 489 MB, free: 1.453 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001599/0.6651, allocations: 0.787 MB / 489.8 MB, free: 0.6406 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.218e-05/0.6652, allocations: 92.92 kB / 489.9 MB, free: 0.5312 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.01e-05/0.6652, allocations: 96 / 489.9 MB, free: 0.5312 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.676e-05/0.6653, allocations: 3.938 kB / 489.9 MB, free: 0.5273 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.564e-05/0.6654, allocations: 11.89 kB / 489.9 MB, free: 0.5156 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.747e-05/0.6654, allocations: 19.98 kB / 489.9 MB, free: 0.4961 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001661/0.6656, allocations: 164.1 kB / 490.1 MB, free: 344 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.001001/0.6666, allocations: 91.86 kB / 490.2 MB, free: 252 kB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * 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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003888/0.667, allocations: 187.1 kB / 490.4 MB, free: 56 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004484/0.6674, allocations: 237.7 kB / 490.6 MB, free: 15.81 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.6674, allocations: 0 / 490.6 MB, free: 15.81 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004068/0.6679, allocations: 193.7 kB / 490.8 MB, free: 15.61 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/0.6681, allocations: 23.44 kB / 490.8 MB, free: 15.59 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03304/0.7012, allocations: 1.394 MB / 492.2 MB, free: 14.17 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004887/0.7017, allocations: 0.7465 MB / 493 MB, free: 13.4 MB / 378.7 MB Notification: Performance of SimCode: time 1.613e-06/0.7017, allocations: 0 / 493 MB, free: 13.4 MB / 378.7 MB (rm -f FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.pipe ; mkfifo FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.pipe ; head -c 1048576 < FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.pipe >> ../files/FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_FluxTubesExtension_FluxTubesExtension_Examples_ShowSoftMagneticCharacteristic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 FluxTubesExtension_FluxTubesExtension_Examples_ShowSoftMagneticCharacteristic.fmu > FluxTubesExtension_FluxTubesExtension.Examples.ShowSoftMagneticCharacteristic.pipe 2>&1)