Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.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: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UniformNoise",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 3.2.3+maint.om/package.mo): time 0.001822/0.001826, allocations: 187.7 kB / 7.847 MB, free: 2.469 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.953/1.953, allocations: 205.2 MB / 213.5 MB, free: 13.86 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.001302/0.001301, allocations: 88.72 kB / 261.4 MB, free: 13.62 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.1078/0.1078, allocations: 12.59 MB / 322 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2964/0.4043, allocations: 56.5 MB / 378.5 MB, free: 75.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.5255, allocations: 50.37 MB / 428.9 MB, free: 25.19 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.359/0.8846, allocations: 77.2 MB / 0.4942 GB, free: 11.95 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002573/0.8849, allocations: 77.16 kB / 0.4943 GB, free: 11.95 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.01242/0.8974, allocations: 2.934 MB / 0.4971 GB, free: 11.44 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.8974, allocations: 7.656 kB / 0.4971 GB, free: 11.44 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.377e-05/0.8975, allocations: 11.69 kB / 0.4972 GB, free: 11.43 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002216/0.8977, allocations: 195.1 kB / 0.4973 GB, free: 11.22 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.8977, allocations: 4 kB / 0.4973 GB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.299e-05/0.8977, allocations: 3.844 kB / 0.4974 GB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.584e-05/0.8979, allocations: 26.94 kB / 0.4974 GB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002946/0.8982, allocations: 150.2 kB / 0.4975 GB, free: 11.13 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.8982, allocations: 0 / 0.4975 GB, free: 11.13 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.8982, allocations: 0 / 0.4975 GB, free: 11.13 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.8982, allocations: 4 kB / 0.4975 GB, free: 11.13 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002732/0.8985, allocations: 245.4 kB / 0.4978 GB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.721e-05/0.8986, allocations: 38.66 kB / 0.4978 GB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.247e-05/0.8987, allocations: 24.14 kB / 0.4978 GB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006943/0.8994, allocations: 0.5782 MB / 0.4984 GB, free: 10.19 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.8994, allocations: 30.56 kB / 0.4984 GB, free: 10.15 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 2.114e-06/0.8994, allocations: 0 / 0.4984 GB, free: 10.15 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002635/0.8997, allocations: 82.42 kB / 0.4985 GB, free: 10.11 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/0.8998, allocations: 55.31 kB / 0.4985 GB, free: 10.05 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.8999, allocations: 127.1 kB / 0.4987 GB, free: 9.953 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.073e-05/0.8999, allocations: 25.7 kB / 0.4987 GB, free: 9.922 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.508e-05/0.9, allocations: 81.83 kB / 0.4988 GB, free: 9.84 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.663e-05/0.9, allocations: 16.47 kB / 0.4988 GB, free: 9.832 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-06/0.9, allocations: 0 / 0.4988 GB, free: 9.832 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.065e-05/0.9001, allocations: 321.2 kB / 0.4991 GB, free: 9.52 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.265e-05/0.9001, allocations: 20.36 kB / 0.4991 GB, free: 9.512 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.301e-05/0.9002, allocations: 63.39 kB / 0.4992 GB, free: 9.457 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.711e-05/0.9003, allocations: 29.92 kB / 0.4992 GB, free: 9.453 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.9003, allocations: 0 / 0.4992 GB, free: 9.453 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001829/0.9005, allocations: 100.5 kB / 0.4993 GB, free: 9.41 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.9005, allocations: 7.438 kB / 0.4993 GB, free: 9.41 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.9005, allocations: 0 / 0.4993 GB, free: 9.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.9005, allocations: 5.109 kB / 0.4993 GB, free: 9.41 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.9007, allocations: 16.72 kB / 0.4993 GB, free: 9.406 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.9007, allocations: 8.094 kB / 0.4993 GB, free: 9.402 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.657e-05/0.9008, allocations: 4.891 kB / 0.4993 GB, free: 9.398 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.9008, allocations: 3.844 kB / 0.4993 GB, free: 9.398 MB / 330.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: 6 (uniformNoise.seedState[3],$CLKPRE.uniformNoise.seedState[3],uniformNoise.seedState[2],$CLKPRE.uniformNoise.seedState[2],uniformNoise.seedState[1],$CLKPRE.uniformNoise.seedState[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 7.435e-05/0.9009, allocations: 111.6 kB / 0.4994 GB, free: 9.293 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001523/0.901, allocations: 72.88 kB / 0.4995 GB, free: 9.254 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002381/0.9013, allocations: 85.84 kB / 0.4996 GB, free: 9.219 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.892e-06/0.9013, allocations: 3.844 kB / 0.4996 GB, free: 9.219 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.974e-06/0.9013, allocations: 5.312 kB / 0.4996 GB, free: 9.215 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.9013, allocations: 4 kB / 0.4996 GB, free: 9.211 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.493e-05/0.9014, allocations: 150.3 kB / 0.4998 GB, free: 9.051 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/0.9014, allocations: 0 / 0.4998 GB, free: 9.051 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.894e-05/0.9015, allocations: 12.78 kB / 0.4998 GB, free: 9.047 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.9015, allocations: 0 / 0.4998 GB, free: 9.047 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.9016, allocations: 1.312 kB / 0.4998 GB, free: 9.047 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.9016, allocations: 3.906 kB / 0.4998 GB, free: 9.043 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.9016, allocations: 0 / 0.4998 GB, free: 9.043 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001693/0.9018, allocations: 108.5 kB / 0.4999 GB, free: 8.969 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002195/0.902, allocations: 476.2 kB / 0.5003 GB, free: 8.527 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.512e-05/0.9021, allocations: 101 kB / 0.5004 GB, free: 8.426 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.109e-05/0.9021, allocations: 3.906 kB / 0.5004 GB, free: 8.426 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.061e-05/0.9022, allocations: 0.9375 kB / 0.5004 GB, free: 8.426 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.196e-06/0.9022, allocations: 0 / 0.5004 GB, free: 8.426 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.9022, allocations: 0 / 0.5004 GB, free: 8.426 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.685e-05/0.9023, allocations: 113.7 kB / 0.5005 GB, free: 8.348 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001197/0.9035, allocations: 15.38 kB / 0.5006 GB, free: 8.348 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: 3 (uniformNoise.seedState[1],uniformNoise.seedState[2],uniformNoise.seedState[3]) * 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: 1 * 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.0002/0.9037, allocations: 110.1 kB / 0.5007 GB, free: 8.25 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001685/0.9039, allocations: 49.28 kB / 0.5007 GB, free: 8.246 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.9039, allocations: 0 / 0.5007 GB, free: 8.246 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.234e-06/0.9039, allocations: 3.938 kB / 0.5007 GB, free: 8.242 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004591/0.9044, allocations: 84.23 kB / 0.5008 GB, free: 8.203 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004074/0.9048, allocations: 117.3 kB / 0.5009 GB, free: 8.121 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002039/0.905, allocations: 0.7274 MB / 0.5016 GB, free: 7.41 MB / 330.7 MB Notification: Performance of SimCode: time 1.183e-06/0.905, allocations: 7.875 kB / 0.5016 GB, free: 7.402 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UniformNoise_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UniformNoise.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1)