Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.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.Elementary.RealSignals.AssignClock,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock",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.001129/0.001129, allocations: 184.3 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.138/1.138, allocations: 221.4 MB / 229.9 MB, free: 3.016 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.0009133/0.0009133, allocations: 98.55 kB / 280.8 MB, free: 1.238 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09734/0.09828, allocations: 55.83 MB / 336.6 MB, free: 9.387 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2064/0.3047, allocations: 50.39 MB / 387 MB, free: 37.97 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08284/0.3876, allocations: 75.72 MB / 462.7 MB, free: 11.05 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002109/0.3879, allocations: 79.23 kB / 462.8 MB, free: 10.97 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.003355/0.3912, allocations: 1.286 MB / 464.1 MB, free: 9.66 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.3913, allocations: 12.53 kB / 464.1 MB, free: 9.648 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.614e-05/0.3913, allocations: 15.89 kB / 464.1 MB, free: 9.633 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001867/0.3915, allocations: 192.6 kB / 464.3 MB, free: 9.406 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.3915, allocations: 7.938 kB / 464.3 MB, free: 9.398 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.169e-05/0.3916, allocations: 0 / 464.3 MB, free: 9.398 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.33e-05/0.3916, allocations: 20 kB / 464.3 MB, free: 9.379 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002088/0.3919, allocations: 115.4 kB / 464.5 MB, free: 9.258 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.3919, allocations: 0 / 464.5 MB, free: 9.258 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.3919, allocations: 2.438 kB / 464.5 MB, free: 9.258 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.3919, allocations: 5.125 kB / 464.5 MB, free: 9.254 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001498/0.3921, allocations: 154 kB / 464.6 MB, free: 9.066 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.3922, allocations: 52.31 kB / 464.7 MB, free: 9.008 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.068e-05/0.3923, allocations: 37.78 kB / 464.7 MB, free: 8.969 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.371e-05/0.3923, allocations: 4 kB / 464.7 MB, free: 8.965 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.3923, allocations: 31.94 kB / 464.7 MB, free: 8.926 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 9.41e-07/0.3923, allocations: 0 / 464.7 MB, free: 8.926 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001654/0.3925, allocations: 73.53 kB / 464.8 MB, free: 8.848 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/0.3926, allocations: 51.41 kB / 464.9 MB, free: 8.785 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.3927, allocations: 132.1 kB / 465 MB, free: 8.648 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.3927, allocations: 25.7 kB / 465 MB, free: 8.617 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.128e-05/0.3927, allocations: 80.14 kB / 465.1 MB, free: 8.535 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.544e-05/0.3928, allocations: 7.984 kB / 465.1 MB, free: 8.527 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-06/0.3928, allocations: 0 / 465.1 MB, free: 8.527 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.3929, allocations: 314.8 kB / 465.4 MB, free: 8.211 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.008e-05/0.393, allocations: 15.94 kB / 465.4 MB, free: 8.195 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.939e-05/0.393, allocations: 54.86 kB / 465.5 MB, free: 8.117 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.477e-05/0.3931, allocations: 19.94 kB / 465.5 MB, free: 8.098 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3931, allocations: 0 / 465.5 MB, free: 8.098 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001151/0.3932, allocations: 73.47 kB / 465.6 MB, free: 8.02 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/0.3932, allocations: 8.656 kB / 465.6 MB, free: 8.012 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3932, allocations: 0 / 465.6 MB, free: 8.012 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.3932, allocations: 4.688 kB / 465.6 MB, free: 8.008 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.745e-05/0.3933, allocations: 20.23 kB / 465.6 MB, free: 7.988 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.3933, allocations: 7.938 kB / 465.6 MB, free: 7.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.368e-05/0.3934, allocations: 3.906 kB / 465.6 MB, free: 7.977 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.3934, allocations: 4 kB / 465.6 MB, free: 7.973 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.136e-05/0.3935, allocations: 105.7 kB / 465.7 MB, free: 7.863 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.704e-05/0.3936, allocations: 72.16 kB / 465.8 MB, free: 7.789 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.228e-05/0.3936, allocations: 9.438 kB / 465.8 MB, free: 7.777 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/0.3936, allocations: 4 kB / 465.8 MB, free: 7.773 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3936, allocations: 0 / 465.8 MB, free: 7.773 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.3937, allocations: 11.89 kB / 465.8 MB, free: 7.762 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.053e-05/0.3938, allocations: 150.2 kB / 466 MB, free: 7.578 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.3938, allocations: 0 / 466 MB, free: 7.578 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.901e-05/0.3938, allocations: 12.88 kB / 466 MB, free: 7.566 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.3938, allocations: 5.188 kB / 466 MB, free: 7.562 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.3938, allocations: 0 / 466 MB, free: 7.562 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.3939, allocations: 0 / 466 MB, free: 7.562 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.3939, allocations: 3.906 kB / 466 MB, free: 7.559 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001248/0.394, allocations: 93.02 kB / 466.1 MB, free: 7.449 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002562/0.3943, allocations: 477.4 kB / 466.5 MB, free: 6.961 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.139e-05/0.3943, allocations: 96.91 kB / 466.6 MB, free: 6.848 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.808e-05/0.3944, allocations: 0 / 466.6 MB, free: 6.848 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.993e-05/0.3944, allocations: 1.125 kB / 466.6 MB, free: 6.848 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.996e-06/0.3944, allocations: 192 / 466.6 MB, free: 6.848 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.3944, allocations: 8 kB / 466.6 MB, free: 6.84 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.92e-05/0.3945, allocations: 103.2 kB / 466.7 MB, free: 6.738 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007449/0.3952, allocations: 8 kB / 466.7 MB, free: 6.73 MB / 346.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 9.798e-05/0.3953, allocations: 99.25 kB / 466.8 MB, free: 6.621 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.161e-05/0.3954, allocations: 39.91 kB / 466.9 MB, free: 6.582 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.3954, allocations: 3.938 kB / 466.9 MB, free: 6.578 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.61e-07/0.3954, allocations: 0 / 466.9 MB, free: 6.578 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002225/0.3957, allocations: 36.38 kB / 466.9 MB, free: 6.543 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002456/0.3959, allocations: 111.3 kB / 467 MB, free: 6.41 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003237/0.3963, allocations: 0.7114 MB / 467.7 MB, free: 5.672 MB / 346.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3963, allocations: 0 / 467.7 MB, free: 5.672 MB / 346.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1)