Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.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.VoltageFollower,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001127/0.001127, 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.348 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000859/0.000859, allocations: 97.08 kB / 286.3 MB, free: 5.277 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09743/0.09833, allocations: 56.91 MB / 343.2 MB, free: 8.625 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08729/0.1856, allocations: 51.47 MB / 394.7 MB, free: 5.098 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2283/0.414, allocations: 80.69 MB / 475.4 MB, free: 11.59 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000173/0.4142, allocations: 74.78 kB / 475.5 MB, free: 11.56 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.01507/0.4293, allocations: 6.131 MB / 481.6 MB, free: 7.082 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.4293, allocations: 12 kB / 481.6 MB, free: 7.07 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.376e-05/0.4294, allocations: 31.62 kB / 481.7 MB, free: 7.039 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000293/0.4297, allocations: 275.1 kB / 481.9 MB, free: 6.758 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.4297, allocations: 8 kB / 481.9 MB, free: 6.75 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.094e-05/0.4298, allocations: 12 kB / 481.9 MB, free: 6.738 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002588/0.43, allocations: 141.7 kB / 482.1 MB, free: 6.652 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002813/0.4303, allocations: 190.5 kB / 482.3 MB, free: 6.504 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.4304, allocations: 4 kB / 482.3 MB, free: 6.5 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.421e-05/0.4304, allocations: 0 / 482.3 MB, free: 6.5 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.4304, allocations: 8 kB / 482.3 MB, free: 6.492 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001448/0.4319, allocations: 0.948 MB / 483.2 MB, free: 5.617 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008986/0.4328, allocations: 363.5 kB / 483.6 MB, free: 5.266 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.487e-05/0.4329, allocations: 55.98 kB / 483.6 MB, free: 5.23 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.4329, allocations: 4 kB / 483.6 MB, free: 5.227 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001513/0.433, allocations: 107.6 kB / 483.7 MB, free: 5.117 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.714e-06/0.4331, allocations: 0 / 483.7 MB, free: 5.117 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004762/0.4335, allocations: 192.2 kB / 483.9 MB, free: 4.945 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.991e-05/0.4336, allocations: 106.8 kB / 484 MB, free: 4.816 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.4338, allocations: 215.6 kB / 484.3 MB, free: 4.637 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.4338, allocations: 29.7 kB / 484.3 MB, free: 4.602 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.891e-05/0.4339, allocations: 172 kB / 484.4 MB, free: 4.445 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.246e-05/0.4339, allocations: 30.23 kB / 484.5 MB, free: 4.418 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.175e-05/0.4339, allocations: 6.156 kB / 484.5 MB, free: 4.414 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.687e-05/0.434, allocations: 332.8 kB / 484.8 MB, free: 4.09 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.62e-05/0.4341, allocations: 48.25 kB / 484.9 MB, free: 4.062 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.4342, allocations: 139.7 kB / 485 MB, free: 3.902 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.059e-05/0.4343, allocations: 59.14 kB / 485 MB, free: 3.863 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.4343, allocations: 4 kB / 485.1 MB, free: 3.859 MB / 346.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005336/0.4348, allocations: 271.8 kB / 485.3 MB, free: 3.621 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.4349, allocations: 11.94 kB / 485.3 MB, free: 3.609 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.4349, allocations: 4 kB / 485.3 MB, free: 3.605 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001235/0.435, allocations: 32.47 kB / 485.4 MB, free: 3.578 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002291/0.4352, allocations: 63.89 kB / 485.4 MB, free: 3.516 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009351/0.4362, allocations: 1.301 MB / 486.7 MB, free: 2.148 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003377/0.4365, allocations: 55.91 kB / 486.8 MB, free: 2.094 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.125e-05/0.4366, allocations: 11.98 kB / 486.8 MB, free: 2.082 MB / 346.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.029e-05/0.4366, allocations: 131.8 kB / 486.9 MB, free: 1.953 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.861e-05/0.4367, allocations: 19.81 kB / 486.9 MB, free: 1.934 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.054e-05/0.4367, allocations: 25.3 kB / 487 MB, free: 1.918 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.4367, allocations: 0 / 487 MB, free: 1.918 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.724e-06/0.4367, allocations: 7.844 kB / 487 MB, free: 1.91 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.4368, allocations: 0 / 487 MB, free: 1.91 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000642/0.4374, allocations: 0.5084 MB / 487.5 MB, free: 1.426 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.4374, allocations: 0 / 487.5 MB, free: 1.426 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001542/0.4376, allocations: 31.97 kB / 487.5 MB, free: 1.395 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.8e-05/0.4376, allocations: 28.67 kB / 487.5 MB, free: 1.371 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.4377, allocations: 3.984 kB / 487.5 MB, free: 1.367 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007729/0.4384, allocations: 1.285 MB / 488.8 MB, free: 12 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.4385, allocations: 3.938 kB / 488.8 MB, free: 8 kB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005333/0.439, allocations: 282.6 kB / 489.1 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000584/0.4396, allocations: 0.6621 MB / 489.8 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.528e-05/0.4397, allocations: 97.28 kB / 489.9 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.207e-05/0.4397, allocations: 4 kB / 489.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003019/0.44, allocations: 39.97 kB / 489.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.277e-05/0.4401, allocations: 23.56 kB / 489.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.4401, allocations: 0 / 489.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001426/0.4403, allocations: 171.9 kB / 490.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009186/0.4412, allocations: 55.84 kB / 490.2 MB, free: 14.72 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.0001337/0.4413, allocations: 116.3 kB / 490.3 MB, free: 14.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003756/0.4417, allocations: 241.5 kB / 490.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.4417, allocations: 4 kB / 490.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001714/0.4419, allocations: 153.5 kB / 490.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.4422, allocations: 37.89 kB / 490.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006417/0.4428, allocations: 254 kB / 490.9 MB, free: 13.96 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003332/0.4432, allocations: 0.7798 MB / 491.7 MB, free: 13.16 MB / 362.7 MB Notification: Performance of SimCode: time 2.8e-07/0.4432, allocations: 0 / 491.7 MB, free: 13.16 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower_res.mat does not exist to compare? outputFormat=mat