Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC") [: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 3.2.3+maint.om/package.mo): time 0.0009933/0.0009934, allocations: 193.5 kB / 7.848 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.17/1.17, allocations: 205.2 MB / 213.4 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008672/0.0008672, allocations: 90.95 kB / 261.5 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06342/0.06342, allocations: 12.59 MB / 322 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 6.703e-06/6.813e-06, allocations: 0 / 378.4 MB, free: 75.63 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08139/0.08142, allocations: 50.38 MB / 428.8 MB, free: 25.29 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2864/0.3679, allocations: 79.41 MB / 0.4963 GB, free: 11.66 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001822/0.3682, allocations: 60.88 kB / 0.4963 GB, free: 11.66 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.01617/0.3844, allocations: 5.832 MB / 0.502 GB, free: 11.09 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.444e-05/0.3844, allocations: 7.125 kB / 0.502 GB, free: 11.09 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0006566/0.3851, allocations: 0.5161 MB / 0.5025 GB, free: 10.62 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.3851, allocations: 7.719 kB / 0.5025 GB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.624e-05/0.3852, allocations: 42.94 kB / 0.5026 GB, free: 10.6 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005657/0.3858, allocations: 340.3 kB / 0.5029 GB, free: 10.33 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.3858, allocations: 7.719 kB / 0.5029 GB, free: 10.33 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.721e-05/0.3859, allocations: 11.22 kB / 0.5029 GB, free: 10.33 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002206/0.3861, allocations: 107.5 kB / 0.503 GB, free: 10.32 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007002/0.3868, allocations: 0.5249 MB / 0.5035 GB, free: 10.09 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.3868, allocations: 3.984 kB / 0.5035 GB, free: 10.08 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.31e-05/0.3869, allocations: 0 / 0.5035 GB, free: 10.08 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.3869, allocations: 7.812 kB / 0.5035 GB, free: 10.08 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000527/0.3874, allocations: 486.3 kB / 0.504 GB, free: 9.664 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004758/0.3879, allocations: 480.4 kB / 0.5045 GB, free: 9.344 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002248/0.3881, allocations: 186.8 kB / 0.5046 GB, free: 9.297 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004465/0.3886, allocations: 0.5888 MB / 0.5052 GB, free: 8.625 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.3886, allocations: 46.02 kB / 0.5053 GB, free: 8.578 MB / 330.7 MB Notification: Performance of pre-optimization done (n=44): time 1.713e-06/0.3886, allocations: 0 / 0.5053 GB, free: 8.578 MB / 330.7 MB Notification: Performance of matching and sorting (n=44): time 0.0004762/0.3891, allocations: 260.2 kB / 0.5055 GB, free: 8.504 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.261e-05/0.3892, allocations: 177.6 kB / 0.5057 GB, free: 8.305 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.3894, allocations: 182.8 kB / 0.5058 GB, free: 8.203 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.3894, allocations: 25.7 kB / 0.5059 GB, free: 8.172 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.19e-05/0.3894, allocations: 111.2 kB / 0.506 GB, free: 8.074 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.108e-05/0.3895, allocations: 38.28 kB / 0.506 GB, free: 8.055 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.075e-06/0.3895, allocations: 0 / 0.506 GB, free: 8.055 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.43e-05/0.3895, allocations: 344.5 kB / 0.5063 GB, free: 7.73 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.603e-05/0.3896, allocations: 45.89 kB / 0.5064 GB, free: 7.723 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001514/0.3898, allocations: 314.5 kB / 0.5067 GB, free: 7.355 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.3899, allocations: 105.5 kB / 0.5068 GB, free: 7.324 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.3899, allocations: 3.812 kB / 0.5068 GB, free: 7.324 MB / 330.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004189/0.3903, allocations: 316.5 kB / 0.5071 GB, free: 7.199 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.3904, allocations: 3.844 kB / 0.5071 GB, free: 7.199 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.3904, allocations: 11.22 kB / 0.5071 GB, free: 7.199 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.3904, allocations: 11.34 kB / 0.5071 GB, free: 7.199 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002386/0.3907, allocations: 98.67 kB / 0.5072 GB, free: 7.176 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.3907, allocations: 15.31 kB / 0.5072 GB, free: 7.172 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001974/0.3909, allocations: 38.7 kB / 0.5073 GB, free: 7.148 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.284e-05/0.3909, allocations: 25.5 kB / 0.5073 GB, free: 7.148 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 6 (sample1.noise.seedState[3],$CLKPRE.sample1.noise.seedState[3],sample1.noise.seedState[2],$CLKPRE.sample1.noise.seedState[2],sample1.noise.seedState[1],$CLKPRE.sample1.noise.seedState[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 47 * 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 9.012e-05/0.391, allocations: 136.8 kB / 0.5074 GB, free: 7.02 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003585/0.3914, allocations: 243.2 kB / 0.5076 GB, free: 6.949 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003855/0.3918, allocations: 258 kB / 0.5079 GB, free: 6.871 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.3918, allocations: 7.844 kB / 0.5079 GB, free: 6.867 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.3918, allocations: 3.875 kB / 0.5079 GB, free: 6.867 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.291e-06/0.3918, allocations: 3.984 kB / 0.5079 GB, free: 6.863 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002309/0.392, allocations: 246.4 kB / 0.5081 GB, free: 6.648 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.3921, allocations: 3.844 kB / 0.5081 GB, free: 6.648 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002933/0.3924, allocations: 84.5 kB / 0.5082 GB, free: 6.629 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.3924, allocations: 3.844 kB / 0.5082 GB, free: 6.629 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.986e-05/0.3924, allocations: 4 kB / 0.5082 GB, free: 6.625 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.3924, allocations: 3.844 kB / 0.5082 GB, free: 6.625 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.3924, allocations: 3.906 kB / 0.5082 GB, free: 6.621 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004024/0.3928, allocations: 0.4892 MB / 0.5087 GB, free: 6.293 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.921e-05/0.3929, allocations: 118.4 kB / 0.5088 GB, free: 6.172 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.189e-05/0.3929, allocations: 7.031 kB / 0.5088 GB, free: 6.172 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002189/0.3932, allocations: 15.52 kB / 0.5089 GB, free: 6.168 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.34e-05/0.3932, allocations: 7.844 kB / 0.5089 GB, free: 6.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.556e-05/0.3932, allocations: 22.64 kB / 0.5089 GB, free: 6.152 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001032/0.3933, allocations: 145.7 kB / 0.509 GB, free: 6.074 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004472/0.3938, allocations: 53.52 kB / 0.5091 GB, free: 6.062 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001577/0.394, allocations: 105.7 kB / 0.5092 GB, free: 5.973 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002947/0.3943, allocations: 219.6 kB / 0.5094 GB, free: 5.941 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3943, allocations: 7.938 kB / 0.5094 GB, free: 5.938 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.122e-05/0.3943, allocations: 7.828 kB / 0.5094 GB, free: 5.934 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006428/0.395, allocations: 221.9 kB / 0.5096 GB, free: 5.867 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/0.3962, allocations: 374.3 kB / 0.51 GB, free: 5.684 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003459/0.3965, allocations: 0.822 MB / 0.5108 GB, free: 4.926 MB / 330.7 MB Notification: Performance of SimCode: time 2.8e-07/0.3965, allocations: 0 / 0.5108 GB, free: 4.926 MB / 330.7 MB Notification: Performance of Templates: time 0.006896/0.4034, allocations: 3.091 MB / 0.5138 GB, free: 3.434 MB / 330.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC.pipe 2>&1)