Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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.Integrator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Integrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Integrator",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.001007/0.001007, allocations: 195.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.154/1.154, allocations: 225.5 MB / 234.4 MB, free: 3.383 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009121/0.000912, allocations: 86.38 kB / 286.3 MB, free: 5.254 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09977/0.1007, allocations: 56.93 MB / 343.3 MB, free: 8.637 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09247/0.1932, allocations: 51.46 MB / 394.7 MB, free: 5.117 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2347/0.428, allocations: 81.51 MB / 476.2 MB, free: 11.02 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002369/0.4283, allocations: 84.55 kB / 476.3 MB, free: 10.98 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.01656/0.4449, allocations: 6.695 MB / 483 MB, free: 5.898 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.4449, allocations: 8 kB / 483 MB, free: 5.891 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.879e-05/0.445, allocations: 31.62 kB / 483.1 MB, free: 5.859 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003328/0.4453, allocations: 287.8 kB / 483.3 MB, free: 5.57 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.4454, allocations: 12.56 kB / 483.3 MB, free: 5.559 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.246e-05/0.4454, allocations: 16 kB / 483.4 MB, free: 5.543 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003222/0.4458, allocations: 174 kB / 483.5 MB, free: 5.445 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003554/0.4461, allocations: 227.6 kB / 483.8 MB, free: 5.273 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.4462, allocations: 0 / 483.8 MB, free: 5.273 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.125e-05/0.4462, allocations: 3.984 kB / 483.8 MB, free: 5.27 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.4462, allocations: 8 kB / 483.8 MB, free: 5.262 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001885/0.4481, allocations: 1.175 MB / 484.9 MB, free: 4.215 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002871/0.4484, allocations: 131 kB / 485.1 MB, free: 4.121 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.457e-05/0.4485, allocations: 59.64 kB / 485.1 MB, free: 4.082 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/0.4485, allocations: 4.094 kB / 485.1 MB, free: 4.082 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001295/0.4487, allocations: 115.1 kB / 485.2 MB, free: 3.973 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.242e-06/0.4487, allocations: 0 / 485.2 MB, free: 3.973 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005215/0.4492, allocations: 207.3 kB / 485.4 MB, free: 3.793 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.431e-05/0.4492, allocations: 81.11 kB / 485.5 MB, free: 3.695 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001906/0.4494, allocations: 213.2 kB / 485.7 MB, free: 3.523 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.4495, allocations: 25.7 kB / 485.8 MB, free: 3.492 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.695e-05/0.4495, allocations: 176.1 kB / 485.9 MB, free: 3.328 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/0.4496, allocations: 41.58 kB / 486 MB, free: 3.293 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.21e-05/0.4496, allocations: 0 / 486 MB, free: 3.293 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.788e-05/0.4497, allocations: 337.5 kB / 486.3 MB, free: 2.965 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.487e-05/0.4498, allocations: 50.55 kB / 486.3 MB, free: 2.934 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/0.4499, allocations: 146.5 kB / 486.5 MB, free: 2.781 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001056/0.45, allocations: 62.38 kB / 486.6 MB, free: 2.742 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.45, allocations: 0 / 486.6 MB, free: 2.742 MB / 346.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005761/0.4506, allocations: 292.5 kB / 486.8 MB, free: 2.496 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/0.4506, allocations: 4 kB / 486.8 MB, free: 2.492 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.4506, allocations: 4 kB / 486.8 MB, free: 2.488 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001221/0.4507, allocations: 35.48 kB / 486.9 MB, free: 2.461 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002448/0.451, allocations: 63.89 kB / 486.9 MB, free: 2.398 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009082/0.4519, allocations: 1.32 MB / 488.3 MB, free: 1.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003062/0.4522, allocations: 63.75 kB / 488.3 MB, free: 0.957 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.026e-05/0.4523, allocations: 11.31 kB / 488.3 MB, free: 0.9492 MB / 346.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: integrator.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 (25): * Single equations (assignments): 23 * 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 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001021/0.4524, allocations: 116.2 kB / 488.5 MB, free: 0.832 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.115e-05/0.4524, allocations: 27.7 kB / 488.5 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.911e-05/0.4524, allocations: 19.66 kB / 488.5 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.4525, allocations: 4 kB / 488.5 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-06/0.4525, allocations: 0 / 488.5 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.4525, allocations: 8.109 kB / 488.5 MB, free: 0.793 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001808/0.4527, allocations: 270.5 kB / 488.8 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.4527, allocations: 0 / 488.8 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002028/0.4529, allocations: 43.91 kB / 488.8 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-05/0.453, allocations: 30.55 kB / 488.8 MB, free: 480 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.453, allocations: 3.984 kB / 488.8 MB, free: 476 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001005/0.454, allocations: 1.313 MB / 490.2 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.454, allocations: 0 / 490.2 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005913/0.4546, allocations: 307.4 kB / 490.5 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007698/0.4554, allocations: 0.7281 MB / 491.2 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.031e-05/0.4555, allocations: 96.28 kB / 491.3 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.96e-05/0.4555, allocations: 8.062 kB / 491.3 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002599/0.4558, allocations: 47.19 kB / 491.3 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.433e-05/0.4558, allocations: 15.28 kB / 491.4 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.4559, allocations: 4 kB / 491.4 MB, free: 14 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.000154/0.456, allocations: 167.7 kB / 491.5 MB, free: 13.87 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009075/0.4569, allocations: 63.84 kB / 491.6 MB, free: 13.8 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001921/0.4571, allocations: 120.3 kB / 491.7 MB, free: 13.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005168/0.4577, allocations: 261.8 kB / 492 MB, free: 13.46 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.4577, allocations: 0 / 492 MB, free: 13.46 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002149/0.4579, allocations: 161.8 kB / 492.1 MB, free: 13.32 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002796/0.4582, allocations: 39.52 kB / 492.2 MB, free: 13.29 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001727/0.4599, allocations: 0.5345 MB / 492.7 MB, free: 12.76 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004488/0.4604, allocations: 0.7822 MB / 493.5 MB, free: 11.95 MB / 362.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4604, allocations: 0 / 493.5 MB, free: 11.95 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Integrator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Integrator.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat does not exist to compare? outputFormat=mat