Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.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.BooleanSignals.AssignClock,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_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 3.2.3+maint.om/package.mo): time 0.001736/0.001735, allocations: 190.7 kB / 7.848 MB, free: 2.215 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.9/1.9, allocations: 205.2 MB / 213.4 MB, free: 13.92 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.002356/0.002356, allocations: 87.88 kB / 261.5 MB, free: 13.61 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.1049/0.1049, allocations: 12.58 MB / 322 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2703/0.3753, allocations: 56.5 MB / 378.5 MB, free: 75.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.4762, allocations: 50.37 MB / 428.9 MB, free: 25.21 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3123/0.7886, allocations: 77 MB / 0.494 GB, free: 11.97 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002753/0.7889, allocations: 76.69 kB / 0.4941 GB, free: 11.97 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.004403/0.7933, allocations: 1.227 MB / 0.4953 GB, free: 11.57 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.7934, allocations: 7.75 kB / 0.4953 GB, free: 11.57 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.874e-05/0.7934, allocations: 13.41 kB / 0.4953 GB, free: 11.56 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002025/0.7936, allocations: 193.7 kB / 0.4955 GB, free: 11.36 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.7937, allocations: 4.5 kB / 0.4955 GB, free: 11.36 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.7937, allocations: 3.844 kB / 0.4955 GB, free: 11.36 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001032/0.7938, allocations: 15.47 kB / 0.4955 GB, free: 11.36 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002651/0.7941, allocations: 117.5 kB / 0.4956 GB, free: 11.3 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.7941, allocations: 4 kB / 0.4956 GB, free: 11.3 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.7941, allocations: 0 / 0.4956 GB, free: 11.3 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.7941, allocations: 0 / 0.4956 GB, free: 11.3 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001297/0.7943, allocations: 145.4 kB / 0.4958 GB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001513/0.7944, allocations: 59.39 kB / 0.4958 GB, free: 11.11 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.51e-05/0.7945, allocations: 33.08 kB / 0.4958 GB, free: 11.1 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.011e-05/0.7946, allocations: 4 kB / 0.4959 GB, free: 11.1 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.7946, allocations: 38.34 kB / 0.4959 GB, free: 11.05 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 1.614e-06/0.7946, allocations: 0 / 0.4959 GB, free: 11.05 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001915/0.7948, allocations: 66.44 kB / 0.496 GB, free: 11.02 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.7948, allocations: 52.48 kB / 0.496 GB, free: 10.96 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.795, allocations: 123 kB / 0.4961 GB, free: 10.87 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.795, allocations: 25.7 kB / 0.4961 GB, free: 10.84 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.872e-05/0.795, allocations: 84.08 kB / 0.4962 GB, free: 10.75 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.741e-05/0.7951, allocations: 17.19 kB / 0.4962 GB, free: 10.74 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-06/0.7951, allocations: 0 / 0.4962 GB, free: 10.74 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.961e-05/0.7951, allocations: 312.3 kB / 0.4965 GB, free: 10.43 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.073e-05/0.7952, allocations: 7.719 kB / 0.4965 GB, free: 10.43 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.864e-05/0.7952, allocations: 55.83 kB / 0.4966 GB, free: 10.36 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.112e-05/0.7953, allocations: 18.34 kB / 0.4966 GB, free: 10.36 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.7953, allocations: 0 / 0.4966 GB, free: 10.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001435/0.7954, allocations: 81.27 kB / 0.4967 GB, free: 10.31 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.7955, allocations: 3.875 kB / 0.4967 GB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.7955, allocations: 4 kB / 0.4967 GB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.7955, allocations: 3.844 kB / 0.4967 GB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.455e-05/0.7956, allocations: 11.75 kB / 0.4967 GB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.7956, allocations: 4.734 kB / 0.4967 GB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.005e-05/0.7956, allocations: 0 / 0.4967 GB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.579e-06/0.7956, allocations: 3.844 kB / 0.4967 GB, free: 10.3 MB / 330.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: 9 (integerConstant.y,xor.y,xor.u2,xor.u1,unitDelay1.y,unitDelay1.u,$CLKPRE.unitDelay1.u,assignClock1.y,assignClock1.u) * 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 6.19e-05/0.7957, allocations: 105.8 kB / 0.4968 GB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.7958, allocations: 74.55 kB / 0.4969 GB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.921e-05/0.7959, allocations: 12.16 kB / 0.4969 GB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.7959, allocations: 7.828 kB / 0.4969 GB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.7959, allocations: 0 / 0.4969 GB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.7959, allocations: 1.219 kB / 0.4969 GB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.886e-05/0.796, allocations: 141.7 kB / 0.4971 GB, free: 9.988 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.796, allocations: 0 / 0.4971 GB, free: 9.988 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.613e-05/0.7961, allocations: 1.547 kB / 0.4971 GB, free: 9.988 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.7961, allocations: 0 / 0.4971 GB, free: 9.988 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.7961, allocations: 0 / 0.4971 GB, free: 9.988 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.7961, allocations: 4 kB / 0.4971 GB, free: 9.984 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.7961, allocations: 4 kB / 0.4971 GB, free: 9.984 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001235/0.7962, allocations: 95.44 kB / 0.4972 GB, free: 9.914 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001793/0.7964, allocations: 482.4 kB / 0.4976 GB, free: 9.465 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.022e-05/0.7965, allocations: 91.86 kB / 0.4977 GB, free: 9.367 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.271e-05/0.7965, allocations: 4 kB / 0.4977 GB, free: 9.363 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.039e-05/0.7966, allocations: 9.094 kB / 0.4977 GB, free: 9.359 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.206e-06/0.7966, allocations: 0 / 0.4977 GB, free: 9.359 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.7966, allocations: 0 / 0.4977 GB, free: 9.359 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.411e-05/0.7967, allocations: 101 kB / 0.4978 GB, free: 9.281 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001071/0.7978, allocations: 7.844 kB / 0.4978 GB, free: 9.281 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: 8 (assignClock1.u,assignClock1.y,unitDelay1.u,unitDelay1.y,xor.u1,xor.u2,xor.y,integerConstant.y) * 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.0001132/0.7979, allocations: 100.5 kB / 0.4979 GB, free: 9.191 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001377/0.798, allocations: 41.44 kB / 0.4979 GB, free: 9.184 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.7981, allocations: 0 / 0.4979 GB, free: 9.184 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.7981, allocations: 0 / 0.4979 GB, free: 9.184 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003403/0.7984, allocations: 35.98 kB / 0.498 GB, free: 9.176 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003042/0.7987, allocations: 99.41 kB / 0.4981 GB, free: 9.105 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001944/0.7989, allocations: 0.7103 MB / 0.4988 GB, free: 8.398 MB / 330.7 MB Notification: Performance of SimCode: time 8.01e-07/0.799, allocations: 0 / 0.4988 GB, free: 8.398 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_AssignClock_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_AssignClock.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1)