Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.AutomaticSeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.AutomaticSeed,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_AutomaticSeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.AutomaticSeed,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_AutomaticSeed",fmuType="me",version="2.0",platforms={"static"}) [: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 trunk/package.mo): time 0.001362/0.001362, allocations: 202.1 kB / 8.543 MB, free: 1.797 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.296/1.296, allocations: 225.5 MB / 234.4 MB, free: 3.348 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001282/0.001282, allocations: 89.33 kB / 286.3 MB, free: 5.227 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1485/0.1499, allocations: 56.9 MB / 343.2 MB, free: 8.652 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.2738, allocations: 51.47 MB / 394.7 MB, free: 5.129 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2699/0.5438, allocations: 77.44 MB / 472.1 MB, free: 14.2 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002078/0.544, allocations: 70.39 kB / 472.2 MB, free: 14.18 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.02076/0.5648, allocations: 8.67 MB / 480.9 MB, free: 8.289 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.5648, allocations: 8 kB / 480.9 MB, free: 8.281 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000805/0.5657, allocations: 127.4 kB / 481 MB, free: 8.156 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002199/0.5659, allocations: 242.2 kB / 481.3 MB, free: 7.891 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.837e-05/0.5659, allocations: 7.984 kB / 481.3 MB, free: 7.883 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.136e-05/0.566, allocations: 16 kB / 481.3 MB, free: 7.867 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002022/0.5662, allocations: 107.6 kB / 481.4 MB, free: 7.789 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002998/0.5665, allocations: 245.9 kB / 481.6 MB, free: 7.57 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.5665, allocations: 0 / 481.6 MB, free: 7.57 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.567e-05/0.5665, allocations: 11.59 kB / 481.6 MB, free: 7.562 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.5666, allocations: 0 / 481.6 MB, free: 7.562 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007811/0.5673, allocations: 0.7434 MB / 482.4 MB, free: 6.867 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003697/0.5677, allocations: 294 kB / 482.7 MB, free: 6.586 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001403/0.5679, allocations: 139 kB / 482.8 MB, free: 6.469 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/0.5679, allocations: 3.984 kB / 482.8 MB, free: 6.465 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002902/0.5682, allocations: 285 kB / 483.1 MB, free: 6.211 MB / 346.7 MB Notification: Performance of pre-optimization done (n=48): time 2.264e-06/0.5682, allocations: 0 / 483.1 MB, free: 6.211 MB / 346.7 MB Notification: Performance of matching and sorting (n=48): time 0.000514/0.5687, allocations: 343.1 kB / 483.4 MB, free: 5.93 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.416e-05/0.5688, allocations: 228.4 kB / 483.6 MB, free: 5.672 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002411/0.5691, allocations: 276.5 kB / 483.9 MB, free: 5.453 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001024/0.5692, allocations: 81.03 kB / 484 MB, free: 5.379 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.692e-05/0.5693, allocations: 132.8 kB / 484.1 MB, free: 5.262 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.593e-05/0.5693, allocations: 106 kB / 484.2 MB, free: 5.176 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.697e-05/0.5694, allocations: 7.562 kB / 484.2 MB, free: 5.172 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.652e-05/0.5695, allocations: 361.9 kB / 484.6 MB, free: 4.828 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003034/0.5698, allocations: 214.3 kB / 484.8 MB, free: 4.699 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003258/0.5701, allocations: 295.6 kB / 485.1 MB, free: 4.488 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005754/0.5707, allocations: 268.1 kB / 485.3 MB, free: 4.305 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.5707, allocations: 4 kB / 485.3 MB, free: 4.301 MB / 346.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001088/0.5718, allocations: 0.6413 MB / 486 MB, free: 3.809 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.5718, allocations: 13.75 kB / 486 MB, free: 3.797 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.803e-05/0.5719, allocations: 4 kB / 486 MB, free: 3.793 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.5719, allocations: 7.984 kB / 486 MB, free: 3.785 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003453/0.5723, allocations: 84.02 kB / 486.1 MB, free: 3.711 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.378e-05/0.5723, allocations: 7.906 kB / 486.1 MB, free: 3.703 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000213/0.5725, allocations: 51.52 kB / 486.2 MB, free: 3.652 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-05/0.5726, allocations: 34.55 kB / 486.2 MB, free: 3.625 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 92 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.manualSeed3.state[1],manualSeed3.state[1],$PRE.manualSeed3.state[2],manualSeed3.state[2],$PRE.manualSeed3.state[3],manualSeed3.state[3],$PRE.manualSeed3.state[4],manualSeed3.state[4],$PRE.manualSeed3.r,manualSeed3.r,$PRE.manualSeed3.r_raw,manualSeed3.r_raw,$PRE.manualSeed2.state[1],manualSeed2.state[1],$PRE.manualSeed2.state[2],manualSeed2.state[2],$PRE.manualSeed2.state[3],manualSeed2.state[3],$PRE.manualSeed2.state[4],manualSeed2.state[4],$PRE.manualSeed2.r,manualSeed2.r,$PRE.manualSeed2.r_raw,manualSeed2.r_raw,$PRE.manualSeed1.state[1],manualSeed1.state[1],$PRE.manualSeed1.state[2],manualSeed1.state[2],$PRE.manualSeed1.state[3],manualSeed1.state[3],$PRE.manualSeed1.state[4],manualSeed1.state[4],$PRE.manualSeed1.r,manualSeed1.r,$PRE.manualSeed1.r_raw,manualSeed1.r_raw,$PRE.automaticSeed3.state[1],automaticSeed3.state[1],$PRE.automaticSeed3.state[2],automaticSeed3.state[2],$PRE.automaticSeed3.state[3],automaticSeed3.state[3],$PRE.automaticSeed3.state[4],automaticSeed3.state[4],$PRE.automaticSeed3.r,automaticSeed3.r,$PRE.automaticSeed3.r_raw,automaticSeed3.r_raw,$PRE.automaticSeed2.state[1],automaticSeed2.state[1],$PRE.automaticSeed2.state[2],automaticSeed2.state[2],$PRE.automaticSeed2.state[3],automaticSeed2.state[3],$PRE.automaticSeed2.state[4],automaticSeed2.state[4],$PRE.automaticSeed2.r,automaticSeed2.r,$PRE.automaticSeed2.r_raw,automaticSeed2.r_raw,$PRE.automaticSeed1.state[1],automaticSeed1.state[1],$PRE.automaticSeed1.state[2],automaticSeed1.state[2],$PRE.automaticSeed1.state[3],automaticSeed1.state[3],$PRE.automaticSeed1.state[4],automaticSeed1.state[4],$PRE.automaticSeed1.r,automaticSeed1.r,$PRE.automaticSeed1.r_raw,automaticSeed1.r_raw,globalSeed.id_impure,automaticSeed1.localSeed,automaticSeed1.actualGlobalSeed,automaticSeed2.localSeed,automaticSeed2.actualGlobalSeed,automaticSeed3.localSeed,automaticSeed3.actualGlobalSeed,manualSeed1.localSeed,manualSeed1.actualGlobalSeed,manualSeed2.localSeed,manualSeed2.actualGlobalSeed,manualSeed3.localSeed,manualSeed3.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 68 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 6 * 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 0.0002334/0.5728, allocations: 180.1 kB / 486.4 MB, free: 3.441 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.131e-05/0.5729, allocations: 39.47 kB / 486.4 MB, free: 3.402 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.431e-05/0.573, allocations: 28.83 kB / 486.4 MB, free: 3.383 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.573, allocations: 4 kB / 486.4 MB, free: 3.379 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/0.573, allocations: 0 / 486.4 MB, free: 3.379 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.5731, allocations: 4 kB / 486.4 MB, free: 3.375 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003319/0.5734, allocations: 299.6 kB / 486.7 MB, free: 3.086 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.5734, allocations: 4 kB / 486.7 MB, free: 3.082 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001191/0.5735, allocations: 33.41 kB / 486.8 MB, free: 3.051 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.5735, allocations: 4 kB / 486.8 MB, free: 3.047 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.919e-05/0.5736, allocations: 11.89 kB / 486.8 MB, free: 3.035 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.5736, allocations: 8 kB / 486.8 MB, free: 3.027 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.5736, allocations: 0 / 486.8 MB, free: 3.027 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000489/0.5741, allocations: 465.9 kB / 487.2 MB, free: 2.586 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008678/0.575, allocations: 1.137 MB / 488.4 MB, free: 1.582 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.37e-05/0.575, allocations: 120.4 kB / 488.5 MB, free: 1.445 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.486e-05/0.5751, allocations: 39.27 kB / 488.5 MB, free: 1.414 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001641/0.5753, allocations: 23.98 kB / 488.6 MB, free: 1.391 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.596e-05/0.5754, allocations: 39.06 kB / 488.6 MB, free: 1.359 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.743e-05/0.5755, allocations: 21.36 kB / 488.6 MB, free: 1.344 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001563/0.5756, allocations: 206.9 kB / 488.8 MB, free: 1.184 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001112/0.5767, allocations: 103 kB / 488.9 MB, free: 1.09 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 42 ($whenCondition6,automaticSeed1.state[1],automaticSeed1.state[2],automaticSeed1.state[3],automaticSeed1.state[4],automaticSeed1.r,automaticSeed1.r_raw,$whenCondition5,automaticSeed2.state[1],automaticSeed2.state[2],automaticSeed2.state[3],automaticSeed2.state[4],automaticSeed2.r,automaticSeed2.r_raw,$whenCondition4,automaticSeed3.state[1],automaticSeed3.state[2],automaticSeed3.state[3],automaticSeed3.state[4],automaticSeed3.r,automaticSeed3.r_raw,$whenCondition3,manualSeed1.state[1],manualSeed1.state[2],manualSeed1.state[3],manualSeed1.state[4],manualSeed1.r,manualSeed1.r_raw,$whenCondition2,manualSeed2.state[1],manualSeed2.state[2],manualSeed2.state[3],manualSeed2.state[4],manualSeed2.r,manualSeed2.r_raw,$whenCondition1,manualSeed3.state[1],manualSeed3.state[2],manualSeed3.state[3],manualSeed3.state[4],manualSeed3.r,manualSeed3.r_raw) * Number of discrete states: 24 (manualSeed3.state[1],manualSeed3.state[2],manualSeed3.state[3],manualSeed3.state[4],manualSeed2.state[1],manualSeed2.state[2],manualSeed2.state[3],manualSeed2.state[4],manualSeed1.state[1],manualSeed1.state[2],manualSeed1.state[3],manualSeed1.state[4],automaticSeed3.state[1],automaticSeed3.state[2],automaticSeed3.state[3],automaticSeed3.state[4],automaticSeed2.state[1],automaticSeed2.state[2],automaticSeed2.state[3],automaticSeed2.state[4],automaticSeed1.state[1],automaticSeed1.state[2],automaticSeed1.state[3],automaticSeed1.state[4]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.0005322/0.5773, allocations: 251.5 kB / 489.2 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007027/0.578, allocations: 0.6252 MB / 489.8 MB, free: 364 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.578, allocations: 4.375 kB / 489.8 MB, free: 360 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002063/0.5782, allocations: 158.9 kB / 490 MB, free: 252 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001952/0.5784, allocations: 20.92 kB / 490 MB, free: 240 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008065/0.5792, allocations: 449.1 kB / 490.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004454/0.5797, allocations: 0.8327 MB / 491.2 MB, free: 14.95 MB / 362.7 MB Notification: Performance of SimCode: time 6.31e-07/0.5797, allocations: 0 / 491.2 MB, free: 14.95 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.AutomaticSeed.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.AutomaticSeed.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.AutomaticSeed.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.AutomaticSeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.Noise.AutomaticSeed_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_Noise_AutomaticSeed_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_Noise_AutomaticSeed.fmu > Modelica_trunk_Modelica.Blocks.Examples.Noise.AutomaticSeed.pipe 2>&1)