Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.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.LCOscillator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator",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.001014/0.001014, allocations: 203.9 kB / 8.541 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.181/1.181, allocations: 225.5 MB / 234.4 MB, free: 3.441 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009813/0.0009813, allocations: 95.95 kB / 286.3 MB, free: 5.23 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1037/0.1047, allocations: 56.91 MB / 343.2 MB, free: 8.652 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0895/0.1942, allocations: 51.48 MB / 394.7 MB, free: 5.117 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2288/0.4231, allocations: 79.12 MB / 473.8 MB, free: 12.8 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001771/0.4233, allocations: 76.55 kB / 473.9 MB, free: 12.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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.01131/0.4347, allocations: 4.773 MB / 478.7 MB, free: 9.875 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.4347, allocations: 15.98 kB / 478.7 MB, free: 9.859 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.69e-05/0.4348, allocations: 31.62 kB / 478.7 MB, free: 9.828 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002577/0.435, allocations: 260.8 kB / 479 MB, free: 9.555 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.435, allocations: 11.91 kB / 479 MB, free: 9.543 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.482e-05/0.4351, allocations: 12 kB / 479 MB, free: 9.531 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002573/0.4354, allocations: 156.3 kB / 479.2 MB, free: 9.438 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002983/0.4357, allocations: 217.8 kB / 479.4 MB, free: 9.27 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.4357, allocations: 1.125 kB / 479.4 MB, free: 9.27 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.387e-05/0.4357, allocations: 0 / 479.4 MB, free: 9.27 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.4357, allocations: 4 kB / 479.4 MB, free: 9.266 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001323/0.4371, allocations: 0.9826 MB / 480.4 MB, free: 8.383 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002184/0.4373, allocations: 90.55 kB / 480.5 MB, free: 8.316 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002768/0.4376, allocations: 147.2 kB / 480.6 MB, free: 8.203 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.4376, allocations: 0 / 480.6 MB, free: 8.203 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.428e-05/0.4376, allocations: 42.25 kB / 480.6 MB, free: 8.156 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 1.092e-06/0.4376, allocations: 0 / 480.6 MB, free: 8.156 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005533/0.4382, allocations: 225.4 kB / 480.9 MB, free: 7.953 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.895e-05/0.4382, allocations: 58.78 kB / 480.9 MB, free: 7.887 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/0.4384, allocations: 181 kB / 481.1 MB, free: 7.73 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.4384, allocations: 28.8 kB / 481.1 MB, free: 7.699 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.403e-05/0.4384, allocations: 166.2 kB / 481.3 MB, free: 7.543 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.758e-05/0.4385, allocations: 54.67 kB / 481.3 MB, free: 7.496 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.706e-06/0.4385, allocations: 4 kB / 481.3 MB, free: 7.492 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.396e-05/0.4385, allocations: 329.3 kB / 481.7 MB, free: 7.168 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.419e-05/0.4386, allocations: 46.81 kB / 481.7 MB, free: 7.141 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.664e-05/0.4387, allocations: 103.1 kB / 481.8 MB, free: 7.035 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.851e-05/0.4388, allocations: 57.86 kB / 481.9 MB, free: 7 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.4388, allocations: 4 kB / 481.9 MB, free: 6.996 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005461/0.4394, allocations: 299.7 kB / 482.2 MB, free: 6.742 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.4394, allocations: 7.906 kB / 482.2 MB, free: 6.734 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.4394, allocations: 3.828 kB / 482.2 MB, free: 6.734 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001994/0.4396, allocations: 54.08 kB / 482.2 MB, free: 6.691 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.4398, allocations: 51.95 kB / 482.3 MB, free: 6.641 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001372/0.4412, allocations: 1.6 MB / 483.9 MB, free: 5.047 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001753/0.4413, allocations: 27.12 kB / 483.9 MB, free: 5.023 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.4414, allocations: 8 kB / 483.9 MB, free: 5.016 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: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 23 * 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 0.0001034/0.4415, allocations: 117.8 kB / 484 MB, free: 4.898 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.279e-05/0.4415, allocations: 19.8 kB / 484 MB, free: 4.879 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.861e-05/0.4416, allocations: 21.03 kB / 484.1 MB, free: 4.871 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.4416, allocations: 7.906 kB / 484.1 MB, free: 4.863 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-06/0.4416, allocations: 0 / 484.1 MB, free: 4.863 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.4416, allocations: 3.984 kB / 484.1 MB, free: 4.859 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007288/0.4423, allocations: 0.5564 MB / 484.6 MB, free: 4.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.4423, allocations: 0 / 484.6 MB, free: 4.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001448/0.4425, allocations: 31.92 kB / 484.7 MB, free: 4.309 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000127/0.4426, allocations: 54.17 kB / 484.7 MB, free: 4.266 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.4426, allocations: 0 / 484.7 MB, free: 4.266 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001707/0.4444, allocations: 1.739 MB / 486.5 MB, free: 2.539 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.4444, allocations: 0 / 486.5 MB, free: 2.539 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005656/0.4449, allocations: 399.4 kB / 486.8 MB, free: 2.195 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006474/0.4456, allocations: 0.8101 MB / 487.7 MB, free: 1.453 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.333e-05/0.4457, allocations: 97.22 kB / 487.8 MB, free: 1.34 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.869e-05/0.4457, allocations: 0 / 487.8 MB, free: 1.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002061/0.4459, allocations: 24.05 kB / 487.8 MB, free: 1.316 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.435e-05/0.4459, allocations: 15.27 kB / 487.8 MB, free: 1.305 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.446, allocations: 4 kB / 487.8 MB, free: 1.301 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.398e-05/0.4461, allocations: 145.6 kB / 487.9 MB, free: 1.184 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001009/0.4471, allocations: 75.77 kB / 488 MB, free: 1.109 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (c.v,l.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * 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.0001249/0.4472, allocations: 99.19 kB / 488.1 MB, free: 1 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003451/0.4476, allocations: 244.9 kB / 488.3 MB, free: 0.793 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4476, allocations: 4 kB / 488.4 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004593/0.448, allocations: 256 kB / 488.6 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.4483, allocations: 29.59 kB / 488.6 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002158/0.4505, allocations: 0.7647 MB / 489.4 MB, free: 15.78 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003963/0.4509, allocations: 0.7748 MB / 490.2 MB, free: 14.97 MB / 362.7 MB Notification: Performance of SimCode: time 3.6e-07/0.4509, allocations: 0 / 490.2 MB, free: 14.97 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator_fmu --startTime=0 --stopTime=0.01 --timeout=50 --tolerance=0.0001 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat does not exist to compare? outputFormat=mat