Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks.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.ForDocumentation.TheDifferentClocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks") translateModel(Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks") [: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.002409/0.002409, allocations: 172.4 kB / 8.19 MB, free: 2.191 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.813/1.813, allocations: 205.2 MB / 213.8 MB, free: 13.86 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.001305/0.001305, allocations: 95 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.1095/0.1095, allocations: 12.59 MB / 322.3 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 8.156e-06/8.305e-06, allocations: 0 / 378.4 MB, free: 76.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09211/0.09214, allocations: 50.37 MB / 428.7 MB, free: 25.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2976/0.3898, allocations: 77.32 MB / 0.4942 GB, free: 11.76 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002074/0.3901, allocations: 57.12 kB / 0.4942 GB, free: 11.76 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.00603/0.3961, allocations: 1.238 MB / 0.4955 GB, free: 11.69 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.548e-05/0.3962, allocations: 4 kB / 0.4955 GB, free: 11.68 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004327/0.3967, allocations: 368.5 kB / 0.4958 GB, free: 11.32 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.3967, allocations: 7.812 kB / 0.4958 GB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.329e-05/0.3968, allocations: 12.94 kB / 0.4958 GB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002371/0.397, allocations: 193.2 kB / 0.496 GB, free: 11.11 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.397, allocations: 17.06 kB / 0.496 GB, free: 11.1 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.756e-05/0.3971, allocations: 3.938 kB / 0.496 GB, free: 11.1 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.567e-05/0.3972, allocations: 19.5 kB / 0.4961 GB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002108/0.3974, allocations: 110.6 kB / 0.4962 GB, free: 11 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.3974, allocations: 3.875 kB / 0.4962 GB, free: 11 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.3974, allocations: 0 / 0.4962 GB, free: 11 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.3975, allocations: 0 / 0.4962 GB, free: 11 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002703/0.3977, allocations: 237.4 kB / 0.4964 GB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.94e-05/0.3978, allocations: 29.92 kB / 0.4964 GB, free: 10.74 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.627e-05/0.3978, allocations: 6.125 kB / 0.4964 GB, free: 10.73 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.116e-05/0.3979, allocations: 4 kB / 0.4964 GB, free: 10.73 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.429e-05/0.3979, allocations: 54.83 kB / 0.4965 GB, free: 10.68 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.893e-06/0.398, allocations: 0 / 0.4965 GB, free: 10.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001644/0.3981, allocations: 51.39 kB / 0.4965 GB, free: 10.64 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.79e-05/0.3982, allocations: 51.41 kB / 0.4966 GB, free: 10.58 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.3983, allocations: 143.4 kB / 0.4967 GB, free: 10.47 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.3983, allocations: 25.7 kB / 0.4967 GB, free: 10.44 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.484e-05/0.3984, allocations: 154.6 kB / 0.4969 GB, free: 10.29 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.245e-05/0.3984, allocations: 3.906 kB / 0.4969 GB, free: 10.29 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-06/0.3984, allocations: 0 / 0.4969 GB, free: 10.29 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.583e-05/0.3985, allocations: 320 kB / 0.4972 GB, free: 9.973 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.372e-05/0.3985, allocations: 3.812 kB / 0.4972 GB, free: 9.973 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.993e-05/0.3986, allocations: 18.98 kB / 0.4972 GB, free: 9.957 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.554e-05/0.3986, allocations: 7.656 kB / 0.4972 GB, free: 9.957 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3986, allocations: 4 kB / 0.4972 GB, free: 9.953 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000103/0.3987, allocations: 52.48 kB / 0.4973 GB, free: 9.918 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.3987, allocations: 10 kB / 0.4973 GB, free: 9.914 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.3988, allocations: 0 / 0.4973 GB, free: 9.914 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.3988, allocations: 7.75 kB / 0.4973 GB, free: 9.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.688e-05/0.3989, allocations: 1.219 kB / 0.4973 GB, free: 9.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.3989, allocations: 3.812 kB / 0.4973 GB, free: 9.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.843e-05/0.399, allocations: 6.359 kB / 0.4973 GB, free: 9.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.399, allocations: 7.875 kB / 0.4973 GB, free: 9.906 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.191e-05/0.3991, allocations: 25.7 kB / 0.4973 GB, free: 9.875 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.096e-05/0.3991, allocations: 8.828 kB / 0.4973 GB, free: 9.871 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.674e-05/0.3991, allocations: 12.88 kB / 0.4974 GB, free: 9.871 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.3992, allocations: 0 / 0.4974 GB, free: 9.871 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.3992, allocations: 8.828 kB / 0.4974 GB, free: 9.863 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.3992, allocations: 0 / 0.4974 GB, free: 9.863 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004092/0.3996, allocations: 302.2 kB / 0.4977 GB, free: 9.594 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.3996, allocations: 0 / 0.4977 GB, free: 9.594 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.849e-06/0.3996, allocations: 3.812 kB / 0.4977 GB, free: 9.594 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.3996, allocations: 5.125 kB / 0.4977 GB, free: 9.59 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.3997, allocations: 0 / 0.4977 GB, free: 9.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.3997, allocations: 0.625 kB / 0.4977 GB, free: 9.59 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.3997, allocations: 0 / 0.4977 GB, free: 9.59 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001101/0.3998, allocations: 151 kB / 0.4978 GB, free: 9.453 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.2e-05/0.3999, allocations: 92.44 kB / 0.4979 GB, free: 9.355 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.555e-05/0.3999, allocations: 5.5 kB / 0.4979 GB, free: 9.352 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/0.4001, allocations: 9.031 kB / 0.4979 GB, free: 9.352 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.793e-05/0.4001, allocations: 10.75 kB / 0.4979 GB, free: 9.344 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.4001, allocations: 3.75 kB / 0.4979 GB, free: 9.344 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.502e-05/0.4002, allocations: 114.1 kB / 0.498 GB, free: 9.266 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002566/0.4005, allocations: 7.688 kB / 0.498 GB, free: 9.266 MB / 330.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: 4 (booleanPulse.y,$whenCondition1,booleanPulse.pulseStart,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 9.364e-05/0.4006, allocations: 99.91 kB / 0.4981 GB, free: 9.176 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000107/0.4007, allocations: 15.41 kB / 0.4981 GB, free: 9.176 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4007, allocations: 0 / 0.4981 GB, free: 9.176 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.604e-05/0.4008, allocations: 20.86 kB / 0.4982 GB, free: 9.172 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003307/0.4011, allocations: 11.75 kB / 0.4982 GB, free: 9.172 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003727/0.4015, allocations: 134.6 kB / 0.4983 GB, free: 9.062 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001963/0.4017, allocations: 0.709 MB / 0.499 GB, free: 8.359 MB / 330.7 MB Notification: Performance of SimCode: time 1.312e-06/0.4017, allocations: 0 / 0.499 GB, free: 8.359 MB / 330.7 MB Notification: Performance of Templates: time 0.003058/0.4048, allocations: 0.8836 MB / 0.4999 GB, free: 8.305 MB / 330.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks --alarm=480 > Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks.pipe 2>&1)