Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.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.HighPass,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_HighPass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_HighPass",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.001254/0.001254, allocations: 195.1 kB / 8.537 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.163/1.163, allocations: 225.5 MB / 234.4 MB, free: 3.375 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008675/0.0008675, allocations: 94.92 kB / 286.3 MB, free: 5.277 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09348/0.09438, allocations: 56.92 MB / 343.3 MB, free: 8.609 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08244/0.1768, allocations: 51.46 MB / 394.7 MB, free: 5.098 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.207/0.3839, allocations: 81.68 MB / 476.4 MB, free: 10.93 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001967/0.3841, allocations: 82.3 kB / 476.5 MB, free: 10.9 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.01732/0.4014, allocations: 7.335 MB / 483.8 MB, free: 5.164 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.025e-05/0.4015, allocations: 8 kB / 483.8 MB, free: 5.156 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.14e-05/0.4016, allocations: 43.52 kB / 483.9 MB, free: 5.113 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003331/0.4019, allocations: 308.8 kB / 484.2 MB, free: 4.812 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.4019, allocations: 9.5 kB / 484.2 MB, free: 4.805 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.369e-05/0.402, allocations: 16 kB / 484.2 MB, free: 4.789 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003292/0.4023, allocations: 191.2 kB / 484.4 MB, free: 4.684 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003543/0.4027, allocations: 265.3 kB / 484.6 MB, free: 4.48 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.4027, allocations: 0 / 484.6 MB, free: 4.48 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.609e-05/0.4027, allocations: 0 / 484.6 MB, free: 4.48 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.924e-06/0.4027, allocations: 8 kB / 484.6 MB, free: 4.473 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001881/0.4046, allocations: 1.282 MB / 485.9 MB, free: 3.344 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001822/0.4048, allocations: 127.9 kB / 486 MB, free: 3.254 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.433e-05/0.4049, allocations: 71.64 kB / 486.1 MB, free: 3.207 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.405, allocations: 11.83 kB / 486.1 MB, free: 3.199 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001474/0.4051, allocations: 122 kB / 486.2 MB, free: 3.086 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 1.262e-06/0.4051, allocations: 0 / 486.2 MB, free: 3.086 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.000571/0.4057, allocations: 247.1 kB / 486.5 MB, free: 2.879 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.334e-05/0.4057, allocations: 106.8 kB / 486.6 MB, free: 2.75 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001888/0.4059, allocations: 242.6 kB / 486.8 MB, free: 2.555 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.406, allocations: 25.7 kB / 486.9 MB, free: 2.523 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.071e-05/0.406, allocations: 186.8 kB / 487 MB, free: 2.355 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.145e-05/0.4061, allocations: 54.45 kB / 487.1 MB, free: 2.309 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.193e-05/0.4061, allocations: 0 / 487.1 MB, free: 2.309 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.376e-05/0.4061, allocations: 330.4 kB / 487.4 MB, free: 1.984 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.83e-05/0.4062, allocations: 69.38 kB / 487.5 MB, free: 1.945 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001241/0.4064, allocations: 146.3 kB / 487.6 MB, free: 1.793 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001087/0.4065, allocations: 85.08 kB / 487.7 MB, free: 1.742 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.4065, allocations: 0 / 487.7 MB, free: 1.742 MB / 346.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006152/0.4071, allocations: 331.1 kB / 488 MB, free: 1.473 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.337e-06/0.4071, allocations: 4 kB / 488 MB, free: 1.469 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.4071, allocations: 4 kB / 488 MB, free: 1.465 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001774/0.4073, allocations: 57.34 kB / 488.1 MB, free: 1.422 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000256/0.4076, allocations: 63.89 kB / 488.2 MB, free: 1.359 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001147/0.4087, allocations: 1.475 MB / 489.6 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003452/0.4091, allocations: 63.72 kB / 489.7 MB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.496e-05/0.4091, allocations: 12.62 kB / 489.7 MB, free: 15.81 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: derivative.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: 12 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * 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 0.0001177/0.4093, allocations: 115.3 kB / 489.8 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.858e-05/0.4093, allocations: 27.62 kB / 489.8 MB, free: 15.67 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.842e-05/0.4094, allocations: 29.58 kB / 489.9 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.4094, allocations: 4 kB / 489.9 MB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.4094, allocations: 0 / 489.9 MB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.4094, allocations: 0 / 489.9 MB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002354/0.4096, allocations: 300 kB / 490.2 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.4096, allocations: 3.938 kB / 490.2 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002152/0.4098, allocations: 39.97 kB / 490.2 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001261/0.41, allocations: 53.83 kB / 490.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.41, allocations: 0 / 490.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001263/0.4113, allocations: 1.468 MB / 491.7 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.4113, allocations: 0 / 491.7 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006718/0.412, allocations: 355.1 kB / 492.1 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008719/0.4129, allocations: 0.7825 MB / 492.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.833e-05/0.4129, allocations: 104.1 kB / 493 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.536e-05/0.413, allocations: 3.312 kB / 493 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000283/0.4133, allocations: 44.02 kB / 493 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.489e-05/0.4134, allocations: 19.59 kB / 493 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.4134, allocations: 5.688 kB / 493 MB, free: 12.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001679/0.4135, allocations: 182.7 kB / 493.2 MB, free: 12.53 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008972/0.4145, allocations: 92.22 kB / 493.3 MB, free: 12.44 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (derivative.c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001684/0.4146, allocations: 103.2 kB / 493.4 MB, free: 12.33 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005133/0.4152, allocations: 293.3 kB / 493.7 MB, free: 12.08 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4152, allocations: 0 / 493.7 MB, free: 12.08 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002497/0.4154, allocations: 174.4 kB / 493.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000288/0.4157, allocations: 47.44 kB / 493.9 MB, free: 11.89 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008699/0.4166, allocations: 389.4 kB / 494.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003523/0.417, allocations: 0.7945 MB / 495.1 MB, free: 10.71 MB / 362.7 MB Notification: Performance of SimCode: time 1.543e-06/0.417, allocations: 0 / 495.1 MB, free: 10.71 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_HighPass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_HighPass.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat does not exist to compare? outputFormat=mat