Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.AutomaticSeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.AutomaticSeed,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_AutomaticSeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.AutomaticSeed,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.0009954/0.0009955, allocations: 184 kB / 8.137 MB, free: 2.133 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.118/1.118, allocations: 221.4 MB / 229.9 MB, free: 3.082 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 89.25 kB / 280.8 MB, free: 1.277 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1045/0.1055, allocations: 55.83 MB / 336.6 MB, free: 9.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/0.3207, allocations: 50.39 MB / 387 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08239/0.4032, allocations: 76.64 MB / 463.6 MB, free: 10.14 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001888/0.4034, allocations: 82 kB / 463.7 MB, free: 10.07 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.02269/0.4261, allocations: 8.662 MB / 472.4 MB, free: 1.348 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.4262, allocations: 8 kB / 472.4 MB, free: 1.34 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008646/0.427, allocations: 127.4 kB / 472.5 MB, free: 1.215 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002519/0.4273, allocations: 247.1 kB / 472.8 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.037e-05/0.4273, allocations: 4 kB / 472.8 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.803e-05/0.4274, allocations: 16 kB / 472.8 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002147/0.4276, allocations: 108.5 kB / 472.9 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003272/0.428, allocations: 252.3 kB / 473.1 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.428, allocations: 0 / 473.1 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.201e-05/0.428, allocations: 2.438 kB / 473.1 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.428, allocations: 7.906 kB / 473.1 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009006/0.4289, allocations: 0.738 MB / 473.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004307/0.4294, allocations: 300.3 kB / 474.2 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001779/0.4296, allocations: 144.2 kB / 474.3 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/0.4296, allocations: 0 / 474.3 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003398/0.4299, allocations: 283.4 kB / 474.6 MB, free: 14.92 MB / 362.7 MB Notification: Performance of pre-optimization done (n=48): time 2.044e-06/0.4299, allocations: 0 / 474.6 MB, free: 14.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=48): time 0.000599/0.4306, allocations: 341.7 kB / 474.9 MB, free: 14.58 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/0.4307, allocations: 223.8 kB / 475.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002967/0.431, allocations: 287.3 kB / 475.4 MB, free: 14.04 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001244/0.4311, allocations: 73.67 kB / 475.5 MB, free: 13.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.152e-05/0.4312, allocations: 125.3 kB / 475.6 MB, free: 13.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.4313, allocations: 118.6 kB / 475.7 MB, free: 13.72 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.999e-05/0.4314, allocations: 0 / 475.7 MB, free: 13.72 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.4315, allocations: 362.7 kB / 476.1 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003448/0.4319, allocations: 217.4 kB / 476.3 MB, free: 13.14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003851/0.4323, allocations: 288.6 kB / 476.6 MB, free: 12.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000598/0.4329, allocations: 268.3 kB / 476.8 MB, free: 12.58 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.4329, allocations: 3.906 kB / 476.8 MB, free: 12.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001138/0.434, allocations: 0.6498 MB / 477.5 MB, free: 11.92 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.434, allocations: 4 kB / 477.5 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.923e-05/0.4341, allocations: 16.17 kB / 477.5 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.4341, allocations: 4 kB / 477.5 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003415/0.4345, allocations: 75.83 kB / 477.6 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.4345, allocations: 8 kB / 477.6 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002205/0.4347, allocations: 60.08 kB / 477.7 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.927e-05/0.4348, allocations: 35.98 kB / 477.7 MB, free: 11.72 MB / 362.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.0001836/0.435, allocations: 177.4 kB / 477.9 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.908e-05/0.435, allocations: 35.53 kB / 477.9 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.031e-05/0.4351, allocations: 26.7 kB / 477.9 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.4351, allocations: 4 kB / 477.9 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.4351, allocations: 0 / 477.9 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.407e-06/0.4351, allocations: 12.72 kB / 477.9 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003284/0.4355, allocations: 297.7 kB / 478.2 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.4355, allocations: 4 kB / 478.2 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001227/0.4356, allocations: 35.92 kB / 478.3 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.057e-06/0.4356, allocations: 4 kB / 478.3 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.069e-05/0.4357, allocations: 7.984 kB / 478.3 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.384e-06/0.4357, allocations: 12.67 kB / 478.3 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.4357, allocations: 0 / 478.3 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005411/0.4362, allocations: 465.5 kB / 478.8 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001009/0.4373, allocations: 1.138 MB / 479.9 MB, free: 9.34 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.219e-05/0.4374, allocations: 128.4 kB / 480 MB, free: 9.195 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.054e-05/0.4375, allocations: 31.97 kB / 480 MB, free: 9.164 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001807/0.4377, allocations: 23.98 kB / 480.1 MB, free: 9.141 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.774e-05/0.4378, allocations: 39.94 kB / 480.1 MB, free: 9.102 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.874e-05/0.4378, allocations: 19.98 kB / 480.1 MB, free: 9.082 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001881/0.438, allocations: 203.1 kB / 480.3 MB, free: 8.887 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00109/0.4391, allocations: 95.98 kB / 480.4 MB, free: 8.793 MB / 362.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.000527/0.4396, allocations: 261.3 kB / 480.7 MB, free: 8.559 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008839/0.4405, allocations: 0.6269 MB / 481.3 MB, free: 7.895 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.4406, allocations: 0 / 481.3 MB, free: 7.895 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002319/0.4408, allocations: 156.3 kB / 481.5 MB, free: 7.742 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001952/0.441, allocations: 28.78 kB / 481.5 MB, free: 7.719 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008484/0.4419, allocations: 451.8 kB / 481.9 MB, free: 7.234 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004737/0.4423, allocations: 0.8251 MB / 482.7 MB, free: 6.379 MB / 362.7 MB Notification: Performance of SimCode: time 4.21e-07/0.4423, allocations: 0 / 482.7 MB, free: 6.379 MB / 362.7 MB (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.AutomaticSeed.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.AutomaticSeed.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.AutomaticSeed.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.AutomaticSeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Noise.AutomaticSeed_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Noise_AutomaticSeed_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_Noise_AutomaticSeed.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.AutomaticSeed.pipe 2>&1)