Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.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.SignalGenerator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_SignalGenerator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.0012/0.0012, allocations: 203 kB / 8.542 MB, free: 1.809 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.168/1.168, allocations: 225.5 MB / 234.4 MB, free: 3.445 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007599/0.0007599, allocations: 91.12 kB / 286.3 MB, free: 5.207 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09793/0.09872, allocations: 56.92 MB / 343.3 MB, free: 8.664 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0928/0.1915, allocations: 51.48 MB / 394.7 MB, free: 5.141 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2249/0.4165, allocations: 79.1 MB / 473.8 MB, free: 13.12 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001709/0.4167, allocations: 73.81 kB / 473.9 MB, free: 13.1 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.01297/0.4297, allocations: 5.649 MB / 479.5 MB, free: 9.461 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3e-05/0.4298, allocations: 8 kB / 479.6 MB, free: 9.453 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.536e-05/0.4298, allocations: 35.53 kB / 479.6 MB, free: 9.418 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003052/0.4302, allocations: 282.8 kB / 479.9 MB, free: 9.129 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.4302, allocations: 16 kB / 479.9 MB, free: 9.113 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.768e-05/0.4302, allocations: 16.94 kB / 479.9 MB, free: 9.098 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003162/0.4305, allocations: 201.6 kB / 480.1 MB, free: 8.977 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003422/0.4309, allocations: 260.1 kB / 480.4 MB, free: 8.773 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.4309, allocations: 0 / 480.4 MB, free: 8.773 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.556e-05/0.4309, allocations: 4 kB / 480.4 MB, free: 8.77 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.431, allocations: 7.984 kB / 480.4 MB, free: 8.762 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001803/0.4328, allocations: 1.249 MB / 481.6 MB, free: 7.637 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003752/0.4332, allocations: 178.9 kB / 481.8 MB, free: 7.504 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002575/0.4334, allocations: 140.9 kB / 481.9 MB, free: 7.395 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.521e-05/0.4335, allocations: 4 kB / 481.9 MB, free: 7.391 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.562e-05/0.4335, allocations: 37.5 kB / 482 MB, free: 7.352 MB / 346.7 MB Notification: Performance of pre-optimization done (n=19): time 1.693e-06/0.4335, allocations: 0 / 482 MB, free: 7.352 MB / 346.7 MB Notification: Performance of matching and sorting (n=19): time 0.0008153/0.4343, allocations: 328.2 kB / 482.3 MB, free: 7.062 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.022e-05/0.4343, allocations: 55.41 kB / 482.3 MB, free: 6.996 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.4345, allocations: 211.5 kB / 482.5 MB, free: 6.82 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.4345, allocations: 25.7 kB / 482.6 MB, free: 6.789 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.511e-05/0.4346, allocations: 199.9 kB / 482.8 MB, free: 6.605 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.335e-05/0.4346, allocations: 62.03 kB / 482.8 MB, free: 6.551 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.058e-05/0.4347, allocations: 0 / 482.8 MB, free: 6.551 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.59e-05/0.4347, allocations: 332.3 kB / 483.2 MB, free: 6.227 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.305e-05/0.4348, allocations: 59.23 kB / 483.2 MB, free: 6.191 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001121/0.4349, allocations: 148.2 kB / 483.4 MB, free: 6.035 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001099/0.4351, allocations: 75.52 kB / 483.4 MB, free: 5.988 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.4351, allocations: 7.984 kB / 483.4 MB, free: 5.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008349/0.4359, allocations: 409.9 kB / 483.8 MB, free: 5.629 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001941/0.4361, allocations: 1.219 MB / 485.1 MB, free: 4.336 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.4361, allocations: 7.828 kB / 485.1 MB, free: 4.332 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003143/0.4364, allocations: 80.94 kB / 485.1 MB, free: 4.266 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002006/0.4367, allocations: 55.91 kB / 485.2 MB, free: 4.211 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001656/0.4383, allocations: 1.996 MB / 487.2 MB, free: 2.156 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002551/0.4386, allocations: 47.73 kB / 487.2 MB, free: 2.109 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.083e-05/0.4386, allocations: 15.38 kB / 487.3 MB, free: 2.098 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.092e-06/0.4386, allocations: 4 kB / 487.3 MB, free: 2.094 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005297/0.4392, allocations: 275.4 kB / 487.5 MB, free: 1.867 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.4392, allocations: 4 kB / 487.5 MB, free: 1.863 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000112/0.4393, allocations: 51.83 kB / 487.6 MB, free: 1.816 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001946/0.4395, allocations: 59.91 kB / 487.6 MB, free: 1.758 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001628/0.4411, allocations: 2.551 MB / 490.2 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002163/0.4414, allocations: 29.56 kB / 490.2 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.106e-05/0.4414, allocations: 12 kB / 490.2 MB, free: 15.02 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 0.0001066/0.4415, allocations: 116.1 kB / 490.3 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.88e-05/0.4416, allocations: 19.72 kB / 490.4 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.608e-05/0.4416, allocations: 27.58 kB / 490.4 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.4416, allocations: 0 / 490.4 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.4417, allocations: 0 / 490.4 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.4417, allocations: 8 kB / 490.4 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001245/0.4429, allocations: 0.6821 MB / 491.1 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.4429, allocations: 4 kB / 491.1 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001385/0.4431, allocations: 30.64 kB / 491.1 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000182/0.4433, allocations: 70.19 kB / 491.2 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.4433, allocations: 7.312 kB / 491.2 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003131/0.4464, allocations: 3.029 MB / 494.2 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.4465, allocations: 4.062 kB / 494.2 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009398/0.4474, allocations: 0.4903 MB / 494.7 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001158/0.4486, allocations: 0.9306 MB / 495.6 MB, free: 9.781 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.129e-05/0.4487, allocations: 100.8 kB / 495.7 MB, free: 9.664 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.662e-05/0.4487, allocations: 0 / 495.7 MB, free: 9.664 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002548/0.449, allocations: 32.03 kB / 495.8 MB, free: 9.633 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.75e-05/0.449, allocations: 11.73 kB / 495.8 MB, free: 9.625 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.449, allocations: 7.938 kB / 495.8 MB, free: 9.617 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001459/0.4492, allocations: 160.6 kB / 495.9 MB, free: 9.484 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002173/0.4514, allocations: 159.4 kB / 496.1 MB, free: 9.328 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.0001813/0.4516, allocations: 99.25 kB / 496.2 MB, free: 9.219 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001438/0.453, allocations: 0.6647 MB / 496.9 MB, free: 8.602 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.453, allocations: 1.5 kB / 496.9 MB, free: 8.602 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006453/0.4537, allocations: 373.7 kB / 497.2 MB, free: 8.242 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.454, allocations: 30.42 kB / 497.3 MB, free: 8.223 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000967/0.455, allocations: 393.6 kB / 497.6 MB, free: 7.852 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004269/0.4554, allocations: 0.7951 MB / 498.4 MB, free: 7.035 MB / 362.7 MB Notification: Performance of SimCode: time 4.61e-07/0.4554, allocations: 4 kB / 498.4 MB, free: 7.031 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_SignalGenerator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_SignalGenerator.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator_res.mat does not exist to compare? outputFormat=mat