Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.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.Adder,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Adder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Adder,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Adder",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.001051/0.001051, 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.186/1.186, allocations: 225.5 MB / 234.4 MB, free: 3.363 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008602/0.0008603, allocations: 88.34 kB / 286.3 MB, free: 5.301 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0998/0.1007, allocations: 56.91 MB / 343.2 MB, free: 8.641 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08985/0.1906, allocations: 51.49 MB / 394.7 MB, free: 5.109 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.226/0.4165, allocations: 80.92 MB / 475.7 MB, free: 11.48 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001853/0.4168, allocations: 79.91 kB / 475.7 MB, free: 11.45 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.01353/0.4303, allocations: 5.994 MB / 481.7 MB, free: 7.094 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.4304, allocations: 8 kB / 481.7 MB, free: 7.086 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001892/0.4306, allocations: 51.52 kB / 481.8 MB, free: 7.035 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003251/0.4309, allocations: 299.8 kB / 482.1 MB, free: 6.742 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.4309, allocations: 8 kB / 482.1 MB, free: 6.734 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.329e-05/0.431, allocations: 24 kB / 482.1 MB, free: 6.711 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003457/0.4313, allocations: 200.2 kB / 482.3 MB, free: 6.598 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003755/0.4317, allocations: 276.8 kB / 482.6 MB, free: 6.391 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.4317, allocations: 0 / 482.6 MB, free: 6.391 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.777e-05/0.4317, allocations: 0 / 482.6 MB, free: 6.391 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.924e-06/0.4318, allocations: 15.19 kB / 482.6 MB, free: 6.379 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001647/0.4334, allocations: 1.233 MB / 483.8 MB, free: 5.324 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002568/0.4337, allocations: 144.1 kB / 484 MB, free: 5.219 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001485/0.4338, allocations: 87.22 kB / 484 MB, free: 5.156 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.4339, allocations: 0 / 484 MB, free: 5.156 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.681e-05/0.4339, allocations: 42.38 kB / 484.1 MB, free: 5.109 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 9.92e-07/0.4339, allocations: 0 / 484.1 MB, free: 5.109 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.000642/0.4345, allocations: 246.1 kB / 484.3 MB, free: 4.902 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.164e-05/0.4346, allocations: 56.53 kB / 484.4 MB, free: 4.836 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001928/0.4348, allocations: 223.3 kB / 484.6 MB, free: 4.656 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.4348, allocations: 25.7 kB / 484.6 MB, free: 4.625 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.598e-05/0.4349, allocations: 198.6 kB / 484.8 MB, free: 4.445 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.591e-05/0.4349, allocations: 50.89 kB / 484.9 MB, free: 4.402 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.022e-05/0.4349, allocations: 0 / 484.9 MB, free: 4.402 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.491e-05/0.435, allocations: 334.4 kB / 485.2 MB, free: 4.074 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.635e-05/0.4351, allocations: 51.12 kB / 485.2 MB, free: 4.047 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.4352, allocations: 132.2 kB / 485.4 MB, free: 3.91 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001122/0.4353, allocations: 70.47 kB / 485.4 MB, free: 3.867 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.4353, allocations: 0 / 485.4 MB, free: 3.867 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006145/0.4359, allocations: 331.5 kB / 485.8 MB, free: 3.59 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.436, allocations: 7.094 kB / 485.8 MB, free: 3.586 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.436, allocations: 4 kB / 485.8 MB, free: 3.582 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002428/0.4362, allocations: 74.48 kB / 485.9 MB, free: 3.527 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/0.4364, allocations: 39.92 kB / 485.9 MB, free: 3.488 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001553/0.4379, allocations: 1.71 MB / 487.6 MB, free: 1.836 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000194/0.4382, allocations: 39.61 kB / 487.6 MB, free: 1.797 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.865e-05/0.4382, allocations: 11.94 kB / 487.7 MB, free: 1.789 MB / 346.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: add.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * 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 7} Notification: Performance of prepare postOptimizeDAE: time 9.87e-05/0.4383, allocations: 113 kB / 487.8 MB, free: 1.672 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.881e-05/0.4383, allocations: 27.62 kB / 487.8 MB, free: 1.645 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.65e-05/0.4384, allocations: 21.33 kB / 487.8 MB, free: 1.633 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.4384, allocations: 4 kB / 487.8 MB, free: 1.629 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.4384, allocations: 0 / 487.8 MB, free: 1.629 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.4384, allocations: 5.359 kB / 487.8 MB, free: 1.625 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008006/0.4392, allocations: 0.6269 MB / 488.4 MB, free: 1.066 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.4392, allocations: 0 / 488.4 MB, free: 1.066 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.482e-05/0.4393, allocations: 12 kB / 488.5 MB, free: 1.055 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001619/0.4395, allocations: 62.25 kB / 488.5 MB, free: 1.008 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.4395, allocations: 3.984 kB / 488.5 MB, free: 1.004 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001537/0.4411, allocations: 1.711 MB / 490.2 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.4411, allocations: 3.906 kB / 490.2 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005676/0.4416, allocations: 348.1 kB / 490.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000639/0.4423, allocations: 0.7202 MB / 491.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.87e-05/0.4424, allocations: 100.1 kB / 491.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.328e-05/0.4424, allocations: 6.062 kB / 491.4 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002162/0.4426, allocations: 23.97 kB / 491.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.995e-05/0.4427, allocations: 8 kB / 491.4 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/0.4427, allocations: 14.36 kB / 491.4 MB, free: 14.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001434/0.4428, allocations: 172.6 kB / 491.6 MB, free: 14.05 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009841/0.4438, allocations: 83.69 kB / 491.7 MB, free: 13.97 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001175/0.444, allocations: 98.56 kB / 491.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003998/0.4444, allocations: 258.4 kB / 492 MB, free: 13.65 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4444, allocations: 0 / 492 MB, free: 13.65 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002165/0.4446, allocations: 181.6 kB / 492.2 MB, free: 13.49 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002483/0.4449, allocations: 37.39 kB / 492.3 MB, free: 13.46 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008256/0.4457, allocations: 360.2 kB / 492.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003649/0.4461, allocations: 0.7982 MB / 493.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of SimCode: time 1.373e-06/0.4461, allocations: 0 / 493.4 MB, free: 12.29 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Adder_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Adder.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.mat does not exist to compare? outputFormat=mat