Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.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.SignalGenerator,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_SignalGenerator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_SignalGenerator",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.001168/0.001168, allocations: 183 kB / 8.133 MB, free: 2.211 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.192/1.192, allocations: 221.4 MB / 229.9 MB, free: 3.082 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.0009685/0.0009685, allocations: 102.7 kB / 280.8 MB, free: 1.273 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1021/0.1031, allocations: 55.82 MB / 336.6 MB, free: 9.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.313, allocations: 50.39 MB / 387 MB, free: 37.98 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08189/0.395, allocations: 78.29 MB / 465.3 MB, free: 8.496 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/0.3953, allocations: 79.89 kB / 465.4 MB, free: 8.418 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.01483/0.4101, allocations: 5.599 MB / 471 MB, free: 2.793 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.4102, allocations: 8 kB / 471 MB, free: 2.785 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.415e-05/0.4102, allocations: 39.53 kB / 471 MB, free: 2.746 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000373/0.4106, allocations: 283.1 kB / 471.3 MB, free: 2.426 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.4107, allocations: 8 kB / 471.3 MB, free: 2.418 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.977e-05/0.4107, allocations: 20 kB / 471.3 MB, free: 2.398 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003663/0.4111, allocations: 193.8 kB / 471.5 MB, free: 2.211 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004098/0.4115, allocations: 267.7 kB / 471.8 MB, free: 1.938 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.4115, allocations: 3.984 kB / 471.8 MB, free: 1.934 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.475e-05/0.4115, allocations: 0 / 471.8 MB, free: 1.934 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.4116, allocations: 8 kB / 471.8 MB, free: 1.926 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002028/0.4136, allocations: 1.246 MB / 473 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000403/0.414, allocations: 186.8 kB / 473.2 MB, free: 420 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002817/0.4143, allocations: 141.5 kB / 473.3 MB, free: 280 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.601e-05/0.4143, allocations: 8 kB / 473.4 MB, free: 272 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.87e-05/0.4144, allocations: 30.56 kB / 473.4 MB, free: 232 kB / 346.7 MB Notification: Performance of pre-optimization done (n=19): time 1.583e-06/0.4144, allocations: 0 / 473.4 MB, free: 232 kB / 346.7 MB Notification: Performance of matching and sorting (n=19): time 0.0009052/0.4153, allocations: 335.8 kB / 473.7 MB, free: 15.89 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.266e-05/0.4153, allocations: 51.41 kB / 473.8 MB, free: 15.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000196/0.4155, allocations: 216.1 kB / 474 MB, free: 15.61 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.4155, allocations: 25.7 kB / 474 MB, free: 15.58 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.41e-05/0.4156, allocations: 195.4 kB / 474.2 MB, free: 15.38 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.392e-05/0.4157, allocations: 63.09 kB / 474.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.05e-05/0.4157, allocations: 0 / 474.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.653e-05/0.4158, allocations: 330.8 kB / 474.6 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.798e-05/0.4159, allocations: 56 kB / 474.6 MB, free: 14.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001448/0.4161, allocations: 159.9 kB / 474.8 MB, free: 14.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/0.4162, allocations: 74.7 kB / 474.9 MB, free: 14.66 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4162, allocations: 0 / 474.9 MB, free: 14.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009408/0.4171, allocations: 417.5 kB / 475.3 MB, free: 14.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003378/0.4175, allocations: 1.217 MB / 476.5 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.4175, allocations: 8.719 kB / 476.5 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002632/0.4178, allocations: 81.62 kB / 476.6 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001986/0.418, allocations: 59.91 kB / 476.6 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001967/0.42, allocations: 1.997 MB / 478.6 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002647/0.4202, allocations: 40.7 kB / 478.7 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.968e-05/0.4203, allocations: 8 kB / 478.7 MB, free: 10.6 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.376e-06/0.4203, allocations: 4 kB / 478.7 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006128/0.4209, allocations: 285.6 kB / 479 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.882e-06/0.4209, allocations: 4 kB / 479 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001201/0.421, allocations: 55.08 kB / 479 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002124/0.4213, allocations: 63.91 kB / 479.1 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00171/0.423, allocations: 2.544 MB / 481.6 MB, free: 7.406 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000205/0.4232, allocations: 27.81 kB / 481.6 MB, free: 7.379 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/0.4232, allocations: 12.06 kB / 481.7 MB, free: 7.367 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 1} Notification: Performance of prepare postOptimizeDAE: time 9.36e-05/0.4233, allocations: 112.9 kB / 481.8 MB, free: 7.25 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.503e-05/0.4234, allocations: 24.47 kB / 481.8 MB, free: 7.227 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.896e-05/0.4235, allocations: 29.8 kB / 481.8 MB, free: 7.199 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.4235, allocations: 4 kB / 481.8 MB, free: 7.195 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.4235, allocations: 0 / 481.8 MB, free: 7.195 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.4235, allocations: 0 / 481.8 MB, free: 7.195 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001175/0.4247, allocations: 0.6838 MB / 482.5 MB, free: 6.461 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.4247, allocations: 0 / 482.5 MB, free: 6.461 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001356/0.4248, allocations: 27.98 kB / 482.5 MB, free: 6.434 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000179/0.425, allocations: 70.77 kB / 482.6 MB, free: 6.359 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.425, allocations: 0 / 482.6 MB, free: 6.359 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003027/0.4281, allocations: 3.033 MB / 485.6 MB, free: 3.105 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.4281, allocations: 3.906 kB / 485.6 MB, free: 3.102 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009439/0.429, allocations: 0.4922 MB / 486.1 MB, free: 2.59 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001244/0.4303, allocations: 0.9297 MB / 487.1 MB, free: 1.637 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.4304, allocations: 104.8 kB / 487.2 MB, free: 1.516 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.009e-05/0.4305, allocations: 4 kB / 487.2 MB, free: 1.512 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002793/0.4308, allocations: 31.97 kB / 487.2 MB, free: 1.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.703e-05/0.4308, allocations: 8 kB / 487.2 MB, free: 1.473 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.76e-05/0.4308, allocations: 11.92 kB / 487.2 MB, free: 1.461 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.000183/0.431, allocations: 156.5 kB / 487.4 MB, free: 1.312 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001875/0.4329, allocations: 151.4 kB / 487.5 MB, free: 1.164 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.000178/0.4331, allocations: 107.2 kB / 487.6 MB, free: 1.047 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001162/0.4343, allocations: 0.6657 MB / 488.3 MB, free: 360 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.4343, allocations: 0 / 488.3 MB, free: 360 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006113/0.4349, allocations: 368.1 kB / 488.7 MB, free: 15.97 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00031/0.4352, allocations: 32.36 kB / 488.7 MB, free: 15.94 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00089/0.4361, allocations: 401.3 kB / 489.1 MB, free: 15.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003753/0.4365, allocations: 0.7951 MB / 489.9 MB, free: 14.7 MB / 378.7 MB Notification: Performance of SimCode: time 3e-07/0.4365, allocations: 0 / 489.9 MB, free: 14.7 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_SignalGenerator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_SignalGenerator.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator_res.mat does not exist to compare? outputFormat=mat