Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.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.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects",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.001012/0.001012, allocations: 184.5 kB / 8.138 MB, free: 2.223 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.136/1.136, allocations: 221.4 MB / 229.9 MB, free: 3.012 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.0008888/0.0008888, allocations: 98.16 kB / 280.8 MB, free: 1.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1074/0.1083, allocations: 55.8 MB / 336.6 MB, free: 9.414 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.216/0.3243, allocations: 50.4 MB / 387 MB, free: 37.97 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08476/0.4091, allocations: 80.02 MB / 467 MB, free: 6.762 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002746/0.4094, allocations: 71.91 kB / 467.1 MB, free: 6.691 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.02151/0.431, allocations: 7.669 MB / 474.8 MB, free: 15 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.431, allocations: 8 kB / 474.8 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.957e-05/0.4311, allocations: 39.53 kB / 474.8 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005867/0.4317, allocations: 362.2 kB / 475.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.394e-05/0.4317, allocations: 16 kB / 475.2 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.646e-05/0.4318, allocations: 22.44 kB / 475.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002898/0.4321, allocations: 145.3 kB / 475.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000865/0.4329, allocations: 0.6167 MB / 476 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.433, allocations: 7.906 kB / 476 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.436e-05/0.433, allocations: 0 / 476 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.433, allocations: 8 kB / 476 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000784/0.4338, allocations: 0.7025 MB / 476.7 MB, free: 12.94 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006853/0.4345, allocations: 0.5094 MB / 477.2 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000287/0.4348, allocations: 211.2 kB / 477.4 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006308/0.4354, allocations: 0.5854 MB / 478 MB, free: 11.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.4355, allocations: 50.39 kB / 478 MB, free: 11.37 MB / 362.7 MB Notification: Performance of pre-optimization done (n=52): time 1.953e-06/0.4355, allocations: 0 / 478 MB, free: 11.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=52): time 0.0005915/0.4361, allocations: 297.5 kB / 478.3 MB, free: 11.07 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/0.4362, allocations: 170.2 kB / 478.5 MB, free: 10.87 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002144/0.4364, allocations: 205 kB / 478.7 MB, free: 10.67 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.891e-05/0.4365, allocations: 25.7 kB / 478.7 MB, free: 10.64 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.347e-05/0.4366, allocations: 124.8 kB / 478.8 MB, free: 10.51 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.311e-05/0.4366, allocations: 51.67 kB / 478.9 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.417e-06/0.4366, allocations: 0 / 478.9 MB, free: 10.46 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.4367, allocations: 350.8 kB / 479.2 MB, free: 10.11 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.83e-05/0.4368, allocations: 60.98 kB / 479.3 MB, free: 10.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002718/0.4371, allocations: 392 kB / 479.7 MB, free: 9.496 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001679/0.4373, allocations: 131.8 kB / 479.8 MB, free: 9.367 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.4373, allocations: 4 kB / 479.8 MB, free: 9.363 MB / 362.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0005435/0.4379, allocations: 386.5 kB / 480.2 MB, free: 8.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.4379, allocations: 11.12 kB / 480.2 MB, free: 8.973 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.4379, allocations: 16.12 kB / 480.2 MB, free: 8.957 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.29e-05/0.4379, allocations: 16 kB / 480.2 MB, free: 8.941 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003396/0.4383, allocations: 123.9 kB / 480.3 MB, free: 8.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.899e-05/0.4383, allocations: 19.94 kB / 480.4 MB, free: 8.801 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002585/0.4386, allocations: 51.58 kB / 480.4 MB, free: 8.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.002e-05/0.4386, allocations: 28 kB / 480.4 MB, free: 8.723 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 6 (sample1.noise.seedState[3],$CLKPRE.sample1.noise.seedState[3],sample1.noise.seedState[2],$CLKPRE.sample1.noise.seedState[2],sample1.noise.seedState[1],$CLKPRE.sample1.noise.seedState[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 61 * 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 0.0001138/0.4387, allocations: 143.3 kB / 480.6 MB, free: 8.578 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004431/0.4392, allocations: 277 kB / 480.8 MB, free: 8.301 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005018/0.4397, allocations: 287.2 kB / 481.1 MB, free: 8.02 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.778e-06/0.4397, allocations: 8 kB / 481.1 MB, free: 8.012 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.4397, allocations: 0 / 481.1 MB, free: 8.012 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.238e-06/0.4397, allocations: 11.98 kB / 481.1 MB, free: 8 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000358/0.4401, allocations: 273.6 kB / 481.4 MB, free: 7.695 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/0.4401, allocations: 7.938 kB / 481.4 MB, free: 7.688 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004392/0.4406, allocations: 107.9 kB / 481.5 MB, free: 7.582 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.238e-06/0.4406, allocations: 4 kB / 481.5 MB, free: 7.578 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.359e-05/0.4406, allocations: 3.938 kB / 481.5 MB, free: 7.574 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.4406, allocations: 11.94 kB / 481.5 MB, free: 7.562 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-06/0.4406, allocations: 0 / 481.5 MB, free: 7.562 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007659/0.4414, allocations: 0.6779 MB / 482.2 MB, free: 6.848 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001057/0.4425, allocations: 1.189 MB / 483.4 MB, free: 5.613 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.833e-05/0.4426, allocations: 112.6 kB / 483.5 MB, free: 5.484 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.694e-05/0.4426, allocations: 8 kB / 483.5 MB, free: 5.477 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002656/0.4429, allocations: 23.97 kB / 483.5 MB, free: 5.453 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.519e-05/0.443, allocations: 8.062 kB / 483.6 MB, free: 5.445 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.395e-05/0.443, allocations: 16 kB / 483.6 MB, free: 5.43 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.000144/0.4431, allocations: 161.2 kB / 483.7 MB, free: 5.273 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001036/0.4442, allocations: 67.84 kB / 483.8 MB, free: 5.207 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (load.phi,load.w) * Number of discrete variables: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 48 * 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.000173/0.4444, allocations: 115.2 kB / 483.9 MB, free: 5.082 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004166/0.4448, allocations: 276.6 kB / 484.2 MB, free: 4.812 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4448, allocations: 0 / 484.2 MB, free: 4.812 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.189e-05/0.4448, allocations: 15.94 kB / 484.2 MB, free: 4.797 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007253/0.4456, allocations: 255.2 kB / 484.4 MB, free: 4.543 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001187/0.4468, allocations: 0.5557 MB / 485 MB, free: 3.953 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004268/0.4472, allocations: 0.8583 MB / 485.9 MB, free: 3.066 MB / 362.7 MB Notification: Performance of SimCode: time 3.11e-07/0.4472, allocations: 3.938 kB / 485.9 MB, free: 3.062 MB / 362.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe 2>&1)