Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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.LowPass,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LowPass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LowPass",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.001086/0.001086, allocations: 199.2 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.14/1.14, allocations: 225.5 MB / 234.4 MB, free: 3.453 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009097/0.0009096, allocations: 91.09 kB / 286.3 MB, free: 5.227 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09506/0.096, allocations: 56.92 MB / 343.3 MB, free: 8.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09291/0.1889, allocations: 51.47 MB / 394.7 MB, free: 5.141 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2271/0.4161, allocations: 81.7 MB / 476.4 MB, free: 11.18 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002023/0.4164, allocations: 79.36 kB / 476.5 MB, free: 11.15 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.01748/0.4338, allocations: 7.385 MB / 483.9 MB, free: 5.414 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.4339, allocations: 8 kB / 483.9 MB, free: 5.406 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.763e-05/0.434, allocations: 39.53 kB / 483.9 MB, free: 5.367 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003531/0.4343, allocations: 308 kB / 484.2 MB, free: 5.07 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.4344, allocations: 8 kB / 484.2 MB, free: 5.062 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.588e-05/0.4344, allocations: 19.56 kB / 484.3 MB, free: 5.047 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003399/0.4348, allocations: 195.8 kB / 484.4 MB, free: 4.938 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003658/0.4351, allocations: 259.1 kB / 484.7 MB, free: 4.742 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.4352, allocations: 4 kB / 484.7 MB, free: 4.738 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.624e-05/0.4352, allocations: 0 / 484.7 MB, free: 4.738 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.4352, allocations: 4 kB / 484.7 MB, free: 4.734 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001907/0.4371, allocations: 1.273 MB / 486 MB, free: 3.629 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001948/0.4373, allocations: 145.8 kB / 486.1 MB, free: 3.527 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001797/0.4375, allocations: 105.5 kB / 486.2 MB, free: 3.457 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.4375, allocations: 4 kB / 486.2 MB, free: 3.453 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001604/0.4377, allocations: 134.2 kB / 486.4 MB, free: 3.332 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 1.292e-06/0.4377, allocations: 0 / 486.4 MB, free: 3.332 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.000553/0.4383, allocations: 254.5 kB / 486.6 MB, free: 3.117 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.4383, allocations: 102.8 kB / 486.7 MB, free: 2.992 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000195/0.4385, allocations: 233.4 kB / 486.9 MB, free: 2.809 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.4386, allocations: 29.7 kB / 487 MB, free: 2.773 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.293e-05/0.4386, allocations: 191.9 kB / 487.2 MB, free: 2.598 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.242e-05/0.4387, allocations: 50.02 kB / 487.2 MB, free: 2.555 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.252e-05/0.4387, allocations: 0 / 487.2 MB, free: 2.555 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.659e-05/0.4387, allocations: 340.1 kB / 487.5 MB, free: 2.227 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.4388, allocations: 64.53 kB / 487.6 MB, free: 2.188 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.439, allocations: 157.4 kB / 487.7 MB, free: 2.027 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001135/0.4391, allocations: 80.52 kB / 487.8 MB, free: 1.98 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4391, allocations: 0 / 487.8 MB, free: 1.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005897/0.4397, allocations: 334.9 kB / 488.2 MB, free: 1.707 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/0.4397, allocations: 8 kB / 488.2 MB, free: 1.699 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.4397, allocations: 0 / 488.2 MB, free: 1.699 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001248/0.4399, allocations: 40.47 kB / 488.2 MB, free: 1.664 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003142/0.4402, allocations: 81.95 kB / 488.3 MB, free: 1.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008903/0.4411, allocations: 1.32 MB / 489.6 MB, free: 220 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003355/0.4414, allocations: 63.8 kB / 489.7 MB, free: 156 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.35e-05/0.4415, allocations: 17.81 kB / 489.7 MB, free: 144 kB / 346.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: firstOrder.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 (31): * Single equations (assignments): 29 * 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.0001019/0.4416, allocations: 112.9 kB / 489.8 MB, free: 24 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.258e-05/0.4416, allocations: 23.72 kB / 489.8 MB, free: 0 / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.682e-05/0.4417, allocations: 29.56 kB / 489.8 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.4417, allocations: 4 kB / 489.8 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.4417, allocations: 0 / 489.8 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.4417, allocations: 0 / 489.8 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009515/0.4427, allocations: 0.6486 MB / 490.5 MB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.4427, allocations: 0 / 490.5 MB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002578/0.443, allocations: 63.58 kB / 490.6 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.026e-05/0.443, allocations: 28.39 kB / 490.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.015e-05/0.4431, allocations: 7.984 kB / 490.6 MB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001064/0.4441, allocations: 1.316 MB / 491.9 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.4442, allocations: 0 / 491.9 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006732/0.4448, allocations: 438.1 kB / 492.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008461/0.4457, allocations: 0.8727 MB / 493.2 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.818e-05/0.4458, allocations: 109 kB / 493.3 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.803e-05/0.4458, allocations: 8.844 kB / 493.3 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003159/0.4462, allocations: 44.02 kB / 493.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.933e-05/0.4462, allocations: 22.06 kB / 493.4 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.4462, allocations: 4 kB / 493.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001755/0.4464, allocations: 187.2 kB / 493.6 MB, free: 12.45 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009007/0.4473, allocations: 75.75 kB / 493.7 MB, free: 12.38 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (firstOrder.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 (16): * Single equations (assignments): 13 * 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.0001312/0.4475, allocations: 115.7 kB / 493.8 MB, free: 12.26 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004183/0.4479, allocations: 294.8 kB / 494.1 MB, free: 12.02 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.4479, allocations: 4.688 kB / 494.1 MB, free: 12.01 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002052/0.4481, allocations: 183.6 kB / 494.2 MB, free: 11.85 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002825/0.4484, allocations: 38.61 kB / 494.3 MB, free: 11.82 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00162/0.45, allocations: 0.5839 MB / 494.9 MB, free: 11.26 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004255/0.4505, allocations: 0.7982 MB / 495.7 MB, free: 10.43 MB / 362.7 MB Notification: Performance of SimCode: time 3.21e-07/0.4505, allocations: 0 / 495.7 MB, free: 10.43 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LowPass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LowPass.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat does not exist to compare? outputFormat=mat