Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample.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.TestBackSample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestBackSample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample") [: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.001162/0.001162, allocations: 186.9 kB / 7.843 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.33/1.33, allocations: 205.2 MB / 213.4 MB, free: 13.85 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.001235/0.001235, allocations: 90.27 kB / 261.5 MB, free: 13.61 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.0755/0.0755, allocations: 12.6 MB / 322 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 6.392e-06/6.432e-06, allocations: 0 / 378.4 MB, free: 75.63 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08978/0.0898, allocations: 50.37 MB / 428.8 MB, free: 25.29 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.296/0.3858, allocations: 77.43 MB / 0.4943 GB, free: 11.7 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002144/0.3861, allocations: 58.16 kB / 0.4944 GB, free: 11.7 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.003682/0.3898, allocations: 1.136 MB / 0.4955 GB, free: 11.62 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.3898, allocations: 3.875 kB / 0.4955 GB, free: 11.62 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0003243/0.3901, allocations: 374.7 kB / 0.4958 GB, free: 11.25 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.3902, allocations: 13.12 kB / 0.4959 GB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.824e-05/0.3902, allocations: 7.75 kB / 0.4959 GB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/0.3904, allocations: 202.4 kB / 0.4961 GB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.3905, allocations: 3.844 kB / 0.4961 GB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.294e-05/0.3905, allocations: 3.844 kB / 0.4961 GB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001088/0.3906, allocations: 31.33 kB / 0.4961 GB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002667/0.3909, allocations: 156.5 kB / 0.4962 GB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.3909, allocations: 4 kB / 0.4963 GB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.3909, allocations: 0 / 0.4963 GB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.3909, allocations: 0 / 0.4963 GB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003055/0.3912, allocations: 276.6 kB / 0.4965 GB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001931/0.3914, allocations: 187.3 kB / 0.4967 GB, free: 10.49 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.738e-05/0.3915, allocations: 61.7 kB / 0.4968 GB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/0.3915, allocations: 12.22 kB / 0.4968 GB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.524e-05/0.3915, allocations: 39.19 kB / 0.4968 GB, free: 10.41 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 1.482e-06/0.3916, allocations: 0 / 0.4968 GB, free: 10.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002088/0.3918, allocations: 90.73 kB / 0.4969 GB, free: 10.36 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.3918, allocations: 141.2 kB / 0.497 GB, free: 10.2 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.142e-05/0.3919, allocations: 115.4 kB / 0.4971 GB, free: 10.11 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.005e-05/0.3919, allocations: 25.7 kB / 0.4972 GB, free: 10.07 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.472e-05/0.392, allocations: 92 kB / 0.4972 GB, free: 9.992 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.636e-05/0.392, allocations: 1.312 kB / 0.4972 GB, free: 9.992 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/0.392, allocations: 0 / 0.4972 GB, free: 9.992 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.038e-05/0.392, allocations: 325.4 kB / 0.4976 GB, free: 9.676 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.023e-05/0.3921, allocations: 11.19 kB / 0.4976 GB, free: 9.676 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.872e-05/0.3921, allocations: 73.75 kB / 0.4976 GB, free: 9.586 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.692e-05/0.3922, allocations: 29.09 kB / 0.4977 GB, free: 9.578 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.3922, allocations: 0 / 0.4977 GB, free: 9.578 MB / 330.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001229/0.3923, allocations: 97.14 kB / 0.4978 GB, free: 9.527 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.317e-06/0.3923, allocations: 3.844 kB / 0.4978 GB, free: 9.527 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.3923, allocations: 3.812 kB / 0.4978 GB, free: 9.527 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.3923, allocations: 3.781 kB / 0.4978 GB, free: 9.527 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.854e-05/0.3925, allocations: 26.78 kB / 0.4978 GB, free: 9.523 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.3925, allocations: 1.219 kB / 0.4978 GB, free: 9.523 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.571e-05/0.3925, allocations: 15.66 kB / 0.4978 GB, free: 9.516 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.3926, allocations: 8.156 kB / 0.4978 GB, free: 9.516 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.027e-05/0.3926, allocations: 109 kB / 0.4979 GB, free: 9.406 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.3927, allocations: 84.09 kB / 0.498 GB, free: 9.363 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.221e-05/0.3928, allocations: 19.78 kB / 0.498 GB, free: 9.352 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.3928, allocations: 0 / 0.498 GB, free: 9.352 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.3928, allocations: 3.938 kB / 0.498 GB, free: 9.348 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.3928, allocations: 5.547 kB / 0.498 GB, free: 9.348 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001203/0.3929, allocations: 155.7 kB / 0.4982 GB, free: 9.184 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.3929, allocations: 4.859 kB / 0.4982 GB, free: 9.184 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.7e-05/0.393, allocations: 26.42 kB / 0.4982 GB, free: 9.176 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.393, allocations: 3.844 kB / 0.4982 GB, free: 9.176 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.3931, allocations: 4.078 kB / 0.4982 GB, free: 9.176 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3931, allocations: 0 / 0.4982 GB, free: 9.176 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/0.3931, allocations: 3.812 kB / 0.4982 GB, free: 9.176 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001574/0.3932, allocations: 241.8 kB / 0.4984 GB, free: 8.961 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.815e-05/0.3933, allocations: 89.59 kB / 0.4985 GB, free: 8.859 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.248e-05/0.3933, allocations: 4.703 kB / 0.4985 GB, free: 8.855 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.752e-05/0.3934, allocations: 4.922 kB / 0.4985 GB, free: 8.855 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.3934, allocations: 8.438 kB / 0.4986 GB, free: 8.855 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-06/0.3935, allocations: 3.688 kB / 0.4986 GB, free: 8.855 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.817e-05/0.3935, allocations: 99.44 kB / 0.4987 GB, free: 8.777 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002452/0.3937, allocations: 7.688 kB / 0.4987 GB, free: 8.777 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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 7.359e-05/0.3938, allocations: 98.81 kB / 0.4988 GB, free: 8.688 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000118/0.394, allocations: 54.22 kB / 0.4988 GB, free: 8.676 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.394, allocations: 0 / 0.4988 GB, free: 8.676 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.468e-05/0.394, allocations: 8.25 kB / 0.4988 GB, free: 8.676 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/0.3943, allocations: 56.64 kB / 0.4989 GB, free: 8.664 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002796/0.3946, allocations: 121.8 kB / 0.499 GB, free: 8.566 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001717/0.3948, allocations: 0.7203 MB / 0.4997 GB, free: 7.859 MB / 330.7 MB Notification: Performance of SimCode: time 3e-07/0.3948, allocations: 0 / 0.4997 GB, free: 7.859 MB / 330.7 MB Notification: Performance of Templates: time 0.003116/0.3979, allocations: 0.8828 MB / 0.5005 GB, free: 7.773 MB / 330.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBackSample.pipe 2>&1)