Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare.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.TestClockedRealToSquare,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare") [: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.001639/0.001644, allocations: 174.9 kB / 8.19 MB, free: 2.176 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.707/1.707, allocations: 205.2 MB / 213.8 MB, free: 13.92 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.00124/0.00124, allocations: 94.78 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.0961/0.0961, allocations: 12.59 MB / 322.3 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.199e-05/1.215e-05, allocations: 4 kB / 378.4 MB, free: 76.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1219, allocations: 50.37 MB / 428.7 MB, free: 25.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3095/0.4315, allocations: 77.39 MB / 0.4943 GB, free: 11.68 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002063/0.4317, allocations: 56.3 kB / 0.4943 GB, free: 11.68 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.004365/0.4361, allocations: 0.8326 MB / 0.4951 GB, free: 11.63 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.465e-05/0.4362, allocations: 4.844 kB / 0.4951 GB, free: 11.63 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.0003473/0.4365, allocations: 341.2 kB / 0.4955 GB, free: 11.28 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.4366, allocations: 8.266 kB / 0.4955 GB, free: 11.28 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.987e-05/0.4366, allocations: 9.188 kB / 0.4955 GB, free: 11.28 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001799/0.4368, allocations: 181.2 kB / 0.4956 GB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.4369, allocations: 7.781 kB / 0.4957 GB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.4369, allocations: 0 / 0.4957 GB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001023/0.437, allocations: 23.91 kB / 0.4957 GB, free: 11.06 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002286/0.4372, allocations: 109.1 kB / 0.4958 GB, free: 10.99 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.4373, allocations: 0 / 0.4958 GB, free: 10.99 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.4373, allocations: 7.969 kB / 0.4958 GB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.4373, allocations: 0 / 0.4958 GB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000392/0.4377, allocations: 334.6 kB / 0.4961 GB, free: 10.65 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/0.4379, allocations: 154.7 kB / 0.4963 GB, free: 10.48 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.203e-05/0.438, allocations: 26.64 kB / 0.4963 GB, free: 10.46 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.798e-05/0.438, allocations: 4.156 kB / 0.4963 GB, free: 10.46 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.778e-05/0.438, allocations: 42.66 kB / 0.4963 GB, free: 10.41 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.673e-06/0.438, allocations: 0 / 0.4963 GB, free: 10.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002472/0.4383, allocations: 65.25 kB / 0.4964 GB, free: 10.38 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.621e-05/0.4384, allocations: 103.4 kB / 0.4965 GB, free: 10.25 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.627e-05/0.4384, allocations: 102.5 kB / 0.4966 GB, free: 10.16 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.4385, allocations: 26.58 kB / 0.4966 GB, free: 10.13 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.956e-05/0.4385, allocations: 150.6 kB / 0.4968 GB, free: 9.98 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.022e-05/0.4385, allocations: 12.77 kB / 0.4968 GB, free: 9.973 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.43e-06/0.4386, allocations: 0 / 0.4968 GB, free: 9.973 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.026e-05/0.4387, allocations: 320.1 kB / 0.4971 GB, free: 9.656 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.507e-05/0.4387, allocations: 11.53 kB / 0.4971 GB, free: 9.652 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.67e-05/0.4388, allocations: 41.55 kB / 0.4971 GB, free: 9.609 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.761e-05/0.4388, allocations: 17.52 kB / 0.4971 GB, free: 9.605 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.4388, allocations: 3.938 kB / 0.4971 GB, free: 9.602 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001435/0.439, allocations: 65.91 kB / 0.4972 GB, free: 9.566 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.439, allocations: 6.188 kB / 0.4972 GB, free: 9.566 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.439, allocations: 0 / 0.4972 GB, free: 9.566 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.4391, allocations: 4.344 kB / 0.4972 GB, free: 9.566 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.4392, allocations: 14.19 kB / 0.4972 GB, free: 9.562 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.4392, allocations: 5.078 kB / 0.4972 GB, free: 9.559 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7e-05/0.4393, allocations: 8.609 kB / 0.4972 GB, free: 9.555 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.208e-06/0.4393, allocations: 3.625 kB / 0.4972 GB, free: 9.555 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (ClockedRealToSquare.y2,$CLKPRE.ClockedRealToSquare.y2,ClockedRealToSquare.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.002e-05/0.4394, allocations: 34.34 kB / 0.4973 GB, free: 9.52 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.4395, allocations: 51.3 kB / 0.4973 GB, free: 9.48 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.367e-05/0.4395, allocations: 9.094 kB / 0.4973 GB, free: 9.473 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.728e-06/0.4396, allocations: 3.75 kB / 0.4973 GB, free: 9.473 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.4396, allocations: 144 / 0.4973 GB, free: 9.473 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.4396, allocations: 8.781 kB / 0.4973 GB, free: 9.465 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002223/0.4398, allocations: 141.2 kB / 0.4975 GB, free: 9.309 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.4398, allocations: 0 / 0.4975 GB, free: 9.309 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.563e-05/0.4399, allocations: 10.67 kB / 0.4975 GB, free: 9.309 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.4399, allocations: 7.719 kB / 0.4975 GB, free: 9.305 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.44, allocations: 0 / 0.4975 GB, free: 9.305 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.646e-06/0.44, allocations: 4.969 kB / 0.4975 GB, free: 9.301 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.44, allocations: 3.688 kB / 0.4975 GB, free: 9.301 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001802/0.4402, allocations: 266.1 kB / 0.4978 GB, free: 9.047 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.543e-05/0.4402, allocations: 85.42 kB / 0.4978 GB, free: 8.949 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.42e-05/0.4403, allocations: 0.7969 kB / 0.4978 GB, free: 8.949 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001753/0.4404, allocations: 4.438 kB / 0.4978 GB, free: 8.949 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.3e-05/0.4405, allocations: 9.75 kB / 0.4979 GB, free: 8.945 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.4405, allocations: 0 / 0.4979 GB, free: 8.945 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.099e-05/0.4406, allocations: 88.69 kB / 0.4979 GB, free: 8.871 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003217/0.4409, allocations: 3.875 kB / 0.4979 GB, free: 8.871 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: 2 (ClockedRealToSquare.y,ClockedRealToSquare.y2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001056/0.441, allocations: 98.44 kB / 0.498 GB, free: 8.781 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000136/0.4412, allocations: 32.44 kB / 0.4981 GB, free: 8.777 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.4412, allocations: 0 / 0.4981 GB, free: 8.777 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.063e-05/0.4412, allocations: 8.188 kB / 0.4981 GB, free: 8.777 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003184/0.4415, allocations: 36.48 kB / 0.4981 GB, free: 8.758 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003319/0.4419, allocations: 119.2 kB / 0.4982 GB, free: 8.633 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002301/0.4421, allocations: 0.7041 MB / 0.4989 GB, free: 7.93 MB / 330.7 MB Notification: Performance of SimCode: time 1.112e-06/0.4421, allocations: 0 / 0.4989 GB, free: 7.93 MB / 330.7 MB Notification: Performance of Templates: time 0.002896/0.4451, allocations: 0.754 MB / 0.4996 GB, free: 7.891 MB / 330.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare --alarm=480 > Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare.pipe 2>&1)