Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/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 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001601/0.0016, allocations: 180.4 kB / 8.192 MB, free: 2.168 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.646/1.646, allocations: 205.2 MB / 213.8 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001234/0.001234, allocations: 85.55 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09395/0.09395, allocations: 12.58 MB / 322.3 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.534e-06/7.674e-06, allocations: 0 / 378.4 MB, free: 76.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08374/0.08378, allocations: 50.38 MB / 428.7 MB, free: 25.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2753/0.3591, allocations: 78.83 MB / 0.4957 GB, free: 11.57 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002046/0.3594, allocations: 65.28 kB / 0.4957 GB, free: 11.57 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.008404/0.3678, allocations: 1.815 MB / 0.4975 GB, free: 11.45 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.492e-05/0.3678, allocations: 7.844 kB / 0.4975 GB, free: 11.45 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.000386/0.3682, allocations: 377.6 kB / 0.4979 GB, free: 11.07 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.3683, allocations: 7.688 kB / 0.4979 GB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.922e-05/0.3684, allocations: 15.5 kB / 0.4979 GB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002677/0.3686, allocations: 206.6 kB / 0.4981 GB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.3687, allocations: 5.656 kB / 0.4981 GB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.3687, allocations: 3.875 kB / 0.4981 GB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001461/0.3689, allocations: 43.39 kB / 0.4981 GB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004499/0.3693, allocations: 209.3 kB / 0.4983 GB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.3693, allocations: 8.688 kB / 0.4984 GB, free: 10.76 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.3694, allocations: 0 / 0.4984 GB, free: 10.76 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.3694, allocations: 3.938 kB / 0.4984 GB, free: 10.76 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004238/0.3698, allocations: 285.1 kB / 0.4986 GB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002507/0.3701, allocations: 128.5 kB / 0.4988 GB, free: 10.43 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001501/0.3702, allocations: 78.73 kB / 0.4988 GB, free: 10.4 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.835e-05/0.3703, allocations: 9.234 kB / 0.4988 GB, free: 10.4 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.754e-05/0.3703, allocations: 37.94 kB / 0.4989 GB, free: 10.36 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 2.274e-06/0.3703, allocations: 3.938 kB / 0.4989 GB, free: 10.35 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003296/0.3707, allocations: 116.7 kB / 0.499 GB, free: 10.31 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.761e-05/0.3708, allocations: 115.2 kB / 0.4991 GB, free: 10.18 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.466e-05/0.3709, allocations: 113.4 kB / 0.4992 GB, free: 10.09 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.3709, allocations: 25.7 kB / 0.4992 GB, free: 10.06 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.942e-05/0.3709, allocations: 166.7 kB / 0.4994 GB, free: 9.898 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.658e-05/0.371, allocations: 10.84 kB / 0.4994 GB, free: 9.898 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.943e-06/0.371, allocations: 0 / 0.4994 GB, free: 9.898 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.68e-05/0.371, allocations: 321.8 kB / 0.4997 GB, free: 9.582 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.065e-05/0.3711, allocations: 18.88 kB / 0.4997 GB, free: 9.582 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.649e-05/0.3712, allocations: 122.5 kB / 0.4998 GB, free: 9.441 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.794e-05/0.3713, allocations: 39.16 kB / 0.4999 GB, free: 9.434 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.3713, allocations: 0 / 0.4999 GB, free: 9.434 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002718/0.3716, allocations: 142 kB / 0.5 GB, free: 9.375 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.3716, allocations: 3.844 kB / 0.5 GB, free: 9.375 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.3716, allocations: 3.844 kB / 0.5 GB, free: 9.375 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/0.3717, allocations: 7.688 kB / 0.5 GB, free: 9.375 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002325/0.3719, allocations: 35.64 kB / 0.5001 GB, free: 9.371 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.3719, allocations: 8.953 kB / 0.5001 GB, free: 9.367 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001182/0.3721, allocations: 12.95 kB / 0.5001 GB, free: 9.363 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.3721, allocations: 7.844 kB / 0.5001 GB, free: 9.363 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 2 (fixedDelay.first,$CLKPRE.fixedDelay.first) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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 6.435e-05/0.3722, allocations: 42.58 kB / 0.5001 GB, free: 9.324 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002255/0.3724, allocations: 101.8 kB / 0.5002 GB, free: 9.285 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.858e-05/0.3725, allocations: 13.52 kB / 0.5002 GB, free: 9.281 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.3725, allocations: 0 / 0.5002 GB, free: 9.281 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.3725, allocations: 11.69 kB / 0.5003 GB, free: 9.273 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.3725, allocations: 5.578 kB / 0.5003 GB, free: 9.27 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001782/0.3727, allocations: 168 kB / 0.5004 GB, free: 9.105 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.3727, allocations: 0 / 0.5004 GB, free: 9.105 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000227/0.373, allocations: 31.92 kB / 0.5004 GB, free: 9.105 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.373, allocations: 3.938 kB / 0.5005 GB, free: 9.102 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.373, allocations: 3.812 kB / 0.5005 GB, free: 9.102 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.373, allocations: 0 / 0.5005 GB, free: 9.102 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.373, allocations: 1.547 kB / 0.5005 GB, free: 9.102 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002648/0.3733, allocations: 259.8 kB / 0.5007 GB, free: 8.906 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.906e-05/0.3733, allocations: 94.03 kB / 0.5008 GB, free: 8.801 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.261e-05/0.3734, allocations: 0 / 0.5008 GB, free: 8.801 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.3735, allocations: 5.703 kB / 0.5008 GB, free: 8.801 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.713e-05/0.3736, allocations: 4 kB / 0.5008 GB, free: 8.797 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.3736, allocations: 9.062 kB / 0.5008 GB, free: 8.797 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.865e-05/0.3737, allocations: 95.53 kB / 0.5009 GB, free: 8.723 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003436/0.374, allocations: 12.77 kB / 0.5009 GB, free: 8.723 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (fixedDelay.first) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0001002/0.3741, allocations: 102.6 kB / 0.501 GB, free: 8.625 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002261/0.3744, allocations: 86.17 kB / 0.5011 GB, free: 8.613 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.3744, allocations: 4.125 kB / 0.5011 GB, free: 8.609 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.236e-05/0.3744, allocations: 3.844 kB / 0.5011 GB, free: 8.609 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005449/0.375, allocations: 69.2 kB / 0.5012 GB, free: 8.598 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007802/0.3758, allocations: 185.8 kB / 0.5013 GB, free: 8.469 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002237/0.376, allocations: 0.7369 MB / 0.5021 GB, free: 7.758 MB / 330.7 MB Notification: Performance of SimCode: time 2.194e-06/0.376, allocations: 0 / 0.5021 GB, free: 7.758 MB / 330.7 MB Notification: Performance of Templates: time 0.003719/0.3798, allocations: 1.391 MB / 0.5034 GB, free: 7.664 MB / 330.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay --alarm=480 > Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay.pipe 2>&1)