Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock.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.TestSuperSampleClock,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock") [: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.001644/0.001644, allocations: 173.6 kB / 8.194 MB, free: 2.152 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.762/1.762, 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.00122/0.00122, allocations: 94.89 kB / 261.8 MB, free: 13.63 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.0951/0.0951, allocations: 12.59 MB / 322.4 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 9.639e-06/9.798e-06, allocations: 0 / 378.4 MB, free: 76.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08807/0.08811, allocations: 50.36 MB / 428.7 MB, free: 25.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3012/0.3894, allocations: 75.35 MB / 0.4923 GB, free: 11.69 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001871/0.3896, allocations: 52.53 kB / 0.4923 GB, free: 11.69 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.004793/0.3945, allocations: 1.072 MB / 0.4934 GB, free: 11.66 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.3945, allocations: 2.188 kB / 0.4934 GB, free: 11.66 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002106/0.3947, allocations: 308.3 kB / 0.4937 GB, free: 11.32 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.3948, allocations: 12.06 kB / 0.4937 GB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.427e-05/0.3948, allocations: 3.906 kB / 0.4937 GB, free: 11.31 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.395, allocations: 165.2 kB / 0.4938 GB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.395, allocations: 1.844 kB / 0.4938 GB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.3951, allocations: 4.625 kB / 0.4939 GB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.298e-05/0.3951, allocations: 0 / 0.4939 GB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/0.3953, allocations: 153.5 kB / 0.494 GB, free: 10.97 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/0.3953, allocations: 79.83 kB / 0.4941 GB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.843e-05/0.3954, allocations: 150.6 kB / 0.4942 GB, free: 10.74 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.616e-05/0.3954, allocations: 155.2 kB / 0.4944 GB, free: 10.59 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001901/0.3956, allocations: 423.9 kB / 0.4948 GB, free: 10.15 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.43e-05/0.3957, allocations: 173.1 kB / 0.4949 GB, free: 9.969 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.28e-05/0.3957, allocations: 80.14 kB / 0.495 GB, free: 9.887 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.3957, allocations: 75.89 kB / 0.4951 GB, free: 9.812 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.3958, allocations: 110.4 kB / 0.4952 GB, free: 9.699 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 1.252e-06/0.3958, allocations: 0 / 0.4952 GB, free: 9.699 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 6.991e-05/0.3959, allocations: 30.02 kB / 0.4952 GB, free: 9.668 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.929e-05/0.3959, allocations: 55.41 kB / 0.4953 GB, free: 9.602 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.242e-05/0.3959, allocations: 89.69 kB / 0.4954 GB, free: 9.508 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.546e-06/0.396, allocations: 25.7 kB / 0.4954 GB, free: 9.477 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.514e-05/0.396, allocations: 150.6 kB / 0.4955 GB, free: 9.328 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.503e-06/0.396, allocations: 3.938 kB / 0.4955 GB, free: 9.328 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.81e-07/0.396, allocations: 0 / 0.4955 GB, free: 9.328 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.975e-05/0.3961, allocations: 315.8 kB / 0.4958 GB, free: 9.012 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.36e-06/0.3961, allocations: 4.062 kB / 0.4958 GB, free: 9.008 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.096e-06/0.3961, allocations: 7.938 kB / 0.4958 GB, free: 9 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.764e-05/0.3961, allocations: 75.28 kB / 0.4959 GB, free: 8.926 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.394e-05/0.3962, allocations: 75.28 kB / 0.496 GB, free: 8.852 MB / 330.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.233e-05/0.3962, allocations: 30.41 kB / 0.496 GB, free: 8.82 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.3963, allocations: 6.781 kB / 0.496 GB, free: 8.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.713e-05/0.3963, allocations: 75.28 kB / 0.4961 GB, free: 8.746 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.956e-05/0.3963, allocations: 155.2 kB / 0.4962 GB, free: 8.594 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.849e-05/0.3964, allocations: 91.5 kB / 0.4963 GB, free: 8.512 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.425e-05/0.3964, allocations: 150.6 kB / 0.4965 GB, free: 8.363 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.924e-05/0.3965, allocations: 80.28 kB / 0.4965 GB, free: 8.285 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/0.3965, allocations: 75.28 kB / 0.4966 GB, free: 8.211 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 5.945e-05/0.3966, allocations: 188.8 kB / 0.4968 GB, free: 8.023 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.805e-05/0.3966, allocations: 101.8 kB / 0.4969 GB, free: 7.918 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.58e-05/0.3967, allocations: 116.5 kB / 0.497 GB, free: 7.797 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.117e-05/0.3967, allocations: 177.1 kB / 0.4972 GB, free: 7.617 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.769e-05/0.3968, allocations: 185.7 kB / 0.4974 GB, free: 7.438 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-05/0.3968, allocations: 180.9 kB / 0.4975 GB, free: 7.254 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/0.397, allocations: 376 kB / 0.4979 GB, free: 6.844 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.975e-05/0.397, allocations: 105 kB / 0.498 GB, free: 6.734 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.242e-05/0.397, allocations: 109.5 kB / 0.4981 GB, free: 6.625 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.425e-05/0.3971, allocations: 180.9 kB / 0.4983 GB, free: 6.441 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.613e-05/0.3971, allocations: 180.8 kB / 0.4984 GB, free: 6.262 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.201e-05/0.3972, allocations: 181.8 kB / 0.4986 GB, free: 6.078 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.489e-05/0.3972, allocations: 180.8 kB / 0.4988 GB, free: 5.898 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001292/0.3973, allocations: 302.2 kB / 0.4991 GB, free: 21.58 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.571e-05/0.3974, allocations: 186.8 kB / 0.4992 GB, free: 21.38 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.707e-05/0.3975, allocations: 181 kB / 0.4994 GB, free: 21.2 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.738e-05/0.3976, allocations: 105.7 kB / 0.4995 GB, free: 21.09 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.965e-05/0.3977, allocations: 185.1 kB / 0.4997 GB, free: 20.9 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.364e-05/0.3978, allocations: 109.5 kB / 0.4998 GB, free: 20.79 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.64e-05/0.3978, allocations: 75.28 kB / 0.4999 GB, free: 20.72 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002738/0.3981, allocations: 0 / 0.4999 GB, free: 20.72 MB / 346.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.00014/0.3983, allocations: 174.5 kB / 0.5 GB, free: 20.55 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 3.546e-05/0.3983, allocations: 3.875 kB / 0.5 GB, free: 20.55 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.3983, allocations: 4.094 kB / 0.5 GB, free: 20.55 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.966e-06/0.3983, allocations: 3.938 kB / 0.5 GB, free: 20.54 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003559/0.3987, allocations: 0.5224 MB / 0.5006 GB, free: 20.02 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001963/0.3989, allocations: 142.9 kB / 0.5007 GB, free: 19.86 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002841/0.3992, allocations: 0.6827 MB / 0.5014 GB, free: 19.15 MB / 346.7 MB Notification: Performance of SimCode: time 1.422e-06/0.3992, allocations: 7.844 kB / 0.5014 GB, free: 19.14 MB / 346.7 MB Notification: Performance of Templates: time 0.001648/0.4009, allocations: 315.5 kB / 0.5017 GB, free: 19.13 MB / 346.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock --alarm=480 > Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock.pipe 2>&1)