Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.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.OpAmps.Multivibrator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator",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.0009825/0.0009825, allocations: 198.5 kB / 8.539 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.148/1.148, allocations: 225.5 MB / 234.4 MB, free: 3.457 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008239/0.0008239, allocations: 96.66 kB / 286.3 MB, free: 5.211 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1139/0.1147, allocations: 56.91 MB / 343.2 MB, free: 8.672 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07879/0.1935, allocations: 51.48 MB / 394.7 MB, free: 5.141 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1929/0.3865, allocations: 78.96 MB / 473.7 MB, free: 13.23 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001682/0.3867, allocations: 76.36 kB / 473.8 MB, free: 13.21 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.01017/0.3969, allocations: 4.519 MB / 478.3 MB, free: 10.51 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.835e-05/0.3969, allocations: 12.52 kB / 478.3 MB, free: 10.5 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.129e-05/0.397, allocations: 27.62 kB / 478.3 MB, free: 10.47 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002492/0.3972, allocations: 249.6 kB / 478.6 MB, free: 10.22 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.3973, allocations: 12 kB / 478.6 MB, free: 10.21 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.91e-05/0.3973, allocations: 12.84 kB / 478.6 MB, free: 10.2 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000226/0.3975, allocations: 144.1 kB / 478.7 MB, free: 10.12 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002426/0.3978, allocations: 167.1 kB / 478.9 MB, free: 9.996 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.3978, allocations: 0 / 478.9 MB, free: 9.996 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.862e-05/0.3978, allocations: 0 / 478.9 MB, free: 9.996 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.3978, allocations: 8 kB / 478.9 MB, free: 9.988 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001225/0.3991, allocations: 0.9239 MB / 479.8 MB, free: 9.145 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003065/0.3994, allocations: 151.6 kB / 480 MB, free: 9.027 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001832/0.3996, allocations: 115.1 kB / 480.1 MB, free: 8.938 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.3996, allocations: 3.984 kB / 480.1 MB, free: 8.934 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.198e-05/0.3996, allocations: 37.56 kB / 480.1 MB, free: 8.891 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 1.172e-06/0.3996, allocations: 0 / 480.1 MB, free: 8.891 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.0005167/0.4001, allocations: 227.5 kB / 480.3 MB, free: 8.691 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.251e-05/0.4002, allocations: 51.41 kB / 480.4 MB, free: 8.629 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.4003, allocations: 171.9 kB / 480.6 MB, free: 8.473 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.4003, allocations: 25.7 kB / 480.6 MB, free: 8.441 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.574e-05/0.4003, allocations: 157.9 kB / 480.7 MB, free: 8.293 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.229e-05/0.4004, allocations: 45.92 kB / 480.8 MB, free: 8.254 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.464e-06/0.4004, allocations: 0 / 480.8 MB, free: 8.254 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 3.728e-05/0.4004, allocations: 329.3 kB / 481.1 MB, free: 7.93 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.604e-05/0.4005, allocations: 47.59 kB / 481.1 MB, free: 7.902 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.787e-05/0.4006, allocations: 97 kB / 481.2 MB, free: 7.809 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.606e-05/0.4007, allocations: 45.81 kB / 481.3 MB, free: 7.781 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4007, allocations: 4 kB / 481.3 MB, free: 7.777 MB / 346.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000529/0.4012, allocations: 285 kB / 481.6 MB, free: 7.539 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.54e-05/0.4013, allocations: 0.611 MB / 482.2 MB, free: 6.891 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.4013, allocations: 0 / 482.2 MB, free: 6.891 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001783/0.4015, allocations: 51.83 kB / 482.2 MB, free: 6.848 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.4016, allocations: 38.73 kB / 482.3 MB, free: 6.812 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002847/0.4019, allocations: 0.5967 MB / 482.9 MB, free: 6.223 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001589/0.4021, allocations: 23.83 kB / 482.9 MB, free: 6.199 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.4021, allocations: 15.16 kB / 482.9 MB, free: 6.188 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.139e-06/0.4021, allocations: 8.062 kB / 482.9 MB, free: 6.18 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002136/0.4024, allocations: 144.1 kB / 483.1 MB, free: 6.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.535e-06/0.4024, allocations: 4 kB / 483.1 MB, free: 6.066 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.974e-05/0.4024, allocations: 16.3 kB / 483.1 MB, free: 6.051 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.4026, allocations: 43.97 kB / 483.1 MB, free: 6.008 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005594/0.4032, allocations: 1.263 MB / 484.4 MB, free: 4.684 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.414e-05/0.4033, allocations: 3.969 kB / 484.4 MB, free: 4.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.4033, allocations: 12.94 kB / 484.4 MB, free: 4.668 MB / 346.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: opAmp.v_in:VARIABLE(unit = "V" ) "Input voltage difference" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 19 * 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 5} Notification: Performance of prepare postOptimizeDAE: time 8.192e-05/0.4034, allocations: 128.9 kB / 484.5 MB, free: 4.543 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.918e-05/0.4034, allocations: 15.81 kB / 484.5 MB, free: 4.527 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.477e-05/0.4034, allocations: 15.84 kB / 484.5 MB, free: 4.52 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.4035, allocations: 0 / 484.5 MB, free: 4.52 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-06/0.4035, allocations: 144 / 484.5 MB, free: 4.52 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.4035, allocations: 11.97 kB / 484.6 MB, free: 4.508 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006765/0.4042, allocations: 0.5439 MB / 485.1 MB, free: 3.996 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.4042, allocations: 0 / 485.1 MB, free: 3.996 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.4043, allocations: 23.92 kB / 485.1 MB, free: 3.973 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001151/0.4044, allocations: 53.14 kB / 485.2 MB, free: 3.93 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.4044, allocations: 3.062 kB / 485.2 MB, free: 3.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001656/0.4061, allocations: 1.728 MB / 486.9 MB, free: 2.207 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.4061, allocations: 3.906 kB / 486.9 MB, free: 2.203 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004999/0.4066, allocations: 383.3 kB / 487.3 MB, free: 1.867 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005868/0.4072, allocations: 0.7889 MB / 488.1 MB, free: 1.145 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.369e-05/0.4072, allocations: 97.2 kB / 488.2 MB, free: 1.031 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.655e-05/0.4073, allocations: 0 / 488.2 MB, free: 1.031 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000189/0.4075, allocations: 19.98 kB / 488.2 MB, free: 1.012 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.981e-05/0.4075, allocations: 15.45 kB / 488.2 MB, free: 1 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.4075, allocations: 4 kB / 488.2 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.552e-05/0.4076, allocations: 147.1 kB / 488.4 MB, free: 0.875 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001532/0.4091, allocations: 107.7 kB / 488.5 MB, free: 0.7695 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001109/0.4093, allocations: 112 kB / 488.6 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004231/0.4097, allocations: 315.1 kB / 488.9 MB, free: 408 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.4097, allocations: 0 / 488.9 MB, free: 408 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004536/0.4102, allocations: 248.1 kB / 489.1 MB, free: 172 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000238/0.4104, allocations: 25.38 kB / 489.1 MB, free: 156 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002014/0.4124, allocations: 0.7023 MB / 489.8 MB, free: 15.45 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003191/0.4128, allocations: 0.7625 MB / 490.6 MB, free: 14.66 MB / 362.7 MB Notification: Performance of SimCode: time 2.81e-07/0.4128, allocations: 4 kB / 490.6 MB, free: 14.65 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.mat does not exist to compare? outputFormat=mat