Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.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.SimpleControlledDrive.ClockedWith_AD_DA_Effects,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_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 3.2.3+maint.om/package.mo): time 0.002862/0.00286, allocations: 186 kB / 7.843 MB, free: 2.312 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.004/2.004, allocations: 205.2 MB / 213.4 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.00131/0.00131, allocations: 93.34 kB / 261.5 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.1193/0.1193, allocations: 12.58 MB / 322 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2752/0.3946, allocations: 56.49 MB / 378.5 MB, free: 75.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.5026, allocations: 50.38 MB / 428.9 MB, free: 25.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3659/0.8686, allocations: 81.07 MB / 0.498 GB, free: 12.05 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/0.8689, allocations: 71.45 kB / 0.498 GB, free: 12.05 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.03574/0.9047, allocations: 7.474 MB / 0.5053 GB, free: 10.21 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.529e-05/0.9048, allocations: 7.688 kB / 0.5054 GB, free: 10.21 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002557/0.9051, allocations: 42.78 kB / 0.5054 GB, free: 10.19 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001473/0.9066, allocations: 351 kB / 0.5057 GB, free: 9.914 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.708e-05/0.9067, allocations: 12.12 kB / 0.5057 GB, free: 9.914 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/0.9068, allocations: 18.97 kB / 0.5058 GB, free: 9.91 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000821/0.9076, allocations: 149.3 kB / 0.5059 GB, free: 9.902 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002391/0.9101, allocations: 0.606 MB / 0.5065 GB, free: 9.641 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.731e-05/0.9102, allocations: 0 / 0.5065 GB, free: 9.641 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.942e-05/0.9103, allocations: 0 / 0.5065 GB, free: 9.641 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.441e-05/0.9103, allocations: 7.625 kB / 0.5065 GB, free: 9.641 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001828/0.9122, allocations: 0.7146 MB / 0.5072 GB, free: 9.023 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001675/0.9139, allocations: 0.502 MB / 0.5077 GB, free: 8.715 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008957/0.9149, allocations: 208.9 kB / 0.5079 GB, free: 8.676 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001247/0.9162, allocations: 0.5862 MB / 0.5085 GB, free: 8 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.241e-05/0.9162, allocations: 38 kB / 0.5085 GB, free: 7.961 MB / 330.7 MB Notification: Performance of pre-optimization done (n=52): time 6.162e-06/0.9163, allocations: 0 / 0.5085 GB, free: 7.961 MB / 330.7 MB Notification: Performance of matching and sorting (n=52): time 0.001581/0.9178, allocations: 304.8 kB / 0.5088 GB, free: 7.875 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001629/0.918, allocations: 169.1 kB / 0.5089 GB, free: 7.684 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003514/0.9184, allocations: 206.6 kB / 0.5091 GB, free: 7.566 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.086e-05/0.9185, allocations: 29.7 kB / 0.5092 GB, free: 7.531 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.883e-05/0.9186, allocations: 125 kB / 0.5093 GB, free: 7.422 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.99e-05/0.9186, allocations: 47.02 kB / 0.5093 GB, free: 7.395 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.746e-05/0.9187, allocations: 112 / 0.5093 GB, free: 7.395 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.946e-05/0.9188, allocations: 355.9 kB / 0.5097 GB, free: 7.062 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001698/0.9189, allocations: 59.03 kB / 0.5097 GB, free: 7.062 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003492/0.9193, allocations: 394.6 kB / 0.5101 GB, free: 6.605 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000292/0.9196, allocations: 134.5 kB / 0.5102 GB, free: 6.562 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.508e-06/0.9196, allocations: 4.406 kB / 0.5102 GB, free: 6.562 MB / 330.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0009115/0.9205, allocations: 382.5 kB / 0.5106 GB, free: 6.418 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.9206, allocations: 9.312 kB / 0.5106 GB, free: 6.414 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.016e-05/0.9206, allocations: 12.53 kB / 0.5106 GB, free: 6.414 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.898e-05/0.9207, allocations: 16.5 kB / 0.5106 GB, free: 6.414 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007737/0.9215, allocations: 121.6 kB / 0.5108 GB, free: 6.391 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-05/0.9215, allocations: 32.17 kB / 0.5108 GB, free: 6.375 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004462/0.922, allocations: 40.98 kB / 0.5108 GB, free: 6.355 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.112e-05/0.922, allocations: 34.66 kB / 0.5109 GB, free: 6.355 MB / 330.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.0001987/0.9222, allocations: 133.9 kB / 0.511 GB, free: 6.23 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007667/0.923, allocations: 272.2 kB / 0.5112 GB, free: 6.152 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008261/0.9239, allocations: 298.1 kB / 0.5115 GB, free: 6.059 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/0.9239, allocations: 5.25 kB / 0.5115 GB, free: 6.059 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.9239, allocations: 2.188 kB / 0.5115 GB, free: 6.059 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.9239, allocations: 1.062 kB / 0.5115 GB, free: 6.059 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000446/0.9244, allocations: 278.1 kB / 0.5118 GB, free: 5.828 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-05/0.9244, allocations: 6.094 kB / 0.5118 GB, free: 5.824 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008944/0.9253, allocations: 107.2 kB / 0.5119 GB, free: 5.801 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.075e-05/0.9253, allocations: 2.188 kB / 0.5119 GB, free: 5.801 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.607e-05/0.9254, allocations: 7.078 kB / 0.5119 GB, free: 5.797 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.115e-06/0.9254, allocations: 2.188 kB / 0.5119 GB, free: 5.797 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.9254, allocations: 12.97 kB / 0.5119 GB, free: 5.785 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001251/0.9267, allocations: 0.6729 MB / 0.5126 GB, free: 5.449 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001611/0.9283, allocations: 1.192 MB / 0.5138 GB, free: 4.734 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.9284, allocations: 115.2 kB / 0.5139 GB, free: 4.617 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.975e-05/0.9285, allocations: 7.734 kB / 0.5139 GB, free: 4.613 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004936/0.929, allocations: 23.77 kB / 0.5139 GB, free: 4.605 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.364e-05/0.9291, allocations: 7.828 kB / 0.5139 GB, free: 4.602 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.708e-05/0.9292, allocations: 17.06 kB / 0.5139 GB, free: 4.598 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0002279/0.9294, allocations: 161.3 kB / 0.5141 GB, free: 4.512 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001687/0.9311, allocations: 62.62 kB / 0.5141 GB, free: 4.508 MB / 330.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.0002434/0.9314, allocations: 117.5 kB / 0.5142 GB, free: 4.406 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007328/0.9321, allocations: 278.7 kB / 0.5145 GB, free: 4.363 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.9321, allocations: 1.25 kB / 0.5145 GB, free: 4.363 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.541e-05/0.9322, allocations: 18.75 kB / 0.5145 GB, free: 4.359 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001321/0.9335, allocations: 254.9 kB / 0.5148 GB, free: 4.285 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002244/0.9358, allocations: 0.5417 MB / 0.5153 GB, free: 3.98 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005151/0.9363, allocations: 0.858 MB / 0.5161 GB, free: 3.207 MB / 330.7 MB Notification: Performance of SimCode: time 1.343e-06/0.9364, allocations: 1.438 kB / 0.5161 GB, free: 3.207 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects.pipe 2>&1)