Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_LowPass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.0009975/0.0009975, allocations: 182.4 kB / 8.132 MB, free: 2.219 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.143/1.143, allocations: 221.4 MB / 229.9 MB, free: 3.078 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009183/0.0009183, allocations: 100.5 kB / 280.8 MB, free: 1.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1015/0.1025, allocations: 55.83 MB / 336.6 MB, free: 9.41 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1986/0.3012, allocations: 50.4 MB / 387 MB, free: 37.96 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08619/0.3874, allocations: 80.9 MB / 467.9 MB, free: 5.863 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002245/0.3877, allocations: 79.95 kB / 468 MB, free: 5.785 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.02022/0.4079, allocations: 7.356 MB / 475.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.408, allocations: 12 kB / 475.4 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001117/0.4081, allocations: 39.62 kB / 475.4 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004403/0.4085, allocations: 314 kB / 475.7 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.4086, allocations: 8 kB / 475.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.799e-05/0.4086, allocations: 16 kB / 475.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003974/0.409, allocations: 193.3 kB / 475.9 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004283/0.4095, allocations: 259.8 kB / 476.2 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.4095, allocations: 3.984 kB / 476.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.886e-05/0.4095, allocations: 4.844 kB / 476.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.645e-05/0.4095, allocations: 8 kB / 476.2 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002387/0.4119, allocations: 1.271 MB / 477.5 MB, free: 12.15 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002418/0.4122, allocations: 147.1 kB / 477.6 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002204/0.4124, allocations: 110.8 kB / 477.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.707e-05/0.4125, allocations: 4 kB / 477.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001975/0.4127, allocations: 126 kB / 477.8 MB, free: 11.74 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 2.064e-06/0.4127, allocations: 3.938 kB / 477.8 MB, free: 11.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006973/0.4134, allocations: 242.1 kB / 478.1 MB, free: 11.49 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.112e-05/0.4135, allocations: 106.7 kB / 478.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002741/0.4137, allocations: 233.1 kB / 478.4 MB, free: 11.12 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/0.4138, allocations: 29.7 kB / 478.4 MB, free: 11.09 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/0.4139, allocations: 187.9 kB / 478.6 MB, free: 10.9 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.121e-05/0.414, allocations: 63.12 kB / 478.7 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.333e-05/0.414, allocations: 0 / 478.7 MB, free: 10.84 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.4141, allocations: 334.8 kB / 479 MB, free: 10.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.4142, allocations: 68.28 kB / 479.1 MB, free: 10.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000185/0.4144, allocations: 156.8 kB / 479.2 MB, free: 10.23 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/0.4146, allocations: 82.06 kB / 479.3 MB, free: 10.16 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.4146, allocations: 0 / 479.3 MB, free: 10.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006952/0.4153, allocations: 325.4 kB / 479.6 MB, free: 9.832 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.4153, allocations: 8 kB / 479.6 MB, free: 9.824 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.4153, allocations: 5.344 kB / 479.6 MB, free: 9.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001804/0.4155, allocations: 41.66 kB / 479.7 MB, free: 9.777 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003508/0.4159, allocations: 75.89 kB / 479.8 MB, free: 9.699 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00133/0.4172, allocations: 1.319 MB / 481.1 MB, free: 8.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003774/0.4176, allocations: 67.8 kB / 481.1 MB, free: 8.203 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.667e-05/0.4176, allocations: 8 kB / 481.2 MB, free: 8.195 MB / 362.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.0001428/0.4178, allocations: 119.6 kB / 481.3 MB, free: 8.074 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.21e-05/0.4178, allocations: 24.75 kB / 481.3 MB, free: 8.051 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.196e-05/0.4179, allocations: 29.89 kB / 481.3 MB, free: 8.023 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.4179, allocations: 1 kB / 481.3 MB, free: 8.023 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.983e-06/0.4179, allocations: 4 kB / 481.3 MB, free: 8.02 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.4179, allocations: 7.984 kB / 481.3 MB, free: 8.012 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009935/0.4189, allocations: 0.637 MB / 482 MB, free: 7.324 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.419, allocations: 32 / 482 MB, free: 7.324 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000262/0.4192, allocations: 55.95 kB / 482 MB, free: 7.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.072e-05/0.4193, allocations: 28.86 kB / 482.1 MB, free: 7.238 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.494e-05/0.4193, allocations: 12.86 kB / 482.1 MB, free: 7.227 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001106/0.4205, allocations: 1.319 MB / 483.4 MB, free: 5.793 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.4205, allocations: 3.938 kB / 483.4 MB, free: 5.789 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006933/0.4212, allocations: 441.3 kB / 483.8 MB, free: 5.336 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000911/0.4221, allocations: 0.8779 MB / 484.7 MB, free: 4.426 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.933e-05/0.4222, allocations: 109.1 kB / 484.8 MB, free: 4.301 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.104e-05/0.4223, allocations: 4 kB / 484.8 MB, free: 4.297 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000331/0.4226, allocations: 43.94 kB / 484.9 MB, free: 4.254 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.713e-05/0.4227, allocations: 19.97 kB / 484.9 MB, free: 4.234 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.736e-05/0.4227, allocations: 11.98 kB / 484.9 MB, free: 4.223 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001686/0.4229, allocations: 181.2 kB / 485.1 MB, free: 4.047 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009425/0.4238, allocations: 79.69 kB / 485.1 MB, free: 3.969 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.0001525/0.424, allocations: 108.8 kB / 485.2 MB, free: 3.855 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004622/0.4245, allocations: 296.3 kB / 485.5 MB, free: 3.551 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.4245, allocations: 4 kB / 485.5 MB, free: 3.547 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002327/0.4247, allocations: 178.4 kB / 485.7 MB, free: 3.363 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.425, allocations: 40.47 kB / 485.8 MB, free: 3.324 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001698/0.4267, allocations: 0.5694 MB / 486.3 MB, free: 2.734 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004143/0.4272, allocations: 0.8059 MB / 487.1 MB, free: 1.902 MB / 362.7 MB Notification: Performance of SimCode: time 4.81e-07/0.4272, allocations: 4 kB / 487.1 MB, free: 1.898 MB / 362.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_LowPass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_LowPass.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat does not exist to compare? outputFormat=mat