Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001183/0.001183, allocations: 203 kB / 8.542 MB, free: 1.812 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.3/1.3, allocations: 225.5 MB / 234.4 MB, free: 3.441 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008748/0.0008748, allocations: 93.66 kB / 286.3 MB, free: 5.215 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.12/0.1209, allocations: 56.9 MB / 343.2 MB, free: 8.684 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.2341, allocations: 51.47 MB / 394.7 MB, free: 5.168 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2793/0.5135, allocations: 76.53 MB / 471.2 MB, free: 14.63 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002351/0.5138, allocations: 76.36 kB / 471.3 MB, free: 14.61 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.003622/0.5174, allocations: 1.289 MB / 472.6 MB, free: 13.75 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/0.5175, allocations: 10.31 kB / 472.6 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.95e-05/0.5176, allocations: 14.72 kB / 472.6 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002431/0.5178, allocations: 192.7 kB / 472.8 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.5178, allocations: 0 / 472.8 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.361e-05/0.5179, allocations: 4 kB / 472.8 MB, free: 13.51 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.649e-05/0.518, allocations: 15.31 kB / 472.8 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002339/0.5182, allocations: 116.6 kB / 472.9 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.5182, allocations: 3.984 kB / 472.9 MB, free: 13.4 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.5183, allocations: 0 / 472.9 MB, free: 13.4 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.5183, allocations: 0 / 472.9 MB, free: 13.4 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001276/0.5184, allocations: 151.5 kB / 473.1 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.5185, allocations: 68.11 kB / 473.2 MB, free: 13.17 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.074e-05/0.5186, allocations: 34.78 kB / 473.2 MB, free: 13.15 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.5186, allocations: 0.75 kB / 473.2 MB, free: 13.15 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.8e-05/0.5187, allocations: 34.56 kB / 473.2 MB, free: 13.11 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.5187, allocations: 0 / 473.2 MB, free: 13.11 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001689/0.5188, allocations: 70.12 kB / 473.3 MB, free: 13.04 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.5189, allocations: 59.34 kB / 473.4 MB, free: 12.97 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.519, allocations: 127.1 kB / 473.5 MB, free: 12.85 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.519, allocations: 25.7 kB / 473.5 MB, free: 12.82 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.517e-05/0.519, allocations: 87.38 kB / 473.6 MB, free: 12.74 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.761e-05/0.5191, allocations: 3 kB / 473.6 MB, free: 12.74 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-06/0.5191, allocations: 4 kB / 473.6 MB, free: 12.73 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.082e-05/0.5191, allocations: 317.8 kB / 473.9 MB, free: 12.42 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.768e-05/0.5192, allocations: 4 kB / 473.9 MB, free: 12.42 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.602e-05/0.5192, allocations: 57.94 kB / 474 MB, free: 12.34 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.112e-05/0.5193, allocations: 19 kB / 474 MB, free: 12.33 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.5193, allocations: 0 / 474 MB, free: 12.33 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001097/0.5194, allocations: 76.19 kB / 474.1 MB, free: 12.26 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.5194, allocations: 4 kB / 474.1 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.5194, allocations: 4 kB / 474.1 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.5194, allocations: 4 kB / 474.1 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.573e-05/0.5195, allocations: 15.28 kB / 474.1 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.5195, allocations: 3.938 kB / 474.1 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.901e-05/0.5196, allocations: 8.156 kB / 474.1 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-06/0.5196, allocations: 8 kB / 474.1 MB, free: 12.21 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 5.539e-05/0.5196, allocations: 108 kB / 474.2 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.745e-05/0.5197, allocations: 60.03 kB / 474.3 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.688e-05/0.5198, allocations: 14.95 kB / 474.3 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.5198, allocations: 0 / 474.3 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.5198, allocations: 3.906 kB / 474.3 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.5198, allocations: 0 / 474.3 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.561e-05/0.5199, allocations: 154.5 kB / 474.4 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.5199, allocations: 4 kB / 474.4 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.281e-05/0.52, allocations: 15.94 kB / 474.5 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.52, allocations: 0 / 474.5 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.52, allocations: 0 / 474.5 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.52, allocations: 7.906 kB / 474.5 MB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.52, allocations: 1.875 kB / 474.5 MB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001212/0.5201, allocations: 91.45 kB / 474.6 MB, free: 11.76 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001769/0.5203, allocations: 486.3 kB / 475 MB, free: 11.28 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.606e-05/0.5204, allocations: 92.17 kB / 475.1 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.452e-05/0.5204, allocations: 7.188 kB / 475.1 MB, free: 11.17 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.234e-05/0.5205, allocations: 3.938 kB / 475.1 MB, free: 11.17 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.188e-06/0.5205, allocations: 0 / 475.1 MB, free: 11.17 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.5205, allocations: 0 / 475.1 MB, free: 11.17 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.958e-05/0.5205, allocations: 108.6 kB / 475.2 MB, free: 11.08 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008013/0.5214, allocations: 8 kB / 475.2 MB, free: 11.07 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 0.0001412/0.5215, allocations: 99.25 kB / 475.3 MB, free: 10.96 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000125/0.5216, allocations: 34.69 kB / 475.4 MB, free: 10.94 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.5216, allocations: 0 / 475.4 MB, free: 10.94 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.182e-06/0.5217, allocations: 4 kB / 475.4 MB, free: 10.94 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002872/0.5219, allocations: 35 kB / 475.4 MB, free: 10.91 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002751/0.5222, allocations: 107 kB / 475.5 MB, free: 10.8 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000167/0.5224, allocations: 0.7099 MB / 476.2 MB, free: 10.08 MB / 346.7 MB Notification: Performance of SimCode: time 5.51e-07/0.5224, allocations: 2.25 kB / 476.2 MB, free: 10.08 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1)