Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Electrical.Analog.TestGyrator,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestGyrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestGyrator,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestGyrator",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.001637/0.001637, allocations: 199.2 kB / 8.541 MB, free: 1.812 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.158/1.158, 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.0008563/0.0008564, allocations: 84.44 kB / 286.3 MB, free: 5.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1617/0.1617, allocations: 45.15 MB / 383.4 MB, free: 0.543 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1881/0.3499, allocations: 69.36 MB / 452.7 MB, free: 76.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08206/0.432, allocations: 63.24 MB / 0.5039 GB, free: 12.94 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2437/0.6757, allocations: 86.62 MB / 0.5885 GB, free: 140 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001558/0.6759, allocations: 63.09 kB / 0.5885 GB, free: 108 kB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.003437/0.6794, allocations: 1.608 MB / 0.5901 GB, free: 14.67 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.6794, allocations: 8 kB / 0.5901 GB, free: 14.66 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.359e-05/0.6795, allocations: 7.906 kB / 0.5901 GB, free: 14.66 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.6796, allocations: 178.9 kB / 0.5903 GB, free: 14.44 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.6796, allocations: 4 kB / 0.5903 GB, free: 14.44 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.605e-05/0.6796, allocations: 8 kB / 0.5903 GB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001217/0.6797, allocations: 48.78 kB / 0.5903 GB, free: 14.4 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.6799, allocations: 110 kB / 0.5904 GB, free: 14.3 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.6799, allocations: 0 / 0.5904 GB, free: 14.3 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.6799, allocations: 0 / 0.5904 GB, free: 14.3 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.6799, allocations: 4 kB / 0.5904 GB, free: 14.3 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000668/0.6806, allocations: 0.6823 MB / 0.5911 GB, free: 13.61 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.858e-05/0.6807, allocations: 169.1 kB / 0.5913 GB, free: 13.44 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.066e-05/0.6807, allocations: 84.14 kB / 0.5913 GB, free: 13.35 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.6808, allocations: 79.19 kB / 0.5914 GB, free: 13.27 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.485e-05/0.6808, allocations: 113.8 kB / 0.5915 GB, free: 13.15 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.6808, allocations: 0 / 0.5915 GB, free: 13.15 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 7.095e-05/0.6809, allocations: 29.7 kB / 0.5916 GB, free: 13.12 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.211e-05/0.6809, allocations: 54.84 kB / 0.5916 GB, free: 13.05 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.753e-05/0.681, allocations: 111.1 kB / 0.5917 GB, free: 12.95 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.681, allocations: 25.7 kB / 0.5917 GB, free: 12.91 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.539e-05/0.6811, allocations: 130.7 kB / 0.5919 GB, free: 12.79 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.723e-06/0.6811, allocations: 0 / 0.5919 GB, free: 12.79 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-06/0.6811, allocations: 0 / 0.5919 GB, free: 12.79 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.273e-05/0.6812, allocations: 322.8 kB / 0.5922 GB, free: 12.46 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.296e-05/0.6812, allocations: 7.812 kB / 0.5922 GB, free: 12.46 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.157e-05/0.6812, allocations: 37.91 kB / 0.5922 GB, free: 12.41 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.669e-05/0.6813, allocations: 14.88 kB / 0.5922 GB, free: 12.4 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.6813, allocations: 0 / 0.5922 GB, free: 12.4 MB / 394.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001195/0.6814, allocations: 64.47 kB / 0.5923 GB, free: 12.33 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.898e-06/0.6814, allocations: 11.94 kB / 0.5923 GB, free: 12.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.6814, allocations: 0 / 0.5923 GB, free: 12.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.398e-06/0.6814, allocations: 0 / 0.5923 GB, free: 12.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.369e-05/0.6815, allocations: 15.98 kB / 0.5923 GB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.6815, allocations: 4.188 kB / 0.5923 GB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.015e-05/0.6816, allocations: 8.062 kB / 0.5923 GB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.6816, allocations: 11.03 kB / 0.5923 GB, free: 12.29 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.87e-05/0.6817, allocations: 184.2 kB / 0.5925 GB, free: 12.1 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.478e-05/0.6817, allocations: 101 kB / 0.5926 GB, free: 11.99 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.362e-05/0.6818, allocations: 108.5 kB / 0.5927 GB, free: 11.87 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.2e-05/0.6818, allocations: 188.1 kB / 0.5929 GB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.409e-05/0.6819, allocations: 187.4 kB / 0.5931 GB, free: 11.49 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.362e-05/0.682, allocations: 184.2 kB / 0.5933 GB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002009/0.6822, allocations: 407.8 kB / 0.5936 GB, free: 10.87 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.849e-05/0.6822, allocations: 101 kB / 0.5937 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.346e-05/0.6822, allocations: 101.4 kB / 0.5938 GB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.716e-05/0.6823, allocations: 188.2 kB / 0.594 GB, free: 10.47 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.095e-05/0.6824, allocations: 182.3 kB / 0.5942 GB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.509e-05/0.6824, allocations: 180.3 kB / 0.5944 GB, free: 10.1 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.433e-05/0.6825, allocations: 180.2 kB / 0.5945 GB, free: 9.918 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001098/0.6826, allocations: 311.3 kB / 0.5948 GB, free: 9.594 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002103/0.6828, allocations: 0.6714 MB / 0.5955 GB, free: 8.898 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.699e-05/0.6829, allocations: 186 kB / 0.5957 GB, free: 8.691 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.696e-05/0.683, allocations: 180.2 kB / 0.5958 GB, free: 8.508 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.876e-05/0.6831, allocations: 105 kB / 0.5959 GB, free: 8.398 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.64e-05/0.6831, allocations: 180.3 kB / 0.5961 GB, free: 8.215 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.848e-05/0.6832, allocations: 108.5 kB / 0.5962 GB, free: 8.105 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.953e-05/0.6832, allocations: 90.33 kB / 0.5963 GB, free: 8.02 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008562/0.6841, allocations: 19.84 kB / 0.5963 GB, free: 8 MB / 394.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 (0): * Single equations (assignments): 0 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001189/0.6842, allocations: 170.5 kB / 0.5965 GB, free: 7.824 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 6.709e-05/0.6843, allocations: 19.8 kB / 0.5965 GB, free: 7.809 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.6843, allocations: 0 / 0.5965 GB, free: 7.809 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.92e-07/0.6843, allocations: 0 / 0.5965 GB, free: 7.809 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.6846, allocations: 0.5223 MB / 0.597 GB, free: 7.285 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002287/0.6848, allocations: 182.3 kB / 0.5972 GB, free: 7.09 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002378/0.6851, allocations: 0.7075 MB / 0.5979 GB, free: 6.355 MB / 394.7 MB Notification: Performance of SimCode: time 2.61e-07/0.6851, allocations: 0 / 0.5979 GB, free: 6.355 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestGyrator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestGyrator.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator_res.mat does not exist to compare? outputFormat=mat