Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.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.VoltageFollower,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower",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.001537/0.001537, allocations: 188.3 kB / 8.141 MB, free: 2.191 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.14/1.14, allocations: 221.4 MB / 229.9 MB, free: 3.137 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.0008875/0.0008875, allocations: 104.7 kB / 280.8 MB, free: 1.27 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09763/0.09856, allocations: 55.83 MB / 336.6 MB, free: 9.418 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1939/0.2925, allocations: 50.39 MB / 387 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08334/0.3759, allocations: 79.9 MB / 466.9 MB, free: 6.867 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001954/0.3761, allocations: 75.95 kB / 467 MB, free: 6.793 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.01649/0.3926, allocations: 6.11 MB / 473.1 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.084e-05/0.3927, allocations: 8 kB / 473.1 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.926e-05/0.3927, allocations: 32.52 kB / 473.1 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003169/0.3931, allocations: 266.9 kB / 473.4 MB, free: 312 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.3931, allocations: 8 kB / 473.4 MB, free: 304 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.189e-05/0.3931, allocations: 12 kB / 473.4 MB, free: 292 kB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002708/0.3934, allocations: 148.8 kB / 473.6 MB, free: 144 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000312/0.3937, allocations: 193.1 kB / 473.8 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.3937, allocations: 0 / 473.8 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.199e-05/0.3938, allocations: 4 kB / 473.8 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.3938, allocations: 4 kB / 473.8 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001606/0.3954, allocations: 0.9524 MB / 474.7 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/0.3964, allocations: 371.6 kB / 475.1 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.609e-05/0.3965, allocations: 44.86 kB / 475.1 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.609e-05/0.3965, allocations: 224 / 475.1 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001664/0.3967, allocations: 116.5 kB / 475.2 MB, free: 14.35 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.423e-06/0.3967, allocations: 3.938 kB / 475.2 MB, free: 14.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005259/0.3973, allocations: 186.2 kB / 475.4 MB, free: 14.15 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.367e-05/0.3973, allocations: 106.8 kB / 475.5 MB, free: 14.02 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000246/0.3976, allocations: 217 kB / 475.7 MB, free: 13.8 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/0.3976, allocations: 29.7 kB / 475.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.3977, allocations: 171.5 kB / 475.9 MB, free: 13.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.026e-05/0.3978, allocations: 35.61 kB / 476 MB, free: 13.56 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.21e-05/0.3978, allocations: 0 / 476 MB, free: 13.56 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.3979, allocations: 334.8 kB / 476.3 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.425e-05/0.398, allocations: 44 kB / 476.3 MB, free: 13.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.3982, allocations: 153.5 kB / 476.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001056/0.3983, allocations: 59.95 kB / 476.5 MB, free: 12.92 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3983, allocations: 0.9375 kB / 476.5 MB, free: 12.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005876/0.3989, allocations: 277.7 kB / 476.8 MB, free: 12.64 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.3989, allocations: 4 kB / 476.8 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.3989, allocations: 4 kB / 476.8 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001262/0.3991, allocations: 36.75 kB / 476.9 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002391/0.3993, allocations: 59.94 kB / 476.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001186/0.4005, allocations: 1.294 MB / 478.2 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003511/0.4009, allocations: 63.81 kB / 478.3 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.208e-05/0.4009, allocations: 12 kB / 478.3 MB, free: 11.06 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (24): * Single equations (assignments): 22 * 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 8.909e-05/0.401, allocations: 116.9 kB / 478.4 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.414e-05/0.401, allocations: 24.47 kB / 478.4 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.697e-05/0.4011, allocations: 17.72 kB / 478.4 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.4011, allocations: 4 kB / 478.4 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.4011, allocations: 0.9375 kB / 478.4 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.4011, allocations: 7.891 kB / 478.5 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007534/0.4019, allocations: 0.5123 MB / 479 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.4019, allocations: 0 / 479 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001633/0.402, allocations: 39.91 kB / 479 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.287e-05/0.4021, allocations: 24.84 kB / 479 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.4021, allocations: 0.9375 kB / 479 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001083/0.4032, allocations: 1.295 MB / 480.3 MB, free: 8.855 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.4032, allocations: 0 / 480.3 MB, free: 8.855 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004816/0.4037, allocations: 291.7 kB / 480.6 MB, free: 8.555 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005648/0.4043, allocations: 0.6537 MB / 481.3 MB, free: 7.879 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.745e-05/0.4044, allocations: 100.8 kB / 481.4 MB, free: 7.762 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.988e-05/0.4044, allocations: 4 kB / 481.4 MB, free: 7.758 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002918/0.4047, allocations: 44.89 kB / 481.4 MB, free: 7.715 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.159e-05/0.4048, allocations: 15.98 kB / 481.4 MB, free: 7.699 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.4048, allocations: 11.89 kB / 481.4 MB, free: 7.688 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.000157/0.405, allocations: 173.2 kB / 481.6 MB, free: 7.52 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009434/0.4059, allocations: 55.84 kB / 481.7 MB, free: 7.465 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (9): * Single equations (assignments): 6 * 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.0001447/0.4061, allocations: 99.25 kB / 481.8 MB, free: 7.355 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000399/0.4065, allocations: 252.9 kB / 482 MB, free: 7.094 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4065, allocations: 4.312 kB / 482 MB, free: 7.09 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001781/0.4067, allocations: 149.7 kB / 482.2 MB, free: 6.934 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.407, allocations: 33.61 kB / 482.2 MB, free: 6.906 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000651/0.4076, allocations: 253.1 kB / 482.4 MB, free: 6.637 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004025/0.4081, allocations: 0.7787 MB / 483.2 MB, free: 5.832 MB / 362.7 MB Notification: Performance of SimCode: time 2.8e-07/0.4081, allocations: 4 kB / 483.2 MB, free: 5.828 MB / 362.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat does not exist to compare? outputFormat=mat