Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.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.Spice3.Examples.Graetz,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_Graetz",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Graetz,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_Graetz",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.001339/0.001339, allocations: 205.1 kB / 8.539 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.092/1.092, allocations: 225.5 MB / 234.4 MB, free: 3.32 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008438/0.0008438, allocations: 89.67 kB / 286.3 MB, free: 5.305 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.08864/0.08951, allocations: 56.9 MB / 343.2 MB, free: 8.594 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07934/0.1689, allocations: 51.47 MB / 394.7 MB, free: 5.074 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2044/0.3733, allocations: 88.39 MB / 483.1 MB, free: 4.805 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001887/0.3736, allocations: 73.7 kB / 483.2 MB, free: 4.77 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.08785/0.4614, allocations: 38.93 MB / 0.5099 GB, free: 3.293 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.4615, allocations: 8 kB / 0.5099 GB, free: 3.285 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002755/0.4618, allocations: 146.3 kB / 0.51 GB, free: 3.141 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008754/0.4626, allocations: 0.7189 MB / 0.5107 GB, free: 2.371 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.4627, allocations: 8 kB / 0.5107 GB, free: 2.363 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.805e-05/0.4627, allocations: 16 kB / 0.5107 GB, free: 2.348 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000327/0.4631, allocations: 201 kB / 0.5109 GB, free: 2.152 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003856/0.4635, allocations: 266.4 kB / 0.5112 GB, free: 1.883 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.4635, allocations: 0 / 0.5112 GB, free: 1.883 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.824e-05/0.4635, allocations: 0 / 0.5112 GB, free: 1.883 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.4635, allocations: 7.984 kB / 0.5112 GB, free: 1.875 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001674/0.4652, allocations: 1.128 MB / 0.5123 GB, free: 0.6992 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002871/0.4655, allocations: 206.5 kB / 0.5125 GB, free: 500 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003825/0.4659, allocations: 268.8 kB / 0.5127 GB, free: 228 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001345/0.4673, allocations: 1.367 MB / 0.5141 GB, free: 14.58 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.4673, allocations: 34.56 kB / 0.5141 GB, free: 14.54 MB / 394.7 MB Notification: Performance of pre-optimization done (n=38): time 1.583e-06/0.4673, allocations: 0 / 0.5141 GB, free: 14.54 MB / 394.7 MB Notification: Performance of matching and sorting (n=39): time 0.002286/0.4696, allocations: 1.163 MB / 0.5152 GB, free: 13.31 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.997e-05/0.4696, allocations: 110.8 kB / 0.5153 GB, free: 13.18 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007448/0.4704, allocations: 0.7051 MB / 0.516 GB, free: 12.47 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.031e-05/0.4704, allocations: 33.7 kB / 0.5161 GB, free: 12.43 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.4706, allocations: 193.7 kB / 0.5162 GB, free: 12.24 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.057e-05/0.4706, allocations: 122.1 kB / 0.5164 GB, free: 12.12 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.942e-05/0.4707, allocations: 4 kB / 0.5164 GB, free: 12.11 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.488e-05/0.4708, allocations: 324.2 kB / 0.5167 GB, free: 11.79 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001588/0.4709, allocations: 96.28 kB / 0.5168 GB, free: 11.7 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001778/0.4711, allocations: 134.8 kB / 0.5169 GB, free: 11.55 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003208/0.4714, allocations: 151.3 kB / 0.517 GB, free: 11.41 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.4714, allocations: 0 / 0.517 GB, free: 11.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008404/0.4723, allocations: 465.7 kB / 0.5175 GB, free: 10.94 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.4723, allocations: 4 kB / 0.5175 GB, free: 10.94 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.993e-05/0.4724, allocations: 15.91 kB / 0.5175 GB, free: 10.92 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002109/0.4726, allocations: 69.72 kB / 0.5176 GB, free: 10.85 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002222/0.4728, allocations: 51.89 kB / 0.5176 GB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00203/0.4748, allocations: 2.862 MB / 0.5204 GB, free: 7.703 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002748/0.4751, allocations: 11.91 kB / 0.5204 GB, free: 7.691 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.012e-05/0.4752, allocations: 20.05 kB / 0.5204 GB, free: 7.672 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001267/0.4753, allocations: 146.6 kB / 0.5206 GB, free: 7.516 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/0.4755, allocations: 118.5 kB / 0.5207 GB, free: 7.398 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001622/0.4771, allocations: 0.6705 MB / 0.5214 GB, free: 6.73 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.4771, allocations: 7.906 kB / 0.5214 GB, free: 6.723 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.4771, allocations: 4 kB / 0.5214 GB, free: 6.719 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.4771, allocations: 7.984 kB / 0.5214 GB, free: 6.711 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006245/0.4777, allocations: 0.5562 MB / 0.5219 GB, free: 6.121 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.52e-05/0.4778, allocations: 15.92 kB / 0.5219 GB, free: 6.105 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001881/0.478, allocations: 35.92 kB / 0.522 GB, free: 6.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001787/0.4782, allocations: 73.67 kB / 0.522 GB, free: 5.992 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.683e-05/0.4782, allocations: 11.98 kB / 0.522 GB, free: 5.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001964/0.4802, allocations: 2.859 MB / 0.5248 GB, free: 2.891 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.4802, allocations: 1.312 kB / 0.5248 GB, free: 2.891 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001133/0.4813, allocations: 0.7798 MB / 0.5256 GB, free: 2.09 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001478/0.4828, allocations: 1.331 MB / 0.5269 GB, free: 0.7344 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003437/0.4832, allocations: 283.5 kB / 0.5272 GB, free: 448 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/0.4833, allocations: 11.91 kB / 0.5272 GB, free: 436 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002945/0.4836, allocations: 8 kB / 0.5272 GB, free: 428 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.96e-05/0.4837, allocations: 23.95 kB / 0.5272 GB, free: 404 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.185e-05/0.4837, allocations: 20 kB / 0.5272 GB, free: 384 kB / 394.7 MB Notification: Performance of sort global known variables: time 0.0006254/0.4844, allocations: 0.5477 MB / 0.5278 GB, free: 15.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0015/0.4859, allocations: 267.8 kB / 0.528 GB, free: 15.56 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (D3.n.v,D2.pin) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006604/0.4865, allocations: 431.3 kB / 0.5284 GB, free: 15.14 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008407/0.4874, allocations: 0.6356 MB / 0.5291 GB, free: 14.45 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4874, allocations: 0 / 0.5291 GB, free: 14.45 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005291/0.4879, allocations: 0.5355 MB / 0.5296 GB, free: 13.87 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004597/0.4884, allocations: 92.7 kB / 0.5297 GB, free: 13.78 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001741/0.4902, allocations: 1.042 MB / 0.5307 GB, free: 12.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005739/0.4908, allocations: 1.067 MB / 0.5317 GB, free: 11.61 MB / 410.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4908, allocations: 4 kB / 0.5317 GB, free: 11.61 MB / 410.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Spice3_Examples_Graetz_fmu --startTime=0 --stopTime=0.025 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Spice3_Examples_Graetz.fmu > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Graetz.pipe 2>&1)