Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr MessagePack_MessagePack.Examples.TestCreateAndReadFile.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MessagePack 0.1.1-master/package.mo", uses=false) Using package MessagePack with version 0.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MessagePack 0.1.1-master/package.mo) Running command: "" <> buildModelFMU(MessagePack.Examples.TestCreateAndReadFile,fileNamePrefix="MessagePack_MessagePack_Examples_TestCreateAndReadFile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MessagePack.Examples.TestCreateAndReadFile,fileNamePrefix="MessagePack_MessagePack_Examples_TestCreateAndReadFile",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/MessagePack 0.1.1-master/package.mo): time 0.005358/0.005357, allocations: 308.9 kB / 7.584 MB, free: 2.328 MB / 5.871 MB Notification: Performance of FrontEnd - loaded program: time 0.01317/0.01859, allocations: 4.033 MB / 11.62 MB, free: 1.172 MB / 5.871 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0002242/0.01884, allocations: 97.91 kB / 11.71 MB, free: 1.078 MB / 5.871 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.006759/0.02561, allocations: 2.627 MB / 14.34 MB, free: 452 kB / 5.871 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001055/0.02575, allocations: 40.86 kB / 14.38 MB, free: 436 kB / 5.871 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.005552/0.03131, allocations: 2.196 MB / 16.58 MB, free: 216 kB / 7.832 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.03137, allocations: 8.578 kB / 16.58 MB, free: 208 kB / 7.832 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.408e-05/0.03141, allocations: 4.938 kB / 16.59 MB, free: 204 kB / 7.832 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.03153, allocations: 160.2 kB / 16.75 MB, free: 4 kB / 7.832 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.03155, allocations: 320 / 16.75 MB, free: 4 kB / 7.832 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.368e-06/0.03156, allocations: 320 / 16.75 MB, free: 4 kB / 7.832 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003299/0.03487, allocations: 8.984 kB / 16.75 MB, free: 2.102 MB / 7.832 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.685e-05/0.03494, allocations: 28.83 kB / 16.78 MB, free: 2.07 MB / 7.832 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.03496, allocations: 0 / 16.78 MB, free: 2.07 MB / 7.832 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.03497, allocations: 0 / 16.78 MB, free: 2.07 MB / 7.832 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.03498, allocations: 2.062 kB / 16.78 MB, free: 2.07 MB / 7.832 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002394/0.03522, allocations: 368.5 kB / 17.14 MB, free: 1.688 MB / 7.832 MB Notification: Performance of preOpt comSubExp (simulation): time 4.239e-05/0.03528, allocations: 169.3 kB / 17.31 MB, free: 1.516 MB / 7.832 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.883e-05/0.0353, allocations: 91.44 kB / 17.4 MB, free: 1.43 MB / 7.832 MB Notification: Performance of preOpt evalFunc (simulation): time 1.379e-05/0.03532, allocations: 75.28 kB / 17.47 MB, free: 1.355 MB / 7.832 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.03535, allocations: 109.4 kB / 17.58 MB, free: 1.242 MB / 7.832 MB Notification: Performance of pre-optimization done (n=0): time 2.174e-06/0.03535, allocations: 4 kB / 17.58 MB, free: 1.238 MB / 7.832 MB Notification: Performance of matching and sorting (n=0): time 7.663e-05/0.03544, allocations: 27.86 kB / 17.61 MB, free: 1.207 MB / 7.832 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.903e-05/0.03546, allocations: 54.12 kB / 17.66 MB, free: 1.145 MB / 7.832 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.593e-05/0.03552, allocations: 85 kB / 17.75 MB, free: 1.055 MB / 7.832 MB Notification: Performance of collectPreVariables (initialization): time 7.514e-06/0.03553, allocations: 25.7 kB / 17.77 MB, free: 1.023 MB / 7.832 MB Notification: Performance of collectInitialEqns (initialization): time 3.379e-05/0.03557, allocations: 84.05 kB / 17.85 MB, free: 0.9375 MB / 7.832 MB Notification: Performance of collectInitialBindings (initialization): time 2.705e-06/0.03558, allocations: 3.969 kB / 17.86 MB, free: 0.9375 MB / 7.832 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-06/0.03559, allocations: 0 / 17.86 MB, free: 0.9375 MB / 7.832 MB Notification: Performance of setup shared object (initialization): time 4.775e-05/0.03564, allocations: 322 kB / 18.17 MB, free: 0.6211 MB / 7.832 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.823e-06/0.03565, allocations: 0 / 18.17 MB, free: 0.6211 MB / 7.832 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.577e-05/0.03567, allocations: 10.66 kB / 18.18 MB, free: 0.6055 MB / 7.832 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.419e-05/0.03569, allocations: 3.438 kB / 18.19 MB, free: 0.6055 MB / 7.832 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.0357, allocations: 0 / 18.19 MB, free: 0.6055 MB / 7.832 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.899e-05/0.03579, allocations: 31.92 kB / 18.22 MB, free: 0.5742 MB / 7.832 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.03581, allocations: 7 kB / 18.22 MB, free: 0.5742 MB / 7.832 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.03582, allocations: 3.938 kB / 18.23 MB, free: 0.5703 MB / 7.832 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.03584, allocations: 4.125 kB / 18.23 MB, free: 0.5664 MB / 7.832 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.16e-05/0.0359, allocations: 3.281 kB / 18.23 MB, free: 0.5664 MB / 7.832 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/0.0359, allocations: 0 / 18.23 MB, free: 0.5664 MB / 7.832 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.392e-05/0.03592, allocations: 7.438 kB / 18.24 MB, free: 0.5625 MB / 7.832 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.03593, allocations: 0 / 18.24 MB, free: 0.5625 MB / 7.832 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 1 * 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.038e-05/0.03599, allocations: 177 kB / 18.42 MB, free: 392 kB / 7.832 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.385e-05/0.03604, allocations: 105.7 kB / 18.52 MB, free: 284 kB / 7.832 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.008e-05/0.03607, allocations: 110.1 kB / 18.63 MB, free: 164 kB / 7.832 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001064/0.03618, allocations: 181.8 kB / 18.8 MB, free: 2.617 MB / 10.47 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.621e-05/0.03626, allocations: 182.7 kB / 18.98 MB, free: 2.434 MB / 10.47 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.809e-05/0.03634, allocations: 179.7 kB / 19.16 MB, free: 2.254 MB / 10.47 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002317/0.03657, allocations: 380.8 kB / 19.53 MB, free: 1.836 MB / 10.47 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.183e-05/0.03663, allocations: 106.9 kB / 19.63 MB, free: 1.727 MB / 10.47 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.453e-05/0.03668, allocations: 105 kB / 19.74 MB, free: 1.617 MB / 10.47 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.127e-05/0.03678, allocations: 181.4 kB / 19.91 MB, free: 1.438 MB / 10.47 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.36e-05/0.03686, allocations: 182.9 kB / 20.09 MB, free: 1.254 MB / 10.47 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.699e-05/0.03694, allocations: 179.9 kB / 20.27 MB, free: 1.074 MB / 10.47 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.322e-05/0.03703, allocations: 176.3 kB / 20.44 MB, free: 0.8945 MB / 10.47 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001625/0.0372, allocations: 315.9 kB / 20.75 MB, free: 0.5703 MB / 10.47 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003437/0.04064, allocations: 0.6698 MB / 21.42 MB, free: 3.621 MB / 10.47 MB Notification: Performance of postOpt removeConstants (simulation): time 5.26e-05/0.04071, allocations: 181 kB / 21.59 MB, free: 3.422 MB / 10.47 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.886e-05/0.04077, allocations: 182.5 kB / 21.77 MB, free: 3.242 MB / 10.47 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.398e-05/0.04084, allocations: 114.4 kB / 21.88 MB, free: 3.137 MB / 10.47 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.452e-05/0.04089, allocations: 178.3 kB / 22.06 MB, free: 2.957 MB / 10.47 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.976e-05/0.04092, allocations: 101 kB / 22.16 MB, free: 2.852 MB / 10.47 MB Notification: Performance of sort global known variables: time 3.913e-05/0.04096, allocations: 78.53 kB / 22.23 MB, free: 2.777 MB / 10.47 MB Notification: Performance of remove unused functions: time 0.001041/0.04201, allocations: 72.58 kB / 22.3 MB, free: 2.777 MB / 10.47 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 (0): * Single equations (assignments): 0 * 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.00105/0.04307, allocations: 0.5562 MB / 22.86 MB, free: 2.402 MB / 10.47 MB Notification: Performance of simCode: created initialization part: time 9.44e-05/0.04317, allocations: 2.375 kB / 22.86 MB, free: 2.402 MB / 10.47 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.04318, allocations: 0 / 22.86 MB, free: 2.402 MB / 10.47 MB Notification: Performance of simCode: created simulation system equations: time 3.066e-06/0.04319, allocations: 3 kB / 22.87 MB, free: 2.402 MB / 10.47 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.04343, allocations: 0.5211 MB / 23.39 MB, free: 1.879 MB / 10.47 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000206/0.04364, allocations: 121 kB / 23.51 MB, free: 1.742 MB / 10.47 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001956/0.04386, allocations: 0.6839 MB / 24.19 MB, free: 1.039 MB / 10.47 MB Notification: Performance of SimCode: time 2.21e-07/0.04387, allocations: 0 / 24.19 MB, free: 1.039 MB / 10.47 MB (rm -f MessagePack_MessagePack.Examples.TestCreateAndReadFile.pipe ; mkfifo MessagePack_MessagePack.Examples.TestCreateAndReadFile.pipe ; head -c 1048576 < MessagePack_MessagePack.Examples.TestCreateAndReadFile.pipe >> ../files/MessagePack_MessagePack.Examples.TestCreateAndReadFile.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_MessagePack_MessagePack_Examples_TestCreateAndReadFile_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 MessagePack_MessagePack_Examples_TestCreateAndReadFile.fmu > MessagePack_MessagePack.Examples.TestCreateAndReadFile.pipe 2>&1)