Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.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.Oscillator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Oscillator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_Oscillator",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.001021/0.001021, allocations: 199.2 kB / 8.541 MB, free: 1.812 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.095/1.095, allocations: 225.5 MB / 234.4 MB, free: 3.355 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008447/0.0008447, allocations: 90.97 kB / 286.3 MB, free: 5.258 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.08726/0.08813, allocations: 56.9 MB / 343.2 MB, free: 8.656 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07573/0.1639, allocations: 51.47 MB / 394.7 MB, free: 5.133 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2055/0.3694, allocations: 92.56 MB / 487.3 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001921/0.3697, allocations: 71.72 kB / 487.3 MB, free: 0.7422 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.1085/0.4782, allocations: 57.04 MB / 0.5316 GB, free: 13.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.4782, allocations: 16 kB / 0.5316 GB, free: 13.06 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002609/0.4785, allocations: 197.7 kB / 0.5318 GB, free: 12.86 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001576/0.4801, allocations: 1.141 MB / 0.5329 GB, free: 11.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.4801, allocations: 15.91 kB / 0.5329 GB, free: 11.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.361e-05/0.4802, allocations: 31.98 kB / 0.533 GB, free: 11.63 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006444/0.4808, allocations: 394.2 kB / 0.5333 GB, free: 11.24 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006196/0.4815, allocations: 418.3 kB / 0.5337 GB, free: 10.82 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.4815, allocations: 4 kB / 0.5338 GB, free: 10.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.792e-05/0.4815, allocations: 0 / 0.5338 GB, free: 10.82 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.701e-05/0.4816, allocations: 16 kB / 0.5338 GB, free: 10.8 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002766/0.4843, allocations: 2.035 MB / 0.5358 GB, free: 8.711 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005171/0.4849, allocations: 445.1 kB / 0.5362 GB, free: 8.266 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004989/0.4854, allocations: 453.4 kB / 0.5366 GB, free: 7.82 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008309/0.4937, allocations: 7.718 MB / 0.5441 GB, free: 14.89 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000358/0.4941, allocations: 251.8 kB / 0.5444 GB, free: 14.63 MB / 426.7 MB Notification: Performance of pre-optimization done (n=57): time 2.635e-06/0.4941, allocations: 0 / 0.5444 GB, free: 14.63 MB / 426.7 MB Notification: Performance of matching and sorting (n=61): time 0.003814/0.4979, allocations: 2.105 MB / 0.5464 GB, free: 12.47 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/0.498, allocations: 59.83 kB / 0.5465 GB, free: 12.4 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001155/0.4991, allocations: 0.9864 MB / 0.5475 GB, free: 11.42 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.027e-05/0.4992, allocations: 37.7 kB / 0.5475 GB, free: 11.38 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002081/0.4994, allocations: 360.3 kB / 0.5478 GB, free: 11.02 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001235/0.4995, allocations: 205 kB / 0.548 GB, free: 10.81 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.534e-05/0.4995, allocations: 0 / 0.548 GB, free: 10.81 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.4997, allocations: 334 kB / 0.5484 GB, free: 10.48 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002527/0.4999, allocations: 161.4 kB / 0.5485 GB, free: 10.32 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003354/0.5003, allocations: 317.8 kB / 0.5488 GB, free: 9.945 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006485/0.5009, allocations: 338.7 kB / 0.5491 GB, free: 9.617 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.5009, allocations: 0 / 0.5491 GB, free: 9.617 MB / 426.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001545/0.5025, allocations: 0.9349 MB / 0.5501 GB, free: 8.668 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.5025, allocations: 5.969 kB / 0.5501 GB, free: 8.664 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.574e-05/0.5026, allocations: 59.98 kB / 0.5501 GB, free: 8.605 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003952/0.503, allocations: 147.1 kB / 0.5503 GB, free: 8.461 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004867/0.5035, allocations: 119.8 kB / 0.5504 GB, free: 8.344 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002499/0.506, allocations: 2.196 MB / 0.5525 GB, free: 6.039 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005174/0.5065, allocations: 23.98 kB / 0.5525 GB, free: 6.016 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.468e-05/0.5066, allocations: 32 kB / 0.5526 GB, free: 5.984 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.v.counter,v.counter,$whenCondition1,$PRE.v.T0,v.T0,$PRE.v.counter2,v.counter2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(5,64.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001221/0.5067, allocations: 120.8 kB / 0.5527 GB, free: 5.859 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001655/0.5069, allocations: 182 kB / 0.5529 GB, free: 5.68 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002339/0.5093, allocations: 1.023 MB / 0.5539 GB, free: 4.648 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.5093, allocations: 8 kB / 0.5539 GB, free: 4.641 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.5093, allocations: 8 kB / 0.5539 GB, free: 4.633 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.5093, allocations: 3.984 kB / 0.5539 GB, free: 4.629 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009696/0.5103, allocations: 0.7926 MB / 0.5546 GB, free: 3.797 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.517e-05/0.5104, allocations: 51.98 kB / 0.5547 GB, free: 3.746 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000339/0.5107, allocations: 75.89 kB / 0.5548 GB, free: 3.672 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003597/0.5111, allocations: 144.7 kB / 0.5549 GB, free: 3.527 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.563e-05/0.5111, allocations: 12 kB / 0.5549 GB, free: 3.516 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002538/0.5137, allocations: 2.18 MB / 0.557 GB, free: 1.227 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.5137, allocations: 0 / 0.557 GB, free: 1.227 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001747/0.5155, allocations: 1.071 MB / 0.5581 GB, free: 136 kB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002171/0.5176, allocations: 1.717 MB / 0.5598 GB, free: 14.39 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003112/0.518, allocations: 251 kB / 0.56 GB, free: 14.12 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000169/0.5181, allocations: 11.89 kB / 0.56 GB, free: 14.11 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000397/0.5185, allocations: 15.98 kB / 0.56 GB, free: 14.1 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.5187, allocations: 40.38 kB / 0.5601 GB, free: 14.06 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.134e-05/0.5187, allocations: 20 kB / 0.5601 GB, free: 14.04 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0008912/0.5196, allocations: 0.7487 MB / 0.5608 GB, free: 13.3 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001533/0.5212, allocations: 415.5 kB / 0.5612 GB, free: 12.89 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (T1.vbe,T1.vcs,T2.vbe,T2.vcs) * Number of discrete variables: 4 ($whenCondition1,v.T0,v.counter,v.counter2) * Number of discrete states: 2 (v.counter,v.counter2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 3 * 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 {(6,50.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008072/0.522, allocations: 0.588 MB / 0.5618 GB, free: 12.29 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001176/0.5232, allocations: 0.7363 MB / 0.5625 GB, free: 11.53 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.5232, allocations: 0 / 0.5625 GB, free: 11.53 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008429/0.524, allocations: 0.5157 MB / 0.563 GB, free: 10.99 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006404/0.5247, allocations: 178.2 kB / 0.5632 GB, free: 10.82 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002815/0.5275, allocations: 1.785 MB / 0.5649 GB, free: 9 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007442/0.5283, allocations: 1.279 MB / 0.5662 GB, free: 7.688 MB / 442.7 MB Notification: Performance of SimCode: time 3.11e-07/0.5283, allocations: 4 kB / 0.5662 GB, free: 7.684 MB / 442.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Spice3_Examples_Oscillator_fmu --startTime=0 --stopTime=0.025 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Spice3_Examples_Oscillator.fmu > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1)