Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.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) 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.DemoPowerSupply,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_DemoPowerSupply",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.DemoPowerSupply,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_DemoPowerSupply",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 trunk/package.mo): time 0.001033/0.001033, allocations: 202.3 kB / 8.541 MB, free: 1.805 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.175/1.175, allocations: 225.5 MB / 234.4 MB, free: 3.328 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008215/0.0008215, allocations: 89.61 kB / 286.3 MB, free: 5.285 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.08685/0.08769, allocations: 56.9 MB / 343.2 MB, free: 8.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08009/0.1678, allocations: 51.49 MB / 394.7 MB, free: 5.043 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.207/0.3749, allocations: 78.16 MB / 472.9 MB, free: 13.59 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000164/0.3751, allocations: 69.5 kB / 473 MB, free: 13.56 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.008224/0.3833, allocations: 3.068 MB / 476 MB, free: 11.66 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.997e-05/0.3833, allocations: 12 kB / 476 MB, free: 11.65 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000137/0.3835, allocations: 19.81 kB / 476.1 MB, free: 11.63 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.3837, allocations: 215.3 kB / 476.3 MB, free: 11.4 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.132e-05/0.3838, allocations: 88.3 kB / 476.3 MB, free: 11.3 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.3838, allocations: 12 kB / 476.4 MB, free: 11.29 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000183/0.384, allocations: 86.14 kB / 476.4 MB, free: 11.24 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.3841, allocations: 91.75 kB / 476.5 MB, free: 11.17 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.3841, allocations: 0 / 476.5 MB, free: 11.17 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.3842, allocations: 0 / 476.5 MB, free: 11.17 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.3842, allocations: 7.984 kB / 476.5 MB, free: 11.16 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007038/0.3849, allocations: 0.5012 MB / 477 MB, free: 10.77 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002573/0.3852, allocations: 84.25 kB / 477.1 MB, free: 10.7 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.892e-05/0.3852, allocations: 38.86 kB / 477.2 MB, free: 10.68 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.313e-05/0.3852, allocations: 4 kB / 477.2 MB, free: 10.67 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.221e-05/0.3853, allocations: 34.56 kB / 477.2 MB, free: 10.63 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.873e-06/0.3853, allocations: 0 / 477.2 MB, free: 10.63 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003744/0.3857, allocations: 151.2 kB / 477.3 MB, free: 10.52 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.228e-05/0.3857, allocations: 55.34 kB / 477.4 MB, free: 10.46 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.316e-05/0.3858, allocations: 127 kB / 477.5 MB, free: 10.34 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.3858, allocations: 25.7 kB / 477.6 MB, free: 10.31 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.269e-05/0.3858, allocations: 114.9 kB / 477.7 MB, free: 10.2 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.675e-05/0.3858, allocations: 30.38 kB / 477.7 MB, free: 10.18 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.146e-05/0.3859, allocations: 0 / 477.7 MB, free: 10.18 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 3.371e-05/0.3859, allocations: 325.2 kB / 478 MB, free: 9.863 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.906e-05/0.386, allocations: 34.62 kB / 478 MB, free: 9.844 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.484e-05/0.3861, allocations: 68.52 kB / 478.1 MB, free: 9.793 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.186e-05/0.3862, allocations: 32.86 kB / 478.1 MB, free: 9.777 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.3862, allocations: 4 kB / 478.1 MB, free: 9.773 MB / 346.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002692/0.3864, allocations: 174 kB / 478.3 MB, free: 9.645 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.776e-06/0.3865, allocations: 4 kB / 478.3 MB, free: 9.641 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3865, allocations: 4 kB / 478.3 MB, free: 9.637 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001849/0.3867, allocations: 67.58 kB / 478.4 MB, free: 9.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.637e-05/0.3868, allocations: 23.06 kB / 478.4 MB, free: 9.574 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009475/0.3877, allocations: 1.382 MB / 479.8 MB, free: 8.219 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003073/0.388, allocations: 50.41 kB / 479.8 MB, free: 8.18 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.027e-05/0.3881, allocations: 11.78 kB / 479.9 MB, free: 8.172 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (dcPowerSupply.cv,dcPowerSupply.cc,dcPowerSupply.cp) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 5.769e-05/0.3881, allocations: 108.5 kB / 480 MB, free: 8.062 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.338e-05/0.3882, allocations: 7.906 kB / 480 MB, free: 8.055 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.071e-05/0.3882, allocations: 8.375 kB / 480 MB, free: 8.051 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.3882, allocations: 4 kB / 480 MB, free: 8.047 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.41e-07/0.3882, allocations: 4 kB / 480 MB, free: 8.043 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.3882, allocations: 3.906 kB / 480 MB, free: 8.039 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001361/0.3884, allocations: 189.7 kB / 480.2 MB, free: 7.859 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.3884, allocations: 0 / 480.2 MB, free: 7.859 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.107e-05/0.3884, allocations: 19.41 kB / 480.2 MB, free: 7.844 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001321/0.3886, allocations: 75.17 kB / 480.3 MB, free: 7.793 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.3886, allocations: 0 / 480.3 MB, free: 7.793 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008589/0.3895, allocations: 1.378 MB / 481.6 MB, free: 6.445 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.3895, allocations: 0 / 481.6 MB, free: 6.445 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003046/0.3898, allocations: 245.8 kB / 481.9 MB, free: 6.238 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003296/0.3901, allocations: 0.6206 MB / 482.5 MB, free: 5.652 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.268e-05/0.3902, allocations: 88.92 kB / 482.6 MB, free: 5.547 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.3902, allocations: 0 / 482.6 MB, free: 5.547 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/0.3904, allocations: 22.75 kB / 482.6 MB, free: 5.531 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.122e-05/0.3904, allocations: 7.375 kB / 482.6 MB, free: 5.527 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.3904, allocations: 0.625 kB / 482.6 MB, free: 5.527 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.987e-05/0.3905, allocations: 108.2 kB / 482.7 MB, free: 5.438 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000831/0.3913, allocations: 47.84 kB / 482.8 MB, free: 5.391 MB / 346.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: 2 (dcPowerSupply.cv,dcPowerSupply.cc) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001005/0.3914, allocations: 99.25 kB / 482.9 MB, free: 5.281 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000338/0.3918, allocations: 227.9 kB / 483.1 MB, free: 5.086 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3918, allocations: 0 / 483.1 MB, free: 5.086 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001596/0.3919, allocations: 145.5 kB / 483.2 MB, free: 4.953 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002094/0.3922, allocations: 16.34 kB / 483.3 MB, free: 4.945 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003364/0.3925, allocations: 147 kB / 483.4 MB, free: 4.805 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001352/0.3927, allocations: 0.7198 MB / 484.1 MB, free: 4.078 MB / 346.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3927, allocations: 0 / 484.1 MB, free: 4.078 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_DemoPowerSupply_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_DemoPowerSupply.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.pipe 2>&1)